This patches an issue where acts_as_list would try to swap virtual attributes, resulting in a crashing ActiveRecord write_attribute method.
I observed this issue in combination with acts_as_taggable, I have attached a partial stack trace here.
My solution built on a similar fix for the paper_trail gem, from this PR.
@swanandp I'd still like to see this merged.
Is there anything I can do to make this easier for you? Would you like me to add a test for a specific case?
This patches an issue where
acts_as_list would
try to swap virtual attributes, resulting in a crashing ActiveRecord write_attribute method.I observed this issue in combination with
acts_as_taggable
, I have attached a partial stack trace here. My solution built on a similar fix for thepaper_trail
gem, from this PR.