search for: tdyydn73g3ij

Displaying 1 result from an estimated 1 matches for "tdyydn73g3ij".

2012 Jul 26
2
Using the :layout option when calling render @variable
Hey everybody, I wanted to use the :layout option when calling render @variable (where @variable is some ActiveRecord class instance with a corresponding variables/_variable.html.erb partial view), but as far as I know, Rails doesn''t support this. Here''s a quick patch that allows to use the :layout function: In partial_renderer.rb, add the following elsif block: if