Computer Science · Artificial Intelligence
Working with a Database: Active Record
Adam Gamble, Cloves Carneiro, Rida Al Barazi
See on the mapAbstract
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.