Sha256: b5caba41fed4b0cc49e03d5db7f2edf0a827d0836e225f214a98b8a64540ba26
Contents?: true
Size: 954 Bytes
Versions: 1
Compression:
Stored size: 954 Bytes
Contents
# ActiveRecord Enum Provides ActiveRecord support for the nonstandard `ENUM` and `SET` data types. [![Build Status](http://travis-ci.org/iangreenleaf/activerecord_enum.png)](http://travis-ci.org/iangreenleaf/activerecord_enum) ## Hypothetically asked questions ### Y U NO WORK?! Sorry, it currently only works with Rails 3.0.x and the mysql2 adapter. I plan to support 3.1.x and other adapters at some point. ### Why doesn't it validate anything? Right now it really only supports schema operations - attribute access is left untouched. I'll be working on that too at some point. ### Nonstandard SQL?! What's your problem, jerkweed? This isn't a plugin everyone should use. There are a number of plugins to simulate enum behavior backed by standard data types. Personally, I like [nofxx/symbolize](https://github.com/nofxx/symbolize). However, sometimes we can't or won't avoid working with these data types. When that happens, I got you covered.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activerecord_enum-0.0.2 | README.markdown |