On 18 February 2014 00:23, Nadia Vu <winter....@gmail.com> wrote: > Yep. All fixed now. > I checked for the columns like you asked. And I found out that the > typo/pluralization in the Taggings.rb file named the column wrong > ie: > > belongs_to :posts > > made the column name posts_id as opposed to post_id > > > after fixing the typo, I rolled back the migration, and ran the migration > again to change the name of the table. > AND NOW IT WORKS! > Thank you so much everyone! I really appreciate all the help!
Error messages can be very confusing and it is easy to miss the one that is important in a batch of other messages. It is always worth looking carefully through the errors in the hope of finding one that is useful, in this case the one saying that the column was missing. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtdYxNSmZMOb%3D%3D8XpkMB_inkgvTsi6TWCR8Bkm8Gw4iSA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.