Category Archives: developer tools

rails-authorization-plugin first impressions

I started using the rails-authorization-plugin last week. It is a really awesome and flexible plugin. I don’t have much to say about it yet. But there is one thing that I find confusing: In order to set a role for a user, you can do it like this: user.is_admin_for(group) To check if a user has a role, you can [...]
Also posted in web programming | Tagged , , , , | Leave a comment

migrating from SQLite to PostgreSQL via Heroku

I had been using SQLite in my development environment, and PostgreSQL in the beta environment for one of my projects, until today. I decided to change to PostgreSQL. I think it's a good (and almost essential) practice to use the same tools/libraries on development, beta and production.
Also posted in web programming | Tagged , , , | Leave a comment

how to migrate a database from SQLite to MySQL

I had to migrate a database from SQLite to MySQL for a project.
Also posted in open source | Tagged , , | Leave a comment