Hey Matt, thanks for replying. I added some debug code in my view. #can_edit? returns false, and #object_url return nil.
I added my controller code to: https://gist.github.com/596e7e9992f42fba9b2d#file_app_controllers_people_controller.rb And that resolved my issue: I was under impression that #auto_actions should be called with an :except for the methods we're going to redefine. I thought Hobo would look at #instance_methods, not #auto_actions, to determine which actions are really available. I'm actually referring to: http://cookbook.hobocentral.net/manual/controllers#changing_action_behaviour Quoting: "(Note: In the above example, we’ve asked for the default index action and then overwrote it. It might have been neater to say ”auto_actions :all, :except => :index” but it really doesn’t matter.)" Should this sentence be rewritten? Thank you very much! François On 6 jan, 15:17, Matt Jones <[email protected]> wrote: > > Can you post / gist some of the controller code? The two checks that > could be eating the entire form (from rapid_forms.dryml) are: > > - can_edit? on the object. This seems unlikely, as it hits the > permission methods you've defined and should give the same results. > > - object_url(target, nil, :method => 'put') is somehow returning nil. > This can happen if the controller action isn't declared. > > --Matt Jones
-- 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.
