Quick question… your answer will determine whether I have follow up questions or not.
Is it ok to override initialize on an ActiveRecord model? I’ve read some thing that say it’s ok, some that say it’s not… just wanted to get a general consensus.
Thanks Dan
You are fine as long as you know what you do.
Am Freitag, 21. Dezember 2012 17:01:51 UTC+1 schrieb Dan B.:
lol, so basically that means for me, the answer is no
On Fri, Dec 21, 2012 at 2:05 PM, Crispin Schffler <
Can’t you use an after_initialize callback?
– Dheeraj K.
That’s what I ended up doing.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.