Rails 6 adds dig method to ActionDispatch::Request::Session
19-Sep-2019 2476
The Rails session object supports many hash methods. Ruby 2.3 introduced dig method to Hash, for safe hash traversal. Rails 6 brings dig method to ActionDispatch::Request::Session similar to Hash.
Rails 6 adds dig method to ActionDispatch::Request::Session #ruby #rubydeveloper #rubyonrails #Rails #method #ActionDispatch::Request::Session https://rubyonrails.ba/link/rails-6-adds-dig-method-to-actiondispatch-request-session