rails_param icon indicating copy to clipboard operation
rails_param copied to clipboard

Add custom message support

Open bacosmin opened this issue 8 years ago • 1 comments

I have extracted each message into a separate class that extends a base class.
The validation method tries to use the user message class, if is not present it fallbacks to the rails_param default messages

bacosmin avatar Oct 04 '17 12:10 bacosmin

I like the idea of having a custom message option, but the refactoring looks too much convoluted to me (and very much Java-like...). Moreover, we're planning a refactoring of validations based on ActiveModel so I'll come back to this after we're done with that.

iMacTia avatar May 29 '18 07:05 iMacTia