is find_by_etc broken?

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

I would think this would have been found out by now if it were a Rails problem. Have you recently patched 2.3.3/2.3.4 on your system? Try re-installing the gems and seeing if that fixes the problem. If it does not, please provide us with more of a backtrace of your issue.