Inheritance of AcitveRecord::Base to Ability

15 views
Skip to first unread message

alk...@gmail.com

unread,
Dec 24, 2014, 8:12:49 AM12/24/14
to canc...@googlegroups.com
Hi

I have simple question. I want to maintain abilities through Database (there are a lot of them and we have to change them frequently) so I've added ActiveRecord::Base inheritance.

This overrides initialize method so object can not be created.

Is there any method to ommit that problem and use Ability as ActiveRecord::Base ?

BR
Dawid

brite

unread,
Dec 31, 2014, 1:54:04 PM12/31/14
to canc...@googlegroups.com, alk...@gmail.com
Reply all
Reply to author
Forward
0 new messages