On 10/19/07, Andrew White <[EMAIL PROTECTED]> wrote: > > So i've got this namespaced model like this: > > module Shop > class Cart < ActiveRecord::Base > has_many :cart_items, :dependent => :delete_all > end > class CartItem < ActiveRecord::Base; end > end
This is two models. What happens when you split this out into one model per .rb file? -- James Moore | [EMAIL PROTECTED] Ruby and Ruby on Rails consulting blog.restphone.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
