shahroon ali wrote in post #1182801: > belongs_to :states should be :state singular. > > On Tue, Apr 12, 2016 at 10:47 PM, David Williams <[email protected]>
I fixed the typo, but it's still not working. undefined method `state_id' for #<Profile:0xd1b0b00> -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9bf1492db35264d858ecc0debcfb1de9%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.

