Book description
Beginning Rails 3 is the practical starting point for anyone wanting to learn how to build dynamic web applications using the latest release of the Rails framework for Ruby. You'll learn how all of the components of Rails fit together and how you can leverage them to create sophisticated web applications with less code and more joy.
This book is particularly well suited to those with little or no experience with web application development, or who have some experience but are new to Rails. Beginning Rails 3 assumes basic familiarity with web terms and technologies, but doesn't require you to be an expert. Rather than delving into the arcane details of Rails, the focus is on the aspects of the framework that will become your pick, shovel, and axe. Part history lesson, part introduction to object-oriented programming, and part dissertation on open source software, this title doesn't just explain how to do something in Rails, it explains why.
Learn to create Rails web applications from scratch
Includes a gentle introduction to the Ruby programming language
Completely updated to include the new features of Rails 3
Table of contents
- Copyright
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Introduction
- 1. Introducing the Rails Framework
- 2. Getting Started
- 3. Getting Something Running
- 4. Working with a Database: Active Record
-
5. Advanced Active Record: Enhancing Your Models
- 5.1. Adding Methods
- 5.2. Using Associations
- 5.3. Advanced Finding
- 5.4. Applying Validations
- 5.5. Making Callbacks
- 5.6. Observers
- 5.7. Reviewing the Updated Models
- 5.8. Summary
-
6. Action Pack: Working with the View and the Controller
- 6.1. Action Pack Components
-
6.2. A Controller Walk-Through
- 6.2.1. Setting Up Routes
- 6.2.2. Revisiting the Scaffold Generator
- 6.2.3. Rendering Responses
- 6.2.4. Redirecting
- 6.2.5. Understanding Templates
- 6.2.6. Working with Layouts
- 6.2.7. Looking at the Article Form
- 6.2.8. Using Form Helpers
- 6.2.9. Processing Request Parameters
- 6.2.10. Revisiting the Controller
- 6.2.11. Displaying Error Messages in Templates
- 6.2.12. Edit and Update actions
- 6.2.13. Revisiting the views
- 6.2.14. Staying DRY with Partials
- 6.3. Summary
- 7. Advanced Action Pack
- 8. Improving Interaction with Ajax
- 9. Sending and Receiving E-Mail
- 10. Testing Your Application
- 11. Internationalization
- 12. Extending Rails with Plug-ins
- 13. Deploying Your Rails Applications
- A. Ruby, a Programmer's Best Friend
- B. Databases 101
- C. The Rails Community
-
D. Git
- D.1. What Is Source Control Management?
- D.2. How Does It Work?
- D.3. Git
- D.4. Other SCM Systems
- D.5. Online Resources
Product information
- Title: Beginning Rails 3
- Author(s):
- Release date: September 2010
- Publisher(s): Apress
- ISBN: 9781430224334
You might also like
book
Rails 4 in Action
GET MORE WITH MANNING An eBook copy of the previous edition, Rails 3 in Action, is …
book
Rails Plugins: Extending Rails Beyond the Core
One of the most powerful aspects of the Rails framework is the ability to extend and …
book
Rails Pocket Reference
Rails 2.1 brings a new level of stability and power to thisacclaimed web development framework, but …
book
Ruby Phrasebook
Ruby Phrasebook Jason Clinton Essential Code and Commands Ruby Phrasebook gives you the code you need …