Displaying 1 result from an estimated 1 matches for "newsletterpost_filenam".
Did you mean:
newsletterpost_filename
2006 Jan 22
2
File_column not keeping value during page reloads
...flash[:notice] = "Newsletter posting was successfully created."
redirect_to :action => ''list''
else
render :action => ''new''
end
end
And the relevant section from my _form.rhtml file:
<label for=''newsletterpost_filename''>Attachment:</label><br/>
<%= file_column_field ''newsletterpost'', ''filename'' %> <br /><br />
And my newsletterpost model:
class Newsletterpost < ActiveRecord::Base
belongs_to :user
belongs_to :newslettercate...