bitmask_attributes
bitmask_attributes copied to clipboard
Humanized name for bitmask attribute
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?