Archive for February, 2008

Moving to Drivel

Posted in blogging on February 28th, 2008 by Prateek Dayal – Be the first to comment

I have mostly found blogging to be tough as I have to login to my blog and then add a post .. a number of clicks and quite a few page loads

I today installed Drivel on ubuntu and this is my first blog post using it

If everything goes as planned, I plan to blog a lot more .. mostly about Ruby on Rails and thoughts on starting up .. things that I come across during my Muziboo Journey

Popularity: 4% [?]

Move to Rails 2.0.2

Posted in counter_cache, rubyonrails on February 23rd, 2008 by Prateek Dayal – 3 Comments

I finally moved Muziboo to rails 2.0.2 this weekend. The move went pretty smooth. The only gotcha for me was that counters used with conter_cache  are marked as readonly in rails 2.0.2 so you cannot use update_attributes to update them (in a migration or otherwise)

The trick is to use Class.update_counters class method …

Other than that most of the things you need to know are well documented on the web .. this one took me almost a day to figure out so I am mentioning it on the blog

The move to rails 2.0.2 was motivated by the fact that I see all the new plugins and blog posts talking about rails 2 and so I did not want to miss out on all the new action and possibly other security updates  etc

Popularity: 6% [?]