By Anthony Lewis
Rails is a strong, versatile improvement platform that permits you to construct complicated web content quick. significant web content like GitHub, Hulu, and Twitter have run Rails below the hood, and if you happen to understand barely enough HTML and CSS to be harmful, Rails Crash direction will educate you to harness Rails on your personal tasks and create internet purposes which are speedy, solid, and secure.
In half I, you'll examine Ruby and Rails basics after which dive immediately into versions, controllers, perspectives, and deployment. As you're employed during the fundamentals, you'll find out how to:
- Craft power versions with energetic Record
- construct view templates with Embedded Ruby
- Use Git to roll again to prior types of your code base
- set up purposes to Heroku
In half II, you'll take your talents to the subsequent point as you construct a social networking app with extra complicated Ruby instruments, akin to modules and metaprogramming, and complicated facts modeling strategies inside of Rails's energetic list. You'll find out how to:
- enforce an authentication approach to spot approved users
- Write your personal automatic checks and refactor your code with confidence
- Maximize functionality with the asset pipeline and turbolinks
- safe your app opposed to SQL injection and cross-site scripting
- arrange a server and set up purposes with Capistrano
Each bankruptcy is filled with hands-on examples and routines to augment what you've discovered. no matter if you're thoroughly new to Ruby or you've been mucking round for a piece, Rails Crash path will take you from the fundamentals to transport your first Rails program, quickly.