Monday, October 12, 2009

[Rails] Re: named scope for 'all without conditional associations'

On Mon, Oct 12, 2009 at 3:42 PM, Max Williams
<rails-mailing-list@andreas-s.net> wrote:
>
> Thanks, but why would i need an intermediate table?  the users table is
> already linked to sign_ins via sign_ins.user_id.

Then it should be simpler, you would only need one INNER JOIN.

--
Leonardo Mateo.
There's no place like ~

--~--~---------~--~----~------------~-------~--~----~
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