search for: post_by

Displaying 2 results from an estimated 2 matches for "post_by".

Did you mean: host_b
2011 May 20
4
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
...gt; <%=f.file_field :photo%> <%=f.submit "Post" %> <%end%> <div id = "latest_post"> </div> <%for a in @group_all_posts %> <%= image_tag a.photo.url %> <%= a.message %> by <%= Investor.find(a.post_by).first_name %> <div class ="contentdispgrp" id="style_chck"> <%= distance_of_time_in_words(a.created_at,Time.now) %> ago </div><br/><br/> <hr/> <%end%> I actually tried comparing this with the view file in my POC which successfu...
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
...return else @group_post = GroupPost.new(params[:group_post]) # line 27, tried GroupPost.create also.. seems to be of no avail.. end #@group_post = GroupPost.new(params[:group_post]) @group_post.investor_group_id = @investor_group.id @group_post.post_by = investor_id unless @group_post.message.blank? if @group_post.save flash[:notice] = ''Post was successfull'' else flash[:notice] = ''Post was not successfull'' end #redirect_to :action => :sh...