Archive for the ‘activerecord’ Category

Funding your startup by consulting on the side

May 26th, 2009 by Prateek Dayal 11

I was part of the panel discssion at the  xtremestartups event on Sunday and one of the topics we discussed was funding a startup by consulting on the side. I strongly believe in two things – bootstrapping and working full-time on one’s startup – but there are real costs involved in starting up that one [...]

Popularity: 29% [?]

Google Developer Day October 2008 Bangalore

October 18th, 2008 by Prateek Dayal 0

Today was google’s first developer day in India at Chancery Pavilion, Bangalore. I had registered a couple of weeks back and could get into the otherwise sold out event. Here is a brief of the event.
Keynote
The keynote by Dr. Prasad talked about how google’s mission is about improving the Client, Cloud and Connectivity. There were [...]

Popularity: 11% [?]

Hosting Review : VpsFarm.com

May 13th, 2008 by Prateek Dayal 12

I had written sometime back about why shared hosting is bad for your startup and recommended VPS hosting for any serious web venture. Today, as promised in that post, I am writing a review of VPSFarm.com. VPSFarm is based out of US and while researching for VPS provieders, I found them to be pretty good. [...]

Popularity: 12% [?]

Rails : Accessing session data in models

October 25th, 2007 by Prateek Dayal 0

MVC architecture is good for keeping your design neat but once in a while you hit a road block and this is one such situtation. If you want to log actions/events in your code and track changes to models, you would want to do that in the activerecord callback hooks like after_save and before_destroy. [...]

Popularity: 9% [?]

Ruby on rails learning curve!

August 23rd, 2007 by Prateek Dayal 3

The post should be called my ruby on rails learning curve. I just wanted to write about what it was for a person like me to learn ruby on rails and get productive in it and make something like Muziboo.com
I was introduced to rails by a cousin of mine when I was trying to decide [...]

Popularity: 13% [?]

counter_cache gotcha in activerecord!

August 19th, 2007 by Prateek Dayal 2

If you are using counter_cache, you must watch out for this one. I am not sure if this has been fixed in the recent version, but the version that I am using (1.15.3) has the issue
If you are using counter_cache (such as in acts_as_commentable as described here), you must make sure that after updating the [...]

Popularity: 7% [?]

Active record validation with mongrel_upload_progress

August 19th, 2007 by Prateek Dayal 0

The active record validation is finally working with mongrel_upload_progress … yayee. To read more about what the issue was, follow this post
I will try to explain my setup and then the solution to the problem
I am trying to watch /song/upload with mongrel_upload_progress plugin. Inside /song/upload, I save the song if the validation passes (such as [...]

Popularity: 8% [?]