Looking up options for Rails helpers | Julia Chan

“Rails Magic” is one of the terms I have heard a lot. Rails indeed is a magical framework as it does a lot under the hood. Yet, it can feel “too magical” for a new Rails dev.Often I looked at a Rails helper and was confused because I didn’t know how to use it, especially when the method signature has (options) as one of the parameters. I know there are options, but what are the options?Here I summarised three approaches I use now to learn about the optional parameters a Rails helper method accepts. This is one of the many pieces of puzzle in my dev journey that seem obvious once I became aware of them, yet I didn’t know until someone somewhere sheds the light for me.
Looking up options for Rails helpers | Julia Chan #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/looking-up-options-for-rails-helpers-julia-chan

Nezir Zahirovic

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

related articles