#411 ✓resolved
Bryan Larsen

Hobo scope should work with has_many :through

Reported by Bryan Larsen | April 24th, 2009 @ 09:59 PM | in Hobo 1.0 - Final

The agility tutorial gives this example in "Granting Write Access to Others":

has_many :contributor_memberships, :class_name => "ProjectMembership", :scope => :contributor
has_many :contributors, :through => :contributor_memberships, :source => :user

The problem is that doesn't actually work. contributor_memberships applies the scope, but contributors does not.

See discussion here: http://groups.google.com/group/h...

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Tags

Pages