Basic Routes, Views And Controllers
- About The Project
- Built With
- Getting Started With The Project
- Contributing
- License
- Contact/Contributors i. Link To Project On Github
- What Was Learnt During The Project
- Acknowledgements
Get the chance to interact with Rails application from the command line by sending requests manually. First build a very simple app (to get some practice with the steps involved in creating a new one) and then a simple script which uses the RestClient gem to send some requests and examine the server output.
Ruby On Rails.
Application Skeleton First you need to create a simple Rails app:
- Create a new Rails application “rest-tester” (remember the $ rails new command?). Go (cd) into the application folder and open it up in a text editor.
- Let’s start from the top – creating the routes necessary to serve up our users. Go to config/routes.rb and add the users resources with resources :users.
- Verify by using $ rake routes on the command line.
In this project, your contributions towards helping in improving this project is woild be well accomodated. With that, the project will get better rating and give programmers at any level the ability learn, be inspired and create better content.
After you are done with your contributions, you can:
i. Fork The project. ii. Create your feature branch using git checkout -b feature/anyfeature(for example) iii. Commit your changes following git commit -m 'Name it as it pleases you', when you are done, iv. Push to the branch you have created using git push origin feature/anyfeature and finally v. Open a pull request.
Distributed under the MIT Licence. See Licence for more informaton
Kingsley McSimon O. and Roheem Olayemi
Got useful adventure into the request cycle of a Rails app and had the chance to get a bit familiar with basic app creation, setup and routing.