activerecord
Hosting Review : VpsFarm.com
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: 35% [?]
Rails : Accessing session data in models
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. However […]
Popularity: 17% [?]
Ruby on rails learning curve!
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: 21% [?]
counter_cache gotcha in activerecord!
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: 11% [?]
Active record validation with mongrel_upload_progress
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: 14% [?]
