bitmask_attributes icon indicating copy to clipboard operation
bitmask_attributes copied to clipboard

Humanized name for bitmask attribute

Open NomNomCameron opened this issue 7 years ago • 0 comments

I might be missing a method that may already be available but what I do now to get a humanized version of an attribute (in the view for example) is something like this:

model.bitmask_attribute[0].to_s.humanize

It would be nice if I could just do something like:

model.bitmas_attribute.humanized

I haven't dug too much into this to see if there is something currently offered, maybe someone can fill me in if there is?

If not would a PR to make a method like this in the gem be accepted?

NomNomCameron avatar Apr 24 '17 01:04 NomNomCameron