Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Mongoid (revised)

#238 Mongoid (revised)

Jul 28, 2012 | 9 minutes | Plugins, Models
Mongoid is a Ruby gem for interacting with MongoDB. Here I show the basics of setting up an app, querying for records, adding embedded associations, overriding the id, and more.
  • Download:
  • source codeProject Files in Zip (41.8 KB)
  • mp4Full Size H.264 Video (16.2 MB)
  • m4vSmaller H.264 Video (9.5 MB)
  • webmFull Size VP8 Video (11.4 MB)
  • ogvFull Size Theora Video (17.3 MB)