Abstract
In this chapter, we will quickly implement a complete book inventory management system using the built-in scaffolding feature of Ruby on Rails. While implementing the system, we will write Ruby on Rails integration tests that exercise the whole book inventory management system from end to end. As we work through this sprint, we will show you how to map database relationships with ActiveRecord, including one-to-many, many-to-one, and many-to-many relationships. Plus, you will learn how to implement file upload functionality with Rails. We’ll also introduce you to the Textile markup language, which can be used to author web content.
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
© 2006 Christian Hellsten and Jarkko Laine
About this chapter
Cite this chapter
(2006). Book Inventory Management. In: Beginning Ruby on Rails E-Commerce. Apress. https://doi.org/10.1007/978-1-4302-0276-9_3
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0276-9_3
Publisher Name: Apress
Print ISBN: 978-1-59059-736-1
Online ISBN: 978-1-4302-0276-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books