bitmask_attributes
bitmask_attributes copied to clipboard
Integer values
How to use this gem with integer possible values? I have error
SyntaxError: (eval):3: syntax error, unexpected tINTEGER, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END self.hours?(:0)
Just ran into this issue too, trying to start a string with an integer e.g. '3d_printing'
+1