-
Why Executables? and How to use Executables?
Why Executables?
-
Wrap parameters in Rails
ActionController::ParamsWrapper
in Rails is responsible for wrapping the parameters hash into a nested hash. -
How to add helper in mustache
-
Binding mouse events to disabled input elements
Do you know, you can’t bind mouse events to a input element once it is disabled?
-
Send POST data without a HTML form
Recently while working on one of the projects I encountered a situation where I had to post some nested-data to a controller method and this data wasn’t associated with any model hence rails
fields_for
was of no help.