I want to append to my models error collection from another models errors like:
@user.errors each do |e| @post.errors << e end unless @user.valid? But it says: 'undefined method << for activemodel post ..... What is errors then, a hash? -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.