Develop Ruby on Rails applications with models, controllers, views, Active Record ORM, authentication, and RESTful routes. Use when building Rails applications, managing database relationships, and implementing MVC architecture.
Build comprehensive Ruby on Rails applications with proper model associations, RESTful controllers, Active Record queries, authentication systems, middleware chains, and view rendering following Rails conventions.
Minimal working example:
rails new myapp --api --database=postgresql
cd myapp
rails db:create
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Rails Project Setup | Rails Project Setup |
| Models with Active Record | Models with Active Record |
| Database Migrations | Database Migrations |
| Controllers with RESTful Actions | Controllers with RESTful Actions |
| Authentication with JWT | Authentication with JWT |
| Active Record Queries | Active Record Queries |
| Serializers | Serializers |