Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Uploadify, Paperclip, Rails
  • I've created a tutorial for Rails programmers, if it helps anybody:
    http://fencore.posterous.com/uploadify- ... s-tutorial
  • Hello Martin, I tried your tutorial with Rails 2.0.2(for project specific purposes) configuration without setting up the middleware, I have pretty much set up everything. I am currently alternating between IO Error and HTTP Error. I also didn't have a built in session_store.rb with the Rails frame work I was using(just to add this info, as it is worth mentioning)

    I have a strong feeling that Rack Middleware is not supported for the Rails version I am using, I actually had authenticity issues when I tried valums ajax file upload plugin, but by just commenting one line in the request_forgery_protection.rb things seemed to work for me..atleast on the javascript side/part of it..

    Is there any other solution other than using Rack Middleware..?

    There again I ran into issues connecting paperclip with valums, there also Rack Middleware was used to deal with its case(same roadblock).

    Coming back to my question.. On trying to upload this is how the log file looks like:-


    Processing UsersController#show (for 127.0.0.1 at 2011-06-04 21:41:02) [GET]
    Session ID: BAh7ByIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7ADoMY3NyZl9pZCIlNzhlZWUyZWIxMjMwMzMyMTdl%0ANjZjZTIwN2NiYjg5M2Y%3D--7ef474ed56b4d7a1601777f8ad7e305a3cd99c1a
    Parameters: {"action"=>"show", "id"=>"5", "controller"=>"users"}
    User Columns (0.001044) SHOW FIELDS FROM `users`
    Upload Columns (0.000955) SHOW FIELDS FROM `uploads`
    User Load Including Associations (0.000119) SELECT `users`.`id` AS t0_r0, `users`.`message` AS t0_r1, `users`.`created_at` AS t0_r2, `users`.`updated_at` AS t0_r3, `uploads`.`id` AS t1_r0, `uploads`.`user_id` AS t1_r1, `uploads`.`created_at` AS t1_r2, `uploads`.`updated_at` AS t1_r3, `uploads`.`photo_file_name` AS t1_r4, `uploads`.`photo_content_type` AS t1_r5, `uploads`.`photo_file_size` AS t1_r6 FROM `users` LEFT OUTER JOIN `uploads` ON uploads.user_id = users.id WHERE (`users`.`id` = 5)
    Rendering template within layouts/application
    Rendering users/show
    Rendered users/_show (0.01300)
    Completed in 0.17046 (5 reqs/sec) | Rendering: 0.04448 (26%) | DB: 0.00212 (1%) | 200 OK [http://localhost/users/5]


    I am pretty much not sure where what is going wrong and how best I can tackle th same.

    Kindly guide me on this..

    Thanks for your valuable time..
  • Are looking for this information, which is very helpful, thank you !!!!
    GHD Straighteners
    GHD Hair Straighteners
    Cheap GHD Straighteners
    GHD UK