pboling / flag_shih_tzu

Bit fields for ActiveRecord
http://railsbling.com/flag_shih_tzu
MIT License
496 stars 64 forks source link

Issue with precompile? #55

Closed evdevdev closed 8 years ago

evdevdev commented 8 years ago

I'm running into an issue where if I try to compile production assets on my local machine this throws an error. I believe this is due to has_flags referencing the connect.

Have you run into this before? Is there a known work-around?

pboling commented 8 years ago

Yes, the workaround is currently to turn off the column check.

See here: https://github.com/pboling/flag_shih_tzu#skipping-flag-column-check

I will be working on a better solution to this eventually as part of a rewrite of the gem.