And what about find_or_(initialize|create)_by_what_and_ever ? Even though I like Site.find_by(:domain, request.host) more that Site.find_by_domain, it seems like we're solving the wrong problem. -- Cheers! - Pratik http://m.onkey.org
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
