Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed README section on using outside ActiveRecord

This section was redundant now that there is another section discussing
the enumerable functionality.
  • Loading branch information...
commit 5d5b6c47a737fb9599c509341aabef3ed1a2c714 1 parent 6fd8e7d
@beerlington beerlington authored
Showing with 0 additions and 14 deletions.
  1. +0 −14
@@ -13,7 +13,6 @@ ClassyEnum is a Ruby on Rails gem that adds class-based enumerator functionality
* [Serializing as JSON](
* [Special Cases](
* [Built-in Model Validation](
-* [Using Enums Outside of ActiveRecord](
* [Formtastic Support](
## Rails & Ruby Versions Supported
@@ -297,19 +296,6 @@ end
@alarm.valid? # => true
-## Working with ClassyEnum outside of ActiveRecord
-While ClassyEnum was designed to be used directly with ActiveRecord, it can also be used outside of it. Here are some examples based on the enum class defined earlier in this document.
-Instantiate an enum member subclass *Priority::Low*
-# These statements are all equivalent
-low = Priority.find(:low)
-low = Priority.find('low')
-low =
## Formtastic Support
Built-in Formtastic support has been removed as of 2.0. It is still
Please sign in to comment.
Something went wrong with that request. Please try again.