#790 ✓invalid
Betelgeuse

auto_actions_for does not work for STI child classes

Reported by Betelgeuse | September 13th, 2010 @ 12:45 PM

Steps to reproduce

  1. Specific < Generic
  2. Specific has_many :childs
  3. ChildController has auto_actions_for :specific, [:new, :index, :create]

Problems:

  • Hobo generates taglib pages as index-for-generic-page
  • Template is searched as childs/new_for_specific.erb

Result:

    And I follow "New Child"                               # features/step_definitions/web_steps.rb:27
      Missing template campaigns/new_for_specific.erb in view path app/views (ActionView::MissingTemplate)

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

Pages