Hello, I've noticed that I can't save my object to the DB after using 'unshift' on one of Array fileds. Ex:
(below 'tags' is a collection in object 'transaction') transaction.tags.unshift(Tag.find_or_create_by_name(name)) transaction.save! Everything is fine when I am using '<<' to append tag to array. Regards -- Posted via http://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 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 -~----------~----~----~----~------~----~------~--~---