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 
> <[email protected] (mailto:[email protected])> 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 [email protected] 
> > (mailto:[email protected]).
> > To unsubscribe from this group, send email to 
> > [email protected] 
> > (mailto:rubyonrails-talk%[email protected]).
> > 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 [email protected] 
> (mailto:[email protected]).
> To unsubscribe from this group, send email to 
> [email protected] 
> (mailto:[email protected]).
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to