I think your patch is really useful, and should be comited. But beside commiting that fix, it could be say that there are 3 options here:
1) Leave things as they are: no initialization of attributes by requesting of resource/new.xml to server. 2) Change initialize to request resource/new.xml to server 3) "Manually" configure the attributes of the resource on the class. I.E.: self.site="http://bla"; self.attributes=%w|name price etc| or self.attributes= { :attribute => "default", ... } But what I think would be even better is 4) Allow any of previous behaviors, leave 1) (current behavior: no attrs) as default. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
