You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Core
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
Ryan Bigg
unread,
Nov 10, 2009, 12:42:48 AM11/10/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
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.