Skip to content
This repository was archived by the owner on Jun 16, 2020. It is now read-only.

Humanized name for bitmask attribute #76

Open
NomNomCameron opened this issue Apr 24, 2017 · 0 comments
Open

Humanized name for bitmask attribute #76

NomNomCameron opened this issue Apr 24, 2017 · 0 comments

Comments

@NomNomCameron
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant