On Jan 5, 7:21 pm, Taylor Strait <rails-mailing-l...@andreas-s.net>
wrote:
> Never fixed it :(

If referrals are all the referrals made by that user (since it uses
the referer_id foreign key) it seems to me that will never get you a
user's referer (unless the use referred themselves).

You'd want to go through the referrals table using the other key.

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

Reply via email to