Migrations & ActionController

Ruby on Rails 4.2    |    Intermediate
  • 11 videos | 39m 37s
  • Earns a Badge
Likes 3 Likes 3
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

  • Playable
    1. 
    Updating Database Settings
    1m 51s
    UP NEXT
  • Playable
    2. 
    Creating Migrations
    3m 12s
  • Locked
    3. 
    Performing Data Migrations
    4m 20s
  • Locked
    4. 
    Examining Constraints
    3m 20s
  • Locked
    5. 
    Using Seeds.rb
    3m 13s
  • Locked
    6. 
    Exploring Default Controller Collection Actions
    4m 6s
  • Locked
    7. 
    Exploring Default Controller Member Actions
    2m 52s
  • Locked
    8. 
    Using Respond_to
    5m 23s
  • Locked
    9. 
    Streaming Content
    3m 57s
  • Locked
    10. 
    Using Action Callbacks
    3m 2s
  • Locked
    11. 
    Using Variants
    4m 21s

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.