stateful_enum icon indicating copy to clipboard operation
stateful_enum copied to clipboard

compatibility for non-Rails apps

Open phoffer opened this issue 8 years ago • 0 comments

This allows non-Rails projects using ActiveRecord to utilize stateful_enum. It checks ActiveRecord's version number instead of Rails, and only loads the Railtie if ::Rails::Railtie is defined. This shouldn't cause any issue with existing Rails apps.

phoffer avatar Jul 01 '17 14:07 phoffer