While working on my upcoming BigAuthor project, I came upon an interesting challenge that turned out to be so simple with MongoMapper that I just have to share it here. Need to create a hash of multiple filter parameters on a MongoMapper document using a form that is cleanly resource-based, using InheritedResources? It’s not as [...]
Posts Tagged ‘mongomapper’
Nested forms, hashes, checkboxes and MongoMapper
Posted: 20th February 2010 by M. E. Patterson in CodingTags: inherited_resources, mongod, mongomapper, rails, ruby, solr, sunspot
Starting a new Rails app? Here’s my skeleton…
Posted: 15th February 2010 by M. E. Patterson in CodingTags: activerecord, gems, mongodb, mongomapper, plugins, rails
Not meant to be a “this is what should be done” as much as a “this is what Matt uses, based largely on community popularity, best practice, and Matt’s personal tastes.” Take it for what it is: a point of discussion. Of course, the skeleton of any Rails app will vary from project to project, [...]
Mongo Beauty #1
Posted: 2nd February 2010 by M. E. Patterson in CodingTags: mongodb, mongomapper, ruby
Frequently, while working with MongoDB and MongoMapper, I run across an implementation of something that blows me away with its beauty. This, my friends, is one of those times. Given: a Users collection where the users’ names are stored in an Array key called name. i.e. :name => ["Patterson", "Matt"]. It can be any length, [...]