On 12 Apr 2016 6:58 p.m., "David Williams" <li...@ruby-forum.com> wrote: > > shahroon ali wrote in post #1182801: > > belongs_to :states should be :state singular. > > > > On Tue, Apr 12, 2016 at 10:47 PM, David Williams <li...@ruby-forum.com> > > I fixed the typo, but it's still not working. > > undefined method `state_id' for #<Profile:0xd1b0b00>
Is there a column of that name in the profiles table? Colin > > -- > 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 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/9bf1492db35264d858ecc0debcfb1de9%40ruby-forum.com . > For more options, visit https://groups.google.com/d/optout. -- 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%3D0gLuiOCc1sMTursFAO4%3D7k2efASRE8Ekn7K-OZtpQjApmMA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.