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