Displaying 2 results from an estimated 2 matches for "create_art_imag".
Did you mean:
create_art_image
2006 May 28
4
File_column trouble, advice needed
...ing images i have trouble, i get "uninitialized constant
ArtImage" error and other errors, im following the instructions on
http://wiki.rubyonrails.com/rails/pages/HowToUseFileColumn but doesnt
seems to work, this its the code im using:
#----view
<%= form_tag({:action=>''create_art_image'', :id=> @art_image}, :multipart
=> true)%>
<%= file_column_field "art_image", "image" %><br/>
<%= submit_tag ''Upload'' -%>
<%= end_form_tag %>
#---controller action
def create_art_image
@art_image = ArtImage.new(@para...
2006 Jun 01
3
file_column - blank folder created, no upload
...a post related to the same problem but i
coulndt find anything there that help to fix this.
By the way, im using rails1.1/ruby1.8.2(or RMagick wont work on
windows), windows and webrick, here is my code
#view-------index.rhtml
<h1>Upload</h1>
<%= form_tag({:action=>''create_art_image'', :id=> @art_image}, :multipart
=> true)%>
<br/>
<%= file_column_field "image", "name" %>
<%= submit_tag ''Upload'' -%>
<%= end_form_tag %>
#controller-------create_art_image action
def create_art_image
@art_image = Im...