Question: Using Ruby on Rails, develop web application that allows users to share inspirational thoughts with others. There is a single model: Inspirations. Each inspiration consists
Using Ruby on Rails, develop web application that allows users to share inspirational thoughts with others.
There is a single model: Inspirations. Each inspiration consists of a string, the number of times it has been up-voted, and the number of times it has been down-voted.
The home page of the application consists of two buttons: "Share a new inspiration" and "See a random inspiration". Clicking the former allows the user to enter a string, which is saved in the database. Clicking the latter displays a random inspiration from the database (and its up/down vote counts), along with buttons to up-vote, down-vote, see a new inspiration, or share a new inspiration.
You are free to add other views as well, but there should not be a way to see a listing of all the inspirations in a single view.
Add appropriate validations in your model, seeding for your database, and aesthetic styling.
Step by Step Solution
There are 3 Steps involved in it
Developing a complete web application with Ruby on Rails including validations seeding and aesthetic styling is a complex task that requires detailed ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
663e0316d8389_960573.pdf
180 KBs PDF File
663e0316d8389_960573.docx
120 KBs Word File
