Only cache attributes for ActiveRecord objects

Initialize association to loaded during recreation.