Open ghazel opened 13 years ago
Without ar-extensions:
>> User.scoped(:conditions => {"users.name" => "bob"}) User Load (1.0ms) SELECT * FROM `users` WHERE (`users`.`name` = 'bob')
With ar-extensions:
>> User.scoped(:conditions => {"users.name" => "bob"}) User Load (0.0ms) Mysql::Error: Unknown column 'users.users.login' in 'where clause': SELECT * FROM `users` WHERE (`users`.`users.login` = 'bob')
What version of Rails/ActiveRecord and ar-extensions are you using?
Rails/ActiveRecord 2.3.10, ar-extension 0.9.3
Without ar-extensions:
With ar-extensions: