Just when you think you are "too old for this shit" (ref. Lethal Weapon), there comes an opportunity that gets you back in action. In my case, it was Rails Rumble!! When I told my folks at home - "I'm going to be a 19 year old again and do a 48 hour coding stint" … Continue reading Ramblings on RailsRumble
Category: Ruby on Rails
How To Manage Roles & Permissions Dynamically Using Cancan
Most of us already use cancan for authorization, where we define the Role Based Access (RBAC) to various models in the Ability class. However, any changes to these abilities, requires code changes to the Ability class and restarting the application for the changes to take effect. What if we could assign these permissions dynamically? That … Continue reading How To Manage Roles & Permissions Dynamically Using Cancan
Steps Of Migrating The Legacy Database To New Heroku Postgress 9.1
Recently Heroku released new version of postgres 9.1 with new price plans. A notice was send to all users to migrate from there existing share database to new planes released with Postgres 9.1. In these new plans concept of limit on using free shared database is changed from db size (5 MB) to limit on … Continue reading Steps Of Migrating The Legacy Database To New Heroku Postgress 9.1
