Migrations & ActionController

Ruby on Rails 4.2    |    Intermediate
  • 11 videos | 39m 37s
  • Earns a Badge
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
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 postgresql
    Create and sequence a migration
    Perform and roll back a migration
    Recall what some of the migration and database constraints are
    Recall how to edit the seeds.rb file
    Describe the controller actions index, new, and create
  • Describe the member actions show, edit, update, and destroy
    Use respond_to to render json and xml
    Use the actioncontroller::live module
    Use action callbacks
    Use variants to render different templates based on some criteria

IN THIS COURSE

  • 1m 51s
    Learn how to change the database settings from using SQLite to PostgreSQL. FREE ACCESS
  • 3m 12s
    Learn how to create and sequence a migration. FREE ACCESS
  • Locked
    3.  Performing Data Migrations
    4m 20s
    In this video, you will learn how to perform and roll back a migration. FREE ACCESS
  • Locked
    4.  Examining Constraints
    3m 20s
    After completing this video, you will be able to recall what some of the migration and database constraints are. FREE ACCESS
  • Locked
    5.  Using Seeds.rb
    3m 13s
    After completing this video, you will be able to recall how to edit the seeds.rb file. FREE ACCESS
  • Locked
    6.  Exploring Default Controller Collection Actions
    4m 6s
    Upon completion of this video, you will be able to describe the controller actions index, new, and create. FREE ACCESS
  • Locked
    7.  Exploring Default Controller Member Actions
    2m 52s
    Upon completion of this video, you will be able to describe the member actions SHOW, EDIT, UPDATE, and DESTROY. FREE ACCESS
  • Locked
    8.  Using Respond_to
    5m 23s
    In this video, you will use respond_to to render JSON and XML. FREE ACCESS
  • Locked
    9.  Streaming Content
    3m 57s
    In this video, you will use the ActionController::Live module. FREE ACCESS
  • Locked
    10.  Using Action Callbacks
    3m 2s
    In this video, you will learn how to use action callbacks. FREE ACCESS
  • Locked
    11.  Using Variants
    4m 21s
    During 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.

YOU MIGHT ALSO LIKE

Rating 4.5 of 2 users Rating 4.5 of 2 users (2)
Rating 5.0 of 6 users Rating 5.0 of 6 users (6)
Rating 4.6 of 178 users Rating 4.6 of 178 users (178)