Abstract
Earlier, 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. This chapter will 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.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Adam Gamble
About this chapter
Cite this chapter
Gamble, A., Carneiro, C., Barazi, R.A. (2013). Working with a Database: Active Record. In: Beginning Rails 4. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6035-6_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6035-6_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6034-9
Online ISBN: 978-1-4302-6035-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books