rails/rails — Issue #4238: Migration guard against column named attributes
Author: softwaregravy
Created: 2011-12-30 20:11:39+00:00
State: open

Is there a way to rename 'attributes' which would let you have a column called attributes?

Assuming there's not, I'd like to propose a feature that will reject migrations that try to name a column attributes. Alternatively, ActiveRecord that finds a column named attributes could raise an error.
Not exactly sure where the right place to put this is, but I'm happy to make the change.

Thoughts?