search for: groups_controller

Displaying 3 results from an estimated 3 matches for "groups_controller".

2011 Mar 23
0
Implementing auto complete for more than one field in Rails
...ber of members that would show up corresponding to each group, based on the entered text in the auto complete text field. I am facing the following hurdles going about the same: Currently the code that I have implemented to get basic auto complete works based on group name looks like this:- in **groups_controller.rb** auto_complete_for :investor_group, :title in **index.html.erb** of **groups** <%=stylesheet_link_tag "groups"%> <%= javascript_include_tag :defaults %> Search for a investor group: <%= text_field_with_auto_complete :investor_group, :title, {}, {:me...
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
...ame is:- /home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.0.2/lib/active_record/base.rb:1532:in `method_missing_without_paginate'' vendor/plugins/will_paginate/lib/will_paginate/finder.rb:170:in `method_missing'' app/models/group_post.rb:9 app/controllers/groups_controller.rb:27:in `show'' The **Full Trace** for this just in case is:- /home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.0.2/lib/active_record/base.rb:1532:in `method_missing_without_paginate'' vendor/plugins/will_paginate/lib/will_paginate/finder.rb:170:in `method_missi...
2007 Oct 28
2
failing test with nested controller routes
...) end the error: 1) ''Admin::GroupsController handling POST /admin/groups should redirect to the new group on successful save'' FAILED expected redirect to "http://test.host/admin/groups/1", got redirect to "http:// test.host/groups/1" ./spec/controllers/admin/groups_controller_spec.rb:246: test log: Processing GroupsController#update (for 0.0.0.0 at 2007-10-27 21:53:44) [PUT] Session ID: Parameters: {"action"=>"update", "id"=>"1", "controller"=>"admin/groups"} Redirected to http://test.host/grou...