The problem was two-fold: 1) :clients needed to be replaced by :client 2) I needed to tweak the viewhints (with children) for the auto_actions_for to actually show up
Thank you for your help! Simon On Feb 25, 9:21 am, solars <[email protected]> wrote: > Looks like you have it :) > > > models: > > Client has_many :works > > Work belongs_to :client > > try changing the :clients here: > > > controller: > > >class WorksController < ApplicationController > > > hobo_model_controller > > > auto_actions :all > > > auto_actions_for :clients, [:create, :new ] > > >end > > to :client > > does that help? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
