Allow symbols to be passed to the 'on' option for single events#264
Allow symbols to be passed to the 'on' option for single events#264batter merged 1 commit intopaper-trail-gem:masterfrom
Conversation
|
@sgrif - Thanks for the pull request, completely agree with the concept, actually a little surprised this wasn't already a feature, considering we already do it with other options like The test was failing though due to a typo ( I've merged in the pull and fixed the test so it passes. This also brought to my attention that the new rake task I had implemented to run both test suites wasn't exiting with an error because I was using |
|
I could have sworn I did (I actually even remember fixing that typo.)
|
Generally in rails, when an option can be passed with an array of symbols, a symbol is allowed in place of a single element array.