Re: [Rails] Why ApplicationRecord

2018-03-11 Thread Walter Lee Davis
> On Mar 10, 2018, at 9:39 PM, Robert Phillips > wrote: > > On Friday, 9 March 2018 14:58:23 UTC, fugee ohu wrote: > >Why create an ApplicationRecord class inheriting from ActiveRecord::Base and > >then have all models inherit from ApplicationRecord instead of >

Re: [Rails] Why ApplicationRecord

2018-03-09 Thread Aboobacker M K
You can find rationale from original PR which introduced this feature https://github.com/rails/rails/pull/22567 On Fri, Mar 9, 2018 at 8:28 PM, fugee ohu wrote: > Why create an ApplicationRecord class inheriting from ActiveRecord::Base > and then have all models inherit