Posts by Estevão Moraes de Andrade • 11 points
1 post
-
1
votes3
answers141
viewsA: How to implement an Abstract Controller that executes actions implemented in concrete controllers, depending on variables passed via params?
In your case, I would use a class responsible for knowing how to redirect to desired action from the parameters. concrete_action = ConcreteAction.new( params ) concrete_action.execute_create…
ruby-on-railsanswered Estevão Moraes de Andrade 11