Displaying 1 result from an estimated 1 matches for "post_message".
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
2011 May 20
4
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
...oup_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 :photo%>
<%=f.submit "Post" %>
<%end%>...