shkm / enummer

🏳️‍🌈 Multi enums (aka flags) for Rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Creating a new record without any values specified throws an error

shkm opened this issue · comments

[2] pry(main)> Supplier.new.services
NoMethodError: undefined method `&' for "0":String
from /usr/local/bundle/gems/enummer-1.0.1/lib/enummer/enummer_type.rb:34:in `block in deserialize'

Not actually sure what the case is here, but I'm seeing it happen when integrating in another project which uses postgis.