Ruby on Rails Thursday, April 2, 2015

Hello guys,
i have created a simple app using devise and paperclip gem.
I created my model using devise and i created a seperate controller to
show what user has uploaded and generated the view file for it too.
i have uploaded .Doc file and in the browser i'm getting my table as
Name, Email and Document as per my show file, But Under Document i am
getting the url for the doc i uploaded
How can i view the doc file i uploaded and generate a download link of
that.

Attachments:
http://www.ruby-forum.com/attachment/10648/list_controller.jpg
http://www.ruby-forum.com/attachment/10649/sessions_controller_Of_Devise.jpg
http://www.ruby-forum.com/attachment/10650/show_File.jpg
http://www.ruby-forum.com/attachment/10651/User_Model.jpg


--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1bf8240c7271994613195986ee8fe838%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment