The Spring Loaded theme wasn’t rending properly when I wasn’t logged in, which means it looked terrible to viewers, so I’ve switched again.
MongoMapper 0.7.0: ids created on new()
Published February 12, 2010 programming Leave a CommentTags: forms, mongodb, mongomapper, rails
I upgraded to MongoMapper 0.7.0 the other day and found that an XHR form was no longer working. It turns out that as of this version, MM now generates an id on new(). I think this is a great idea (think about building associations–you don’t need to save first with pregenerated ids), but when used with form_for() the generated form id is no longer new_model, but model_<id>. Because the MM object responds to new_record? (alias of new?), form_for() handles the rest of this correctly. If you want to keep the new_record style id in the form, you can manually set :id on the form, or you can just set the id on the object to nil: YourModel.new(:id => nil).
3 Unix commands for finding performance problems – Effectif Development
Published January 13, 2010 Uncategorized Leave a CommentTags: unix performance
Tim Bray: Doing it Wrong
Published January 6, 2010 Uncategorized Leave a CommentTags: web programming applications cloud
Tim Bray on Doing It Wrong.
Vineet Gupta: NoSql Databases Part 1 – Landscape
Published January 5, 2010 programming Leave a CommentTags: nosql database
Tim Bray on Personal Branding
Published December 30, 2009 Uncategorized Leave a CommentTags: blogs blogging branding
2009 Open Source Top Ten
Published December 18, 2009 programming Leave a CommentTags: open-source software
From Maddox: 2009 Open Source Top Ten
You must be logged in to post a comment.