Archive for the ‘Rails’ Category

Apache Virtual Hosts, Rails, Rack, Passenger on Local Net

March 12th, 2009 | Posted by Karl | 2 Comments
This one has been bugging me for a couple of years and I just didn’t want to put in the time and testing to nail it down. But tonight was ...

Authlogic – Rails Authentication Done Right

November 20th, 2008 | Posted by Karl | 10 Comments
Sorry to borrow the title line directly from Ben’s site, but Authlogic is the authentication system I have been looking for. Bye, bye restful authentication. Hello easy, simple, get out ...

Butt Biter: Rails ‘truncate’ Method Broken in Ruby 1.8.7

September 2nd, 2008 | Posted by Karl | 3 Comments
This one threw me for far too many minutes. In ActionView::Helpers::TextHelper the truncate method is broken for Ruby 1.8.7. I’m not exactly sure the version of ruby that it stopped working ...

Ruby on Rails Ubuntu Server VM with VMPlayer

July 30th, 2008 | Posted by Karl | 4 Comments
I had to setup a Ubuntu (8.04) Server virtual machine and get Rails up-to-speed on it this morning, so I thought I would document my steps for those who find ...

[UPDATE] Capistrano Deploy for Shared Hosting with GIT Repository

May 28th, 2008 | Posted by Karl | 5 Comments
Like I said in my original post Capistrano Deploy for Shared Hosting with GIT Repository, I would add the ability to rotate log files and backup your database. Also added a ...

Butt Biter: Fix State Abbreviations && Large Data Set Updates

May 13th, 2008 | Posted by Karl | 4 Comments
Ran into a little butt biter today… I imported a few thousand addresses that had the state in long form, like ‘Arizona’. But I commonly used the us_states plugin for ...

Capistrano Deploy for Shared Hosting with GIT Repository

April 30th, 2008 | Posted by Karl | 5 Comments
Would you like to deploy your Rails apps on a shared hosting account via Capistrano? I keep a couple of small projects on A Small Orange and since I update ...