Is there a way to overide the mass assignment protection on a model's primary key in Rails ? My seed.rb data won't load because of it.
Update
I've found including the following code in the model removes the protection
def attributes_protected_by_default default = super default.delete self.class.primary_key default end
Not ideal