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