Hi 1.Use rails 2.3.2 2.In routes.rb of your app, put map.routes_for_plugin :community_engine_groups before map.routes_for_plugin :community_engine
BR Han 2010/1/29 rubybox <[email protected]> > Ok my own fault I incorrectly placed the routes, works now but when > trying to create new group > NoMethodError in Groups#new > > Showing vendor/plugins/community_engine_groups/app/views/groups/ > new.html.haml where line #3 raised: > > undefined method `semantic_form_for' for #<ActionView::Base: > 0x105868188> > Extracted source (around line #3): > > 1: -box do > 2: =error_messages_for :group > 3: - semantic_form_for @group, :html => {:class => > "MainForm", :multipart => true} do |form| > 4: > 5: -form.inputs :name => :new_group.l do > 6: =render :partial => 'groups/form', :locals => {:form => form} > RAILS_ROOT: /Users/pascal/Desktop/Actus/apache2/rubydocs/portal > > Application Trace | Framework Trace | Full Trace > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/plugins/ > community_engine_groups/app/views/groups/new.html.haml:3:in > > `_run_haml_vendor47plugins47community_engine_groups47app47views47groups47new46html46haml' > /Library/Ruby/Gems/1.8/gems/haml-2.2.17/lib/haml/helpers.rb:322:in > `call' > /Library/Ruby/Gems/1.8/gems/haml-2.2.17/lib/haml/helpers.rb:322:in > `capture_haml' > /Library/Ruby/Gems/1.8/gems/haml-2.2.17/lib/haml/helpers.rb:523:in > `with_haml_buffer' > /Library/Ruby/Gems/1.8/gems/haml-2.2.17/lib/haml/helpers.rb:318:in > `capture_haml' > /Library/Ruby/Gems/1.8/gems/haml-2.2.17/lib/haml/helpers/ > action_view_mods.rb:87:in `capture' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_view/ > renderable.rb:34:in `send' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_view/ > renderable.rb:34:in `render' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_view/base.rb: > 301:in `with_template' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_view/ > renderable.rb:30:in `render' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_view/ > template.rb:199:in `render_template' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_view/base.rb: > 260:in `render_without_haml' > /Library/Ruby/Gems/1.8/gems/haml-2.2.17/lib/haml/helpers/ > action_view_mods.rb:13:in `render' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_view/base.rb: > 343:in `_render_with_layout' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_view/base.rb: > 257:in `render_without_haml' > /Library/Ruby/Gems/1.8/gems/haml-2.2.17/lib/haml/helpers/ > action_view_mods.rb:13:in `render' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > base.rb:1250:in `render_for_file' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > base.rb:951:in `render_without_benchmark' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > benchmarking.rb:51:in `render' > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/ > core_ext/benchmark.rb:17:in `ms' > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/ > core_ext/benchmark.rb:17:in `ms' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > benchmarking.rb:51:in `render' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > mime_responds.rb:135:in `send' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > mime_responds.rb:135:in `custom' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > mime_responds.rb:179:in `call' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > mime_responds.rb:179:in `respond' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > mime_responds.rb:173:in `each' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > mime_responds.rb:173:in `respond' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > mime_responds.rb:107:in `respond_to' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > base.rb:1331:in `send' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > base.rb:1331:in `perform_action_without_filters' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > filters.rb:617:in `call_filters' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > filters.rb:638:in `run_before_filters' > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/ > callbacks.rb:178:in `send' > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/ > callbacks.rb:178:in `evaluate_method' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > filters.rb:186:in `call' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > filters.rb:635:in `run_before_filters' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > filters.rb:615:in `call_filters' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > filters.rb:610:in `perform_action_without_benchmark' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > benchmarking.rb:68:in `perform_action_without_rescue' > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/ > core_ext/benchmark.rb:17:in `ms' > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/ > core_ext/benchmark.rb:17:in `ms' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > benchmarking.rb:68:in `perform_action_without_rescue' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > rescue.rb:160:in `perform_action_without_flash' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > flash.rb:146:in `perform_action' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > base.rb:532:in `send' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > base.rb:532:in `process_without_filters' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > filters.rb:606:in `sass_old_process' > /Library/Ruby/Gems/1.8/gems/haml-2.2.17/lib/sass/plugin/rails.rb:19:in > `process' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > base.rb:391:in `process' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > base.rb:386:in `call' > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/ > routing/route_set.rb:437:in `call' > Request > > Parameters: > > None > Show session dump > > Response > > Headers: > > {"Content-Type"=>"text/html", > "Cache-Control"=>"no-cache"} > > > On Jan 29, 11:15 am, rubybox <[email protected]> wrote: > > Hi everyone, > > > > I have tryed for 60min to get the Groups plugin to work to not avail : > > ( > > I installed it with comments from github and added the route in my > > routes.rb > > Also had to install script/plugin install git:// > github.com/jamesgolick/resource_controller.git > > not mentioned in the docs. > > > > I set my ruby on rails version to 2.3.4 I use edge CE and master CE > > groups plugin. > > No errors but if i goto localhost:3000/groups It redirects to > > localhost:3000/login and then /admin ( logged in as admin ) > > There are no admin dashboard items for Groups either.. > > > > How can I use this plugin? Very interested and want to contribute to > > this also > > -- > You received this message because you are subscribed to the Google Groups > "CommunityEngine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<communityengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/communityengine?hl=en. > > -- It's 10% luck 20% skill 15% concentrated power of will 5% pleasure 50% pain And a 100% reason to remember the name -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/communityengine?hl=en.
