-
Jean Boussier authored
This remove the null object as discussed in https://github.com/rails/rails/commit/8af78700d244c9e2e6403ce704326ef45ecbe288. Since it pretends to be nil but acts as thruthy in boolean context it cause more confusion than it clean code. `update_context` is removed in favor of `set_context` without a block.
Jean Boussier authoredThis remove the null object as discussed in https://github.com/rails/rails/commit/8af78700d244c9e2e6403ce704326ef45ecbe288. Since it pretends to be nil but acts as thruthy in boolean context it cause more confusion than it clean code. `update_context` is removed in favor of `set_context` without a block.
Loading