Ruby on Rails Discussions
Problems w/ selecting model data in the right order
rubyonrails-talk
Gabe_da_Silveira1
(Gabe da Silveira)
May 8, 2007, 7:38pm
1
Your join is wrong. Should be ON users.id = accounts.user_id
Related topics
Topic
Replies
Views
Activity
Wrong id passed when joining tables
rubyonrails-talk
1
156
November 20, 2006
Writing data to join table?
rubyonrails-talk
2
158
November 25, 2006
has_many :through and has_one association
rubyonrails-talk
0
113
March 17, 2007
Question about ActiveRecord assoication and :join
rubyonrails-talk
13
189
August 24, 2008
Complex query with multiple joins
rubyonrails-talk
17
226
January 7, 2012