Ruby on Rails Friday, December 21, 2012

Can't you use an after_initialize callback?

-- 
Dheeraj Kumar

On Saturday 22 December 2012 at 4:07 AM, Dan Brooking wrote:

lol, so basically that means for me, the answer is no :)


On Fri, Dec 21, 2012 at 2:05 PM, Crispin Schäffler <crispinschaeffler@gmail.com> wrote:
You are fine as long as you know what you do.

Am Freitag, 21. Dezember 2012 17:01:51 UTC+1 schrieb Dan Brooking:
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 received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Ykouz-coIWkJ.

For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment