Skip to content

ajsharp/mongodb-rails3-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MongoDB Rails 3 App Skeleton

This is just a sample app skeleton for an application with Rails 3, MongoDB, and MongoMapper.

The relevant files are:

  • config/application.rb

  • Gemfile

  • config/initializers/mongo.rb

  • app/models/user.rb (as an example)

To start the server: rails server

To start the console and play with the user model: rails console

All of this assumes that you’ve installed Rails 3 and have a mongod process running.

About

A sample Rails 3 app skeleton configured for MongoDB and MongoMapper.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published