One of the things that really made me drool over Rails to start with was its use of ActiveRecord. ActiveRecord is a really spifftastic tool that allows you to describe your database and its data (together known as your database model) in Ruby code, and instead of having to write the same kinds of stupid repetitive queries ("select name,category_id from articles where id=5") over and over, allows you to access your data in a representative way, right there in the code
|