Looking to add the ability to do the following class App < ActiveRecord::Base belongs_to :client has_many :users, :through => :client end class Client < ActiveRecord::Base has_many :apps has_many :users end class User < ActiveRecord::Base belongs_to :client end
currently results in SQL of "WHERE clients.client_id = [EMAIL PROTECTED]" needs to produce SQL of "WHERE clients.id = [EMAIL PROTECTED]" David Genord II --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
