On Fri, Mar 20, 2009 at 3:32 PM, James Byrne <li...@ruby-forum.com> wrote: > Pardon the intrusion but if somebody knows how to turn off Rails special > treatment of attributes ending in _type and _value I would dearly like > to have this information. > > Workarounds are accepted too. > > I am trying to initialise an associated row that contains the columns > identifier_type and identifier_value. The statement > > model.association.create!(:column_type => 'X', :column_value => 'Y')
What type of association? There are many and they are all handled quite differently. > > leaves association.column_type and association.column_value attributes > with VALUES NULL in the resulting generated SQL code. I really need > Rails to accept the values that I provide. > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users