validate_block
validate_block copied to clipboard
rename validate_block to validate
Hi,
is it possible to rename validate_block to validate?
I think the name clash can be dealt with similiar to the way included does in ActiveSupport::Concern
Cheers, Martin
I'm not against changing it, I was never quite happy with the name anyway, but would "validate" be too generic as well? Also likely to clash?
What library is clashing with this one?
I don't know if it's clashing with anything, I was thinking Model#validate, but since we're in the class scope here that's not the case...