search for: investor_group

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

2011 Mar 23
0
Implementing auto complete for more than one field in Rails
...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, {}, {:method => :get} %><%=submit_tag &quot...
2011 May 20
4
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
...as in terms of what is obstructing the photo to be passed as a params to the group_post attribute that I am making use of. I am having all this in a partial.... The part of the code that would accept an image and a message is like this... <%if @current_user.is_an_existing_member_of_group(@investor_group)%> <%form_for :group_post, :url => {:action => :post_message, :id => params[:id]},:html => {:multipart => ''true'', :id => ''new_post''} do |f| -%> Start Discussion:<%=f.text_field :message%> <%=f.file_field :ph...
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
...39;' /home/mohnish/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' script/server:3 My groups_controller.rb show method looks like this, here line 27 is `@group_post = GroupPost.new(params[:group_post])` :- def show @investor_group = InvestorGroup.find(params[:id]) @members = @investor_group.activated_members # code taken from discuss method investor_id = session[''investor_id''] @investor = Investor.find(investor_id) @members = @investor_group.activated_members...