Abstract
In the last chapter, we took a high-level tour of not only creating our first Rails application but also of using the controller and view components to render some static text in response to a request. The application that we put together was intentionally incredibly simple. I wanted you to start out your Rails learning experience by first learning what a Rails application looks like and to get a hands-on feel for the process we use to send a request to a Rails application and to receive a response back from it. That request-response cycle is key to understanding the big picture of how Rails works. Everything else we learn about in Rails is simply to enhance that process through actions such as pulling data from a database, formatting data for display, and inserting the dynamic data into the response that’s returned. That’s why our previous application focused on letting you see exactly how we were able to send requests to a Rails application and how Rails is able to send back different responses.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2008 Eldon Alameda
About this chapter
Cite this chapter
(2008). Introducing Activerecord. In: Foundation Rails 2. Apress. https://doi.org/10.1007/978-1-4302-1040-5_4
Download citation
DOI: https://doi.org/10.1007/978-1-4302-1040-5_4
Publisher Name: Apress
Print ISBN: 978-1-4302-1039-9
Online ISBN: 978-1-4302-1040-5
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books