A sample app in Rals 4 which uses MongoDB  with the help of mongoid gem