SQL on Rails
Executing SQL in ActiveRecord Migrations
Chances are, if you’re a developer working on a Ruby on Rails project, you spend more time using ActiveRecord to query your database than writing raw SQL statements. AR’s great for performing queries that you do…