render_component
render_component copied to clipboard
fails for rails 2.3.5
With rails 2.3.5 this plugin fails with
/var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/module/aliasing.rb:33:in alias_method': undefined method
set_session_options' for class `ActionController::Base' (NameError)
There are blogs verifying the problem here: http://dothingssimple.wordpress.com/2009/08/07/hello-world/ http://www.42.mach7x.com/2009/06/24/undefined-method-render_component-with-activescaffold-and-rails-2-3-2/
But the solution is use another (now deleted github repository)
Just to be clear, the solution is to use the fork that used to be located at git://github.com/lackac/render_component.git .
Sorry about deleting the fork. Recently I cleaned up my GitHub account deleting all the quickfix forks that I am not using anymore.
I took a look at other forks and it looks like several others has merged my commits and some have also improved on it. I'd suggest you to try them out and see if any of them work for you.
"I'd suggest you to try them out " - got a url please?
Found it: http://github.com/glappen/render_component
Anyway I suggest the fix to be merged into this branch.