Possible Rails Gotcha: ActiveRecord Caches Associated Records by Default
This post gives a more elaborate example (than the AR docs) of ActiveRecord’s default association caching behavior, which might trip you up if you’re not expecting it.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
This post gives a more elaborate example (than the AR docs) of ActiveRecord’s default association caching behavior, which might trip you up if you’re not expecting it.
Post a comment