In Ruby 1.9.2 theres this new functionality - responds_to_misisng? .  Calls
to this were being picked up by method_missing and causing some rather odd
problems in active_record..

i added a patch to Lighthouse that takes care of this explicit case;  my
concern is given the wide dependence on method_missing within rails and
particularly active record, this same bug could be present along other code
paths..

In this case it manifested itself by causing a .count call on a named_scope
to query the whole collection before doing the select count(id) query..


Stephen

-- 
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