File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ gem 'sqlite3'
55gem 'json'
66
77gem 'haml'
8+ gem 'mongo_mapper'
9+ gem 'bson_ext'
810
911# Gems used only for assets and not required
1012# in production environments by default.
Original file line number Diff line number Diff line change 3232 multi_json (~> 1.0 )
3333 arel (2.2.1 )
3434 bcrypt-ruby (2.1.4 )
35+ bson (1.3.1 )
36+ bson_ext (1.3.1 )
3537 builder (3.0.0 )
3638 coffee-rails (3.1.0.rc.6 )
3739 coffee-script (>= 2.2.0 )
5658 mime-types (~> 1.16 )
5759 treetop (~> 1.4.8 )
5860 mime-types (1.16 )
61+ mongo (1.3.1 )
62+ bson (>= 1.3.1 )
63+ mongo_mapper (0.9.1 )
64+ activemodel (~> 3.0 )
65+ activesupport (~> 3.0 )
66+ plucky (~> 0.3.8 )
5967 multi_json (1.0.3 )
68+ plucky (0.3.8 )
69+ mongo (~> 1.3 )
6070 polyglot (0.3.2 )
6171 rack (1.3.2 )
6272 rack-cache (1.0.2 )
@@ -113,10 +123,12 @@ PLATFORMS
113123 ruby
114124
115125DEPENDENCIES
126+ bson_ext
116127 coffee-rails (~> 3.1.0.rc )
117128 haml
118129 jquery-rails
119130 json
131+ mongo_mapper
120132 rails (= 3.1.0.rc6 )
121133 sass-rails (~> 3.1.0.rc )
122134 sqlite3
Original file line number Diff line number Diff line change 1- %h1 API Home!
1+ %h1 Welcome to the Hackety Hack API!
2+
3+
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class Application < Rails::Application
2424
2525 # you can also specify a different test framework or ORM here
2626 # g.test_framework :rspec
27- # g.orm :mongoid
27+ g . orm :mongo_mapper
2828 end
2929 end
3030end
You can’t perform that action at this time.
0 commit comments