I got it to work by adding children => :code_solutions
in the code_test view hints. On Jan 31, 8:26 am, Tiago Franco <[email protected]> wrote: > Does this has anything to do with :accessible => true? > > TF > > On Jan 30, 9:43 pm, Andrew Shindyapin <[email protected]> > wrote: > > > I have two models (code_test and code_solution); code_test has_many > > code_solutions; code_solution belongs_to code test. > > > I use auto_actions_for in the following way: > > > class CodeSolutionsController < ApplicationController > > hobo_model_controller > > auto_actions :all, :except => :index > > auto_actions_for :code_test, [:index, :new, :create] > > end > > > I'm able to access the code_solutions#new action through the following > > url > > > /code_tests/4-test/code_solutions/new > > > but I don't have a new CodeSolutions button on e.g. /code_tests/4- > > test ; nor the link to /code_tests/4-test/code_solutions/ > > > What do I need to do to get those links automatically? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
