Rails 4 in Action is a comprehensive introduction to Rails that guides you hands-on through all you'll need to become a competent and confident Rails developer. In it, you'll master Rails 4 by developing a ticket-tracking application that includes RESTful routing, authentication and authorization, file uploads, email, and more.
Rails is a full-stack, open source web framework powered by Ruby. Now in version 4, Rails is mature and powerful, and to use it effectively you need more than a few Google searches. You'll find no substitute for the guru's-eye-view of design, testing, deployment, and other real-world concerns that this book provides.
Rails 4 in Action is a hands-on guide to the subject. In this fully revised new edition, you'll master Rails 4 by developing a ticket-tracking application that includes RESTful routing, authentication and authorization, file uploads, email, and more. Learn to design your own APIs and successfully deploy a production-quality application. You'll see test-driven development and behavior-driven development in action throughout the book, just like in a top Rails shop.
What's Inside • Creating your own APIs • Using RSpec and Capybara • Emphasis on test-first development • Fully updated for Rails 4
Table of Contents • Ruby on Rails, the framework • Testing saves your bacon • Developing a real Rails application • Oh, CRUD! • Nested resources • Authentication • Basic access control • Fine-grained access control • File uploading • Tracking state • Tagging • Sending email • Deployment • Designing an API • Rack-based applications