I\'m new to Rails development and I\'m starting with MongoDB also. I have been following this Railscast tutorial about complex forms with Rails but I\'m using MongoDB as my database. I\'m having no p
I am currently trying to learn Ruby On Rails as I am a long-time PHP developer so I am building my own community like page.
开发者_Python百科I\'ve recently begun playing around with MongoDB on Rails through use of the MongoMapper gem.I was wondering if there is some sort of way to have a class/object/collection be both a D
I am working on a pretty simple web application (famous last words) and am working with Rails 2.3.5 + MongoMapper 0.7.2 and using embedded documents. I have two questions to ask:
I\'m just learning MongoDB and MongoMapper. This is on Rails 3. I created a blog in app/models/blog.rb:
I\'m trying to create a custom MongoMapper data type in RoR 2.3.5 called Translatable: class Translatable < String
when i am trying to get the basic devise examples running with current git versions from rails, mongomapper and devise, i have the following error appearing:
i am currently developing a rails3 app with mongomapper and file storage in gridfs. after some trying around, i found grip and currently also use it in the app for storing the data. so far, so good -
I\'m playing around with MongoMapper but I\'m having trouble figuring out how to create a form for an object that has embedded documents.
I have a series of models all which inherit from a base model Properties For ex开发者_如何学Goample Bars, Restaurants, Cafes, etc.