Read More

ActiveRecord Query Interface Part 2

ActiveRecord Query Interface is an important tool to use object relational mapping (ORM) to marry your ActiveRecord object to the SQL that will drive the queries against your database. This post continues from yesterday’s post about ActiveRecord Query Interface.

Read More

A Word About Flash Messages

When you first learn Rails, you will learn about an important little tool call flash messages. These messages are shown to your user to alert them of important information. Rails will stuff the information from your flash messages into its session, and pull it out again on the next request. There are some tricks you can use to massage your flash message to how you want them to appear.