Apr 06, 2010 @ 11:09 am

You want a RESTful Rails app with a backend administration? The worst thing to do in my opinion is to use the same controllers for the public and the admin side. At first, it might look wise to do this. I mean, if you have a “books” resource, it would be logical that all methods [...]

Posted under : short & sweet
Mar 29, 2010 @ 10:26 am

The situation
You want to type “cap deploy” without having to enter your ssh password every time
The background
You have configured your server to allow public key authentications over ssh and have given the proper permissions to the resulting files & folders (how to do this). Oh and the repository as well as your application is located [...]

Posted under : In depth
Mar 23, 2010 @ 12:10 pm

What if you want to generate reasonably short alphanumeric user activation codes without having to store anything in a DB (so in this case generating random user codes won’t do) ? Why would someone need this? Think about an application where you want to print activation cards and sell them to your customers. The customer [...]

Posted under : short & sweet