Archive for the 'Ruby on Rails' Category

My 2 Cents On Web Hosting

July 18th, 2008

People regularly ask me where to host their websites. This is pretty much what I tell everybody.
RackSpace Is The Best

Unless You Don’t Want To Pay For Managed Hosting Or You Want Ruby on Rails Support
An entry level server at RackSpace will cost you about $500/month. If you can afford a managed, dedicated server, and your […]

How To Implement A Ruby on Rails style before_filter With The PHP Zend Framework

January 30th, 2008

I often use this when implementing a simple login screen for a password protected section of my application. In a Zend Framework application you can implement a preDispatch() function in a Zend_Controller_Action which will run before an action is dispatched. This lets you setup your filter to check to see if the visitor is logged […]

How To Remove External Repositories From Subversion

January 8th, 2008

I was trying out a plugin in my Ruby on Rails application and decided not to use it. Apparently, when I installed the plugin, a reference to it was added to my subversion repository. Since the reference was not to a working directory, my capistrano deployments got debackled and died. Here is how you can […]

PHP vs Ruby - Practical Language Differences

August 20th, 2007

I have been developing PHP applications professionally for over 7 years. About a year ago, I decided to try developing some Ruby on Rails applications. My main Ruby on Rails projects have included an e-commerce site QuietHeadphones.com and an online application for synchronizing medical records with USB thumb drives. Of course, I have also worked […]

Setting Up Subversion And Apache for Ruby on Rails Development

July 20th, 2007

I’ve been asked several times how I have my Ruby on Rails development environment set up. The most frequently misunderstood aspect of a Rails development environment is that you do not have to have your Subversion repository physically located on the same server as your deployed application. The only requirement is that all the pieces […]

Ruby on Rails + SSL + ISPConfig + Apache 2.0 + Mongrel

June 13th, 2007

If you are using ISPConfig to manage the virtual hosts on your web server, you will notice that there is no way to separate SSL vs non-SSL Apache directives using the standard web interface. This is a problem if you are writing Ruby on Rails applications and proxying requests through Apache to a Mongrel cluster […]