Hi.

    I have to use one of my method only once after data will be saved.
So I thought that i will use callback with condition e.g 'if only_once?'
Therefore i nead a variable that will remember state whole time but i need to
change it once.
    So should I use constant or class variable ?
Or maybe is better way to do this ?

Thanks for the replies in advance.

--
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 this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to