Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-26 | Controller#flash_for instead of FlashResponder | Azul | |
FlashResponder added a flash before responding. However at the point of responding objects have already been saved. So there is no way to test if they were changed. Now instead we can call flash_for resource before resource.save and it will add the flash messages only if the resource was actually changed. |