Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luckyyang/mongoid_example
mongoid example
https://github.com/luckyyang/mongoid_example
Last synced: 21 days ago
JSON representation
mongoid example
- Host: GitHub
- URL: https://github.com/luckyyang/mongoid_example
- Owner: luckyyang
- Created: 2014-12-10T08:12:20.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-10T14:39:39.000Z (almost 10 years ago)
- Last Synced: 2024-10-14T02:17:02.885Z (about 1 month ago)
- Language: Ruby
- Size: 152 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
Awesome Lists containing this project
README
== README
新建项目时,命令行:
rails new app_name --skip-active-record
Gemfile:
gem "mongoid", "~> 4.0.0"
gem 'mongoid-sadstory' #Adds support for multiparameter fields to mongoid 4.x series
生成mongoid的config文件config/mongoid.yml:
rails g mongoid:config
参考mongoid官方安装文档:http://mongoid.org/en/mongoid/docs/installation.html