Skip to main content

Introducing Activerecord

  • Chapter
Foundation Rails 2
  • 326 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 42.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics