Hi,

Is it possible to have auto_actions_for for an has_many :through relationship?

The manual only mentions belongs_to.

Thanks,
  TF

On 01/14/2011 04:52 PM, Tim wrote:
Hello.

It's possible to have nested_routes for has_many :through relations?
For example, if I have these models:

I have these models:

Company
has_many :company_resources, :dependent =>  :destroy
has_many :resources, :through =>  :company_resources, :uniq =>  true

CompanyResource
belongs_to :company
belongs_to :resource

Resource
has_many :company_resources, :dependent =>  :destroy
has_many :companies, :through =>  :company_resources, :uniq =>  true


Can I list all companies for a given resource?
resources/resource_id/companies to

Thanks.
Cheers.


--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to