Using Ruby on Rails, develop web application that allows users to share inspirational thoughts with others. There
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 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.
Essentials Of Business Research Methods
ISBN: 9780367196189
4th Edition
Authors: Joe F. Hair, Michael Page, Niek Brunsveld