phil.h.smith
2010-Jul-12 16:20 UTC
[Patch][Issue #5097] attributeless find_or_create/find_or_initialize
This patch relaxes DynamicFinderMatch to recognize find_or_create / find_or_initialize without a trailing _by_attribute_list. I''ve found this useful when the relevant attributes have already been built up through a chain of associations or named scopes. Please review, thank you! -- 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.