Handle :inverse_of in :belongs_to
Stub hooks in Validatable
After rollback, block new transactions
SQL find(:id)
Bomb out of select when nil is returned, which would be when there's an SQL syntax issue
#relation_for accepts column rather than column_name
Join :has_one primary key fix
Fixes for :has_one relations and joins
SQLScope must deep clone. Allow select to squash default select only.
SQLScope delegates back to model as appropriate for model class scope methods
Stub :destroy hooks
DB index creation
Stub before_initialize
Pass in Column instance rather than name to #rebuild_relation_for
Extract SQLCondition build from SQLScope, support as option for joins and has_many/one
Support :foreign_key option on :has_many
Add SQLScope#fetch_attrs for when we do not want to instantiate the model
Relax SQLScope#method_missing