Migrations & ActionController
Ruby on Rails 4.2
| Intermediate
- 11 videos | 39m 37s
- Earns a Badge
Many of your Rails projects will need to connect to a database. Discover how Rails works with databases, including migrations, seeding, and the ActionController.
WHAT YOU WILL LEARN
-
Change the database settings from using sqllite to postgresqlCreate and sequence a migrationPerform and roll back a migrationRecall what some of the migration and database constraints areRecall how to edit the seeds.rb fileDescribe the controller actions index, new, and create
-
Describe the member actions show, edit, update, and destroyUse respond_to to render json and xmlUse the actioncontroller::live moduleUse action callbacksUse variants to render different templates based on some criteria
IN THIS COURSE
-
1m 51sLearn how to change the database settings from using SQLite to PostgreSQL. FREE ACCESS
-
3m 12sLearn how to create and sequence a migration. FREE ACCESS
-
4m 20sIn this video, you will learn how to perform and roll back a migration. FREE ACCESS
-
3m 20sAfter completing this video, you will be able to recall what some of the migration and database constraints are. FREE ACCESS
-
3m 13sAfter completing this video, you will be able to recall how to edit the seeds.rb file. FREE ACCESS
-
4m 6sUpon completion of this video, you will be able to describe the controller actions index, new, and create. FREE ACCESS
-
2m 52sUpon completion of this video, you will be able to describe the member actions SHOW, EDIT, UPDATE, and DESTROY. FREE ACCESS
-
5m 23sIn this video, you will use respond_to to render JSON and XML. FREE ACCESS
-
3m 57sIn this video, you will use the ActionController::Live module. FREE ACCESS
-
3m 2sIn this video, you will learn how to use action callbacks. FREE ACCESS
-
4m 21sDuring this video, you will learn how to use variants to render different templates based on some criteria. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.