On Oct 26, 9:43 am, Sem Ptiri <[email protected]> wrote:
> > What am I missing or doing wrong on trying to create the new pair? > > pair = Pair.new(:item_1 => 606276291, :item_2 => 977772386) > ActiveRecord::AssociationTypeMismatch: Item(#70065549615160) expected, > got Fixnum(#70065601288820) It's expecting an instance of item, but you're giving it an integer instead. Fred > > Thanks. > > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

