El mié 16 jul 2014 18:55:22 ECT, Quiliro Ordóñez Baca escribió: > class EmployeesController < ApplicationController > hobo_model_controller > auto_actions :all > auto_actions_for :administrative_unit, [ :index, :new, :create ] > > The Employee model has: > belongs_to :administrative_unit, :inverse_of => :employees > > auto_actions_for makes no change. What am I doing wrong? What is it > supposed to do? According to the manual: > "provide three special actions that take into account the relationships > between your records. Specifically, these are the “owner” versions of > new, index and create." > Would it be possible to define them in another way in order to make it > more explicit and detailed?
It is explained here: http://www.youtube.com/watch?v=L90sMGsqYYM#t=1092 -- Saludos libres, Quiliro Ordóñez 600 8579
signature.asc
Description: OpenPGP digital signature
