[Rails] Related Models

2011-05-26 Thread Aaron Mills
I am still somewhat new to rails and I am not getting the results I am expecting with my models.. perhapse I do not understand something, or just didn't set something up right. I have three models: class Coordinator ActiveRecord::Base belongs_to :county belongs_to :state end

Re: [Rails] Related Models

2011-05-26 Thread Michael Pavling
On 26 May 2011 07:07, Aaron Mills aa...@jailbreakcreative.com wrote: I am getting:this error. I have tried several variations on this theme.. so I feel like I am stuck in my understanding of how rails associations work. Can someone point me in the right direction? undefined method `name' for

Re: [Rails] Related Models

2011-05-26 Thread Colin Law
On 26 May 2011 07:07, Aaron Mills aa...@jailbreakcreative.com wrote: I am still somewhat new to rails and I am not getting the results I am expecting with my models.. perhapse I do not understand something, or just didn't set something up right. I have three models: class Coordinator