Sha256: b4bb491e6fe90d95e878a53bb4463b0b0c08d06a4faefe6ca7af424ffdd5a9c4

Contents?: true

Size: 477 Bytes

Versions: 1

Compression:

Stored size: 477 Bytes

Contents

# MongoMapper: StrictKeys

## Usage:

### In your Gemfile:

        gem 'mongo_mapper-strict_keys', '~>0.0.4'

To force strict keys for all models, from the outset:

        gem 'mongo_mapper-strict_keys', '~>0.0.4', :require => 'mongo_mapper/strict_keys/force_plugin'

### In your Source Code / Model:

        require 'mongo_mapper/strict_keys'

        class StrictModel
          include MongoMapper::Document
          include MongoMapper::Plugins::StrictKeys
        end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongo_mapper-strict_keys-0.0.4 README.md