Skip to main content

Working with a Database: Active Record

  • Chapter
Beginning Rails 3
  • 561 Accesses

Abstract

In the previous chapter, you took a whirlwind tour through creating a basic Rails application using the built-in scaffolding feature. You sketched out a basic model for a blog application and created the project databases. You used the built-in web server to run the application locally and practiced adding and managing articles from the web browser. In this chapter, you take a more in-depth look at how things work, starting with what is arguably the most important part of Rails: Active Record.

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 39.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.

Editor information

Clay Andres Steve Anglin Mark Beckner Ewan Buckingham Gary Cornell Jonathan Gennick Jonathan Hassell Michelle Lowman Matthew Moodie Duncan Parkes Jeffrey Pepper Frank Pohlmann Douglas Pundick Ben Renow-Clarke Dominic Shakeshaft Matt Wade Tom Welsh Tiffany Taylor

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Cloves Carneiro Jr. and Rida Al Barazi

About this chapter

Cite this chapter

(2010). Working with a Database: Active Record. In: Andres, C., et al. Beginning Rails 3. Apress. https://doi.org/10.1007/978-1-4302-2434-1_4

Download citation

Publish with us

Policies and ethics