(we also have a mirror on github http://github.com/patcito/shapado)
(we also have a mirror on github http://github.com/patcito/shapado)
Of course, the question is: did you build it in a weekend? ;)
edit: thanks by the way :)
There are also some SE sites desperately trying to change the language through javascript-based rewriting (since SE is not localisable) - shapado could help them a lot.
def viewed!
self.collection.update({:_id => self._id}, {:$inc => {:views_count => 1}}, :upsert => true)
end
Not sure why it's an upsert, but there's your answer -- atomic increment.Seriously though, I do think there's a correlation between how somebody believes something should look and what framework they choose, even if only subconsciously, and even if only rarely, that gives the impression that Rails apps look a certain way.
That said, there are defaults on the template generation of each, but the Django defaults are only for the 'Welcome' page, and it doesn't scaffold templates, and I agree that the Rails-scaffolded templates (that a lot of designers probably just extend, vs. replacing altogether) look better than a lot of pages in general.