Как сделать в ручкую hash параметров в Ruby On Rails

Vyacheslav B.
Aug 22, 2017 · 1 min read

Случается и такое, что нужно ручками собрать какой-то хеш параметров в контроллере. Делается просто:

Единственное предостережение: если до этого были другие параметры, то они будут переписаны. Ну и чтобы этого не произошло, можно новый хеш назвать по-другому.

)
Vyacheslav B.

Written by

Inhouse / Outsource Web Engineer

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade