Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for akvarel1

I am using this [application example][1] and try to model it to fit my needs. I am modelling your index.html.erb to fit my needs. I want to get rid of "start" button in order to prevent single-file upload (I dont want it), but it seems that "start upload"(multiple upload)-button is …

Member Avatar for LastMitch
0
386
Member Avatar for akvarel1

Hello again I am trying to show the errors that can occur by uploading a file (file name, size). I tried to modify this code cut-off but I could not. else format.html { render action: "new" } format.json { render json: @upload.errors, status: :unprocessable_entity } end I have following validations …

Member Avatar for LastMitch
0
163
Member Avatar for akvarel1

Hello! I try to catch a validation message with a `$.parseJSON(xhr.responseText).errors` but an allert message hows me "undefined" and I dont understand why. hier are my validations: validates :upload_file_name, :presence => true, :format =>{:with => %r{\.(pdf)$}i,:message =>"It should be a pdf File"} validates_uniqueness_of :upload_file_name, :message => "blabla" validates :upload_file_size, :inclusion …

Member Avatar for LastMitch
0
180
Member Avatar for akvarel1

I was following RailsCasts tutorial JQuery Uploading and I ran into difficulties. I would like to be able to select several files, preview only the name of the files on the website, remove those, which where selected by mistake and only then upload the neccessary ones in Ruby on Rails. …

Member Avatar for akvarel1
1
298