views:

81

answers:

1

I'm intrigued by Nick Kallen's AREL package and would like to use it in a project. However, I can't figure out on how I need to initialize it to work with a specific database/store backend. Any pointers?

A: 

If you're using an earlier version of Rails:

Arel::Table.engine = Arel::Sql::Engine.new(ActiveRecord::Base)
James Moore