attribute_normalizer icon indicating copy to clipboard operation
attribute_normalizer copied to clipboard

Don't pollute target object namespace

Open dolzenko opened this issue 11 years ago • 2 comments

Currently if somebody uses something like normalize_attribute :name it makes impossible to have normalize_name method in the corresponding model, I suggest the defined method is at least given some kind of unique name (using prefix or similar) so that collisions are less likely.

dolzenko avatar Mar 11 '14 18:03 dolzenko

Yep, your right. The created methods should be prefixed or similar to avoid collisions.

Seems obvious now...

let_me_help_you_with_that

mdeering avatar Mar 11 '14 21:03 mdeering

related to #65

mdeering avatar Aug 15 '15 19:08 mdeering