Rails 6 adds dig method to ActionDispatch::Request::Session

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 https://rubyonrails.ba/single/rails-6-adds-dig-method-to-actiondispatch-request-session

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles