I think you may need to rename your Attribute model. ActiveRecord
objects already have an instance variable named "attributes" which
holds the attributes for the given model instance. The Scorecard's
has_many :attributes collection and the pre-existing attributes hash
are probably colliding.