Use Hash fetch when using Rails params in controllers

A Ruby hash is typically accessed using square brackets, like hash[key], but you can also use the method fetch, like hash.fetch(key).
Use Hash fetch when using Rails params in controllers #ruby #rubydeveloper #rubyonrails #params https://rubyonrails.ba/single/use-hash-fetch-when-using-rails-params-in-controllers

Nezir Zahirovic

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

related articles