Hi,

This is working in production but not on my development box. So I
either did something wrong or it got broken in the last versions of
Hobo.

championship.rb
has_many :memberships, :class_name => "ChampionshipMembership", :order
=> "score DESC, goals DESC", :dependent => :destroy

championship_controller.rb
auto_actions_for :championship, [:new, :create, :index]

When I go to champioships/5/memberships, it throws an error saying
that the route doesn't exist (i.e. unknown action). However the
controller championship_memberships is exporting the route
index_for_championship.

If I change the relation on championship.rb to:
has_many :championship_memberships, :order => "score DESC, goals
DESC", :dependent => :destroy
It works fine.

Were there recent changes on the way controllers or auto_actions_for
were working?

Thanks,

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