Hi, this error is correct because if you wanted to render an action’s template or any template within a controller’s action, you would do the following:
Render a template associated with an action
a) render :action => ‘action_name’
Render a template
b) render :template => ‘controller_name/action_name’
In your example, ‘…/shared/dosomething’ isn’t an action but a path to a template file. You should not try to use a relative path or path as the value for the :action key. This will fail now and it was a bug before if it worked previous to 2.1. If you don’t truly know how to use a particular method in Rails, then I would highly recommend consulting the API: