Table of Contents - mongoid-genesis-0.0.4 Documentation
Pages
- LICENSE
-
README
- Mongoid Genesis
- Install
- Rails 3
- Usage
- Model integration
- Basic structure
- Preserve the original attribute
- After preserving the original attribute, it will not be overwritten
- At all time, you can read the original attribute
- You can restore the original attribute
- To update the original document without losing the current state
- Cheat Sheet
- read_attribute_genesis(field_name)
- restore_genesis(field_name)
- reverse_genesis
- write_and_preserve_attribute(field_name, value)
- Copyright
Classes and Modules
Methods
- ::included — Mongoid::Genesis
- #field_preserved? — Mongoid::Genesis::Storage
- #init_genesis — Mongoid::Genesis
- #method_missing — Mongoid::Genesis::Storage
- #preserve — Mongoid::Genesis::Storage
- #read_attribute_genesis — Mongoid::Genesis
- #restore — Mongoid::Genesis::Storage
- #restore_genesis — Mongoid::Genesis
- #reverse — Mongoid::Genesis::Storage
- #reverse_genesis — Mongoid::Genesis
- #write_and_preserve_attribute — Mongoid::Genesis