Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 39f6d04c79

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
todo-after-custom-rollout
todo-after-rollout-gem
todo-before
README

README

RailsCasts Episode #315: Rollout and Degrade

http://railscasts.com/episodes/315-rollout-and-degrade

Requires Ruby 1.9.2 or higher.

Commands used in episode

  git checkout phone
  git diff
  rails c

Commands used in console

  $rollout.activate_group(:phone, :admin)
  $rollout.activate_group(:phone, :all)
  $rollout.activate_user(:phone, User.find_by_name("ryan"))
  $rollout.activate_percentage(:phone, 20)
  $rollout.deactivate_all(:phone)
  Rollout.create! name: "phone", group: "admin"
Something went wrong with that request. Please try again.