Wednesday, October 29, 2008

Using HTTPS in RESTful authentication Rails 2.1.1

If you get the error message:

ActionController::UnknownAction (No action responded to show):

In the sessions controller make sure you have :

ssl_required :new, :create

This will now enable https when someone logins in to the site. All other details can be easily found via Google.

Monday, October 27, 2008

Tagging in Rails 2.1

I had to migrate from Acts As Taggable on Steroids to Acts As Taggable On plugin to get tagging working Rails 2.1.

One migration issue is that context column that is added by this plugin will be null for old data. It must be set to 'tags' for listing tags for a given model. This will make #tag_list display all the tags for that particular model.

Wednesday, October 01, 2008

Dream Machine

I got my Mac Pro 3.2 GHz 2 processor quad core with 16 GB RAM and RAID enabled 15000 rpm SAS drive on oct 29. I am experimenting with 3 monitor setup, two 30 inch Apple Cinema displays and one Samsung 22 inch display.

Let's see how much productivity I can get from this new setup. Only gripe is the hissing noise of the fan. I don't know if it has to do with the SAS drive. I will post my setup photo on rubyplus.org soon.