[Feature][ActiveRecord] Callbacks for `reload`

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Feature][ActiveRecord] Callbacks for `reload`

Tom Prats
I think it'd be helpful to have callbacks for `reload` so that it'd be possible to clear or fetch data from external sources. If you're getting fresh data from the database, there's a high chance you might want to clear out or manipulate other data associated with your model.

Does anyone else think it would be useful?

Thanks,
Tom

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.