I can't believe that I'm the only one who has this problem, unless
it's a weird configuration issue. In Rails 2.3.2 Model.find_by_name
'something' works fine, in 2.3.3 and 2.3.4 it breaks with an error on
sanitize_hash_for_conditions e.g.

ArgumentError: wrong number of arguments (2 for 1)
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/
base.rb:2231:in `sanitize_sql_hash_for_conditions'

and much the same for 2.3.4

This applies to all find_by_x methods

This is such a serious problem I can't believe it's not been addressed
elsewhere, so before I log a bug in Lighthouse I want to find out if
anyone else has this problem.

Thanks

John Small

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to