Hi i am new to ruby on rails can you help me in writing a web service which uploads an image and stores in database.
Thanks in advance
Hi i am new to ruby on rails can you help me in writing a web service which uploads an image and stores in database.
Thanks in advance
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 :)