> before_create :assign_wishlist > > private > def assign_wishlist > self.wishlist = Wishlist.create > end
I placed the above in the user.rb (Is that correct or should it be wishlist.rb?) and It created the account but after looking at the log there was nothing about creating the wishlist like it said in yours, I am truly stumped about what has gone wrong. -- 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.