smart_model 0.3.7 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/README.rdoc +2 -0
  2. metadata +3 -3
data/README.rdoc CHANGED
@@ -16,6 +16,8 @@ Just add:
16
16
  gem 'smart_model'
17
17
  To your Gemfile and run:
18
18
  $ [sudo] bundle install
19
+ As we use MongoMapper, you still need to set the database name, what can be easily done in a config/initializers/mongodb.rb like that
20
+ MongoMapper.database = "wtv-#{Rails.env}"
19
21
 
20
22
  And you are done!
21
23
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_model
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 7
10
- version: 0.3.7
9
+ - 8
10
+ version: 0.3.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Nathan Proen\xC3\xA7a"