DHH is creator of Ruby on Rails and he is still passionately involved in Rails development after more than 10 years. Complete list - https://github.com/rails/rails/issues?q=milestone%3A5.0.0+author%3Adhh+is%3Aclosed
self.current_user = find_verified_user end protected def find_verified_user id = cookies.signed[:user_id] if current_user = User.find_by(id: id) current_user else reject_unauthorized_connection end end end end An example showing how you can use Active Record, cookies etc with Action Cable
event machine. It was later dropped in https://github.com/rails/rails/commit/74497eabd52f2f9f8c383808b11286283046c2b2. Now Action Cable does not have hard dependency on Event machine
Failure: PostsControllerTest#test_should_get_new: Expected response to be a <success>, but was a <302> redirect to <http://test.host/posts> bin/rails test test/controllers/posts_controller_test.rb:15 See the command which can be run as test for failed tests
Running: ..F Failure: PostsControllerTest#test_should_get_new: Expected response to be a <success>, but was a <302> redirect to <http://test.host/posts> bin/rails test test/controllers/posts_controller_test.rb:15 Interrupted. Exiting... Finished in 0.179125s, 16.7481 runs/s, 22.3308 assertions/s. 3 runs, 4 assertions, 1 failures, 0 errors, 0 skips Fail fast with -f switch
analogous to app controllers subclassing ApplicationController instead of ActionController::Base. This gives apps a single spot to configure app-wide model behavior