Thursday, September 30, 2010

[Rails] Re: Railroad problem with :through?

Ar Chron wrote:
> Sem Ptiri wrote:
>
> Is this a typo, or your problem source?
>
>> class Subscriber < ActiveRecord::Base
>> has_many :lists
>> has_many :lists, :through => :list_subscribers
>> end
>>
>
> class Subscriber < ActiveRecord::Base
> has_many :list_subscribers
> has_many :lists, :through => :list_subscribers
> end

My problem source.

Thank you.
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate