I am new to ruby on rails can you help me in writing a web service which uploads an image and stores in database.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No one’s gonna just give you the code, but, in a way, someone has.
Paperclip is a Ruby gem that handles file uploads and attaches them to a model. That’s the hardest part of what you’re describing. The README doc on that page describes the installation process pretty well, and I imagine the rest you can handle yourself, with the Rails documentation at your side 🙂