- Course
Adding a User Resource to a Rails Application
This course teaches how to represent data models as resources in your Rails application, using various routines to manage the underlying database schema. This provide a convenient way to abstract data models from the app, allowing high reusability.
- Course
Adding a User Resource to a Rails Application
This course teaches how to represent data models as resources in your Rails application, using various routines to manage the underlying database schema. This provide a convenient way to abstract data models from the app, allowing high reusability.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Any modern application will need to save data in a data store and more often than not, it’s a database. Unfortunately there are different types of databases, and addressing one will automatically make your application coupled with the technology. In this course, Adding User Resource in a Rails Application, you’ll learn to utilize the abstraction API of Rails in the data persistence level. First, you’ll explore how to define and implement your data models using ActiveRecord. Next, you’ll discover how to perform associations between several models to create relationships for derived data as needed by your application. Finally, you’ll learn how to apply your own logic to address software requirements in the persistence layer to implement business rules of your software. When you’re finished with this course, you’ll have the skills and knowledge of designing implementing data models as resources needed to provide data persistence in your application.