validate_block icon indicating copy to clipboard operation
validate_block copied to clipboard

rename validate_block to validate

Open MSch opened this issue 15 years ago • 2 comments

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

MSch avatar Sep 14 '10 17:09 MSch

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?

xunker avatar Sep 14 '10 17:09 xunker

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...

MSch avatar Sep 14 '10 17:09 MSch