Imported from lighthouse. Original ticket at: http://browsermedia.lighthouseapp.com/projects/28481/tickets/366. Created by Mezza - 2010-07-16 11:32:36 UTC I tried to create a content_block for a custom model called 'Year' with an attribute 'year' of type integer. When using the content_block generator created forms, and actually trying to create a Year record I get an unexpected error: ActiveRecord::AssociationTypeMismatch: Year(#2195820060) expected, got Fixnum(#2148235880) Bizarrely, if I drop the attribute from the content_block model and add one called 'year_value' then all is well.