Rails HAML array

Hello,

please, I would like to use something like to that from HAML View to a controller as params, is it possible in real? If yes, which params do I need to use?

%p="#{@translations[[‘some_text’]]}"

Thanks for help.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs