El Wednesday 25 February 2009 19:05:47 BillSaysThis escribió: > Sorry, getting that version makes no difference in my result: > > app>script/server > => Booting Mongrel > => Rails 2.3.0 application starting on http://0.0.0.0:3000 > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.0/lib/active_support/ > core_ext/module/aliasing.rb:33:in `alias_method': undefined method > `set_session_options' for class `ActionController::Base' (NameError) > from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.0/lib/ > active_support/core_ext/module/aliasing.rb:33:in `alias_method_chain' > from /Users/billlazar/Sites/jhtc2/vendor/plugins/ > render_component/lib/components.rb:13:in `included'
You are using master branch. Line 13 of lib/components.rb in master branch is: alias_method_chain :set_session_options, :render_component which is the error you get But line 13 of lib/components.rb in rails-edge branch is: alias_method_chain :session=, :render_component So you can't get that error with rails-edge branch Install with script/plugin git://github.com/lackac/render_component.git -r rails-edge If it doesn't work for you, try to download compressed fom github > from /Users/billlazar/Sites/jhtc2/vendor/plugins/ > render_component/lib/components.rb:3:in `class_eval' > from /Users/billlazar/Sites/jhtc2/vendor/plugins/ > render_component/lib/components.rb:3:in `included' > from /Users/billlazar/Sites/jhtc2/vendor/plugins/ > render_component/init.rb:2:in `include' > from /Users/billlazar/Sites/jhtc2/vendor/plugins/ > render_component/init.rb:2:in `send' > from /Users/billlazar/Sites/jhtc2/vendor/plugins/ > render_component/init.rb:2:in `evaluate_init_rb' > from /Library/Ruby/Gems/1.8/gems/rails-2.3.0/lib/rails/ > plugin.rb:142:in `evaluate_init_rb' > ... 16 levels... > from /Library/Ruby/Gems/1.8/gems/rails-2.3.0/lib/commands/ > server.rb:82 > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in > `require' > from script/server:3 > > > On Feb 25, 1:33 am, "Sergio Cambra .:: entreCables - Symbol Servicios > > Informáticos S.L. ::." <ser...@entrecables.com> wrote: > > El Tuesday 24 February 2009 17:30:21 Wes Gamble escribió: > > > Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::. > > > > > > wrote: > > > > Master branch works with rails 2.3, rails-2.2 branch only with rails > > > > 2.2 You need render_component plugin to use embedded and nested > > > > scaffolds in rails 2.3 > > > > > > When I add the render_component plugin to my project (via Github), I > > > get the following error when I start the server. > > > > > > /Applications/jruby-1.1.6/lib/ruby/gems/1.8/gems/activesupport-2.3.0/li > > >b/ac tive_support/core_ext/module/aliasing.rb:29:in > > > `alias_method_chain': undefined method `set_session_options' for class > > > `ActionController::Base' (NameError) > > > > > > Does render_component have any dependencies? > > > > I forgot to say, you must use rails-edge branch from lackac > > repository:http://github.com/lackac/render_component/tree/master It has > > some fixes for rails 2.3 > > > > -- > > Sergio Cambra .:: entreCables S.L. ::. > > Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza > > T) 902 021 404 F) 976 52 98 07 E) ser...@entrecables.com > > -- Sergio Cambra .:: entreCables S.L. ::. Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) ser...@entrecables.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to activescaffold@googlegroups.com To unsubscribe from this group, send email to activescaffold+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---