Fixed ActiveRecord::UnknownAttributeError: unknown attribute: name