|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
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 --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-core@... To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: is find_by_etc broken?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.
2009/11/10 JDS <jds340@...>
-- Ryan Bigg --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-core@... To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |