On Thu, Oct 9, 2008 at 3:56 PM, Ryan Bigg <[EMAIL PROTECTED]> wrote:
>
> It's too major of a change to make imo and there's just too many
> tutorials/docs out there that reference Class Model <
> ActiveRecord::Base. To me, it makes sense that a model "inherits from"
> ActiveRecord::Base because that's where a model gets its methods from.

If you renamed ActiveRecord::Base to ActiveRecord::Model, then a model
that inherited from ActiveRecord::Model would get its methods from
ActiveRecord::Model.  You could make this completely backwards
compatible too.  Just rename ActiveRecord::Base to ActiveRecord::Model
and then:

  ActiveRecord::Base = ActiveRecord::Model

That being said, I'd say that changing to a more accurate name isn't
worth the risk of confusion.

Jeremy

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to