class Post < ActiveRecord::Base has_many :assets end This used to work fine self.assets.build(attrs) but under 2.1 it works sometimes and not others. Don''t know if that is because Asset uses attachment_fu (which I''ve updated to latest) But this is okay under 2.1 self.assets << Asset.new(attrs) I''m probably doing something wrong. Which way is, well, wrong_er_? --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---