Comments on: learns_to: A None-Too-Brief Introduction to Partials http://urbanhonking.com/ideasfordozens/2006/04/03/learns_to_a_nonetoobrief_intro/ Thu, 19 Jun 2014 09:26:37 +0000 hourly 1 By: adam http://urbanhonking.com/ideasfordozens/2006/04/03/learns_to_a_nonetoobrief_intro/#comment-164 Wed, 24 May 2006 03:16:32 +0000 http://urbanhonking.com/ideasfordozens/2006/04/03/learns_to_a_nonetoobrief_intro/#comment-164 Hey thanks for the great intro to partials. Ive just start with rails.
One thing to note though; the method controller_action appears to have been depreciated since you wrote the article.
I have replaced these references using the @params array. Eg @params[:action], @params[:controller] or even say @params[:id].
Error from referencing the controller_action method.
undefined method `controller_action’ for #
A link to the docs i used for determining the available methods:
http://rails.outertrack.com/class/ActionController%3A%3ABase#controller_class_name

]]>