Ryan Kinderman
2007-Dec-20 07:08 UTC
Support for "composed_of" aggregations in finder :conditions hash
Currently, we can''t make a call to ActiveRecord::Base#find, #find_by_*, #find_all_by_*, #exists?, #delete_all, or #destroy_all with a :conditions hash that includes a value object assigned to an attribute key which corresponds to an AggregateReflection created by a call to ActiveRecord::Base.composed_of. Oh my! If you''re interested in having this functionality, or are otherwise using or have used "composed_of" in your models, please take a look at and try out my patch. For more details: http://dev.rubyonrails.org/ticket/10572 Thanks rdk --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---