Here are my notes from the standard library documentation for the CSV module. I took the notes while simultaneously reading the docs and programming, so they aren’t formatted very well, but they capture the essence of working with CSV data in Ruby.
Like source code, database schema changes and evolves over time. Migrations are a feature of Active Record that allows you to manage the database schema changes gracefully, without writing any SQL. This post contains my notes on generating Active Record migrations from the official Rails guides.
Rails makes extensive use of the active record pattern, which was introduced by Martin Fowler in his book Patterns of Enterprise Application Architecture. This post tries to summarize my understanding of the pattern in the context of a Rails application.
I took the lazy Sunday evening to catch up on my reading of the official Rails guides on Action Controller. I paired that with chapter 4 of Obie Fernandez’s The Rails 5 Way, which is all about working with Rails controllers. This post tries to summarize the essentials, providing a brief overview of Rails controllers.
It seems to me that Rails loves CRUD. CRUD stands for create read update and delete, a set of actions you can perform in an application that maps to the database operations. Things get very simple when you stick to conventions that Rails enforces upon you.
While reading one of DHH’s old blog post on the official Rails blog, I came across the following article from the late Jim Weirich, who lists 10 Things Every Java Programmer Should Know About Ruby. I think it applies equally well to C# developers.
Since the day I started learning Ruby last month, I’ve wanted to build a real web application in Rails that does something useful. Finally, I took the last weekend to build the first prototype of Manager, an application that helps me track my finances and time. I have big ambitions for it, but for now, this is what I have.