Dynamic routing to a controller's action. If you have a rails form which has multiple submit buttons such as Publish
and Unpublish
, you can easily route those to corresponding actions within the controller with this clever hack.
Recent articles
- Setting up Android phone to work with Apple Watch and iMessage - 11th June 2025
- with_defaults is a better named alias - 28th April 2025
- Bundler can be configured to auto install - 28th April 2025