Category Archives: Ruby on Rails

Acceptance Testing non Ruby web applications with Cucumber

If you’re looking for the sample Standalone Cucumber Test Suite to get you started testing non Ruby based applications with Cucumber, here’s the source: http://github.com/thuss/standalone-cucumber. Sometimes you inherit a non Ruby based web app written in PHP, Perl, Java, C#, … Continue reading

Posted in Continuous Integration, Java, Quality Assurance, Ruby, Ruby on Rails, Testing, Web | 1 Comment

iPhone development the easy way

Update 8/7/2010 PhoneGap apps are still being allowed in the app store! It’s not the right solution for every app (for example we went native with the Common Sense Media app), but I still think PhoneGap is really cool. I’ve … Continue reading

Posted in Ruby on Rails, Software Engineering, Web | Comments Off on iPhone development the easy way

Standalone Migrations: Using Rails migrations in non Rails projects

Update 8/7/2010: Standalone migrations is now a gem (sudo gem install standalone_migrations) so disregard the outdated installation instructions below Update 7/8/2009: With the latest batch of contributed patches standalone migrations now works just like Rails migrations Update 12/26/2008: I switched … Continue reading

Posted in Database, Java, Linux, MySQL, Ruby, Ruby on Rails | 5 Comments

Bay Area Indie Rock Bandega Style

My good friends in the east bay have just debuted their new Ruby on Rails based site Bandega :: never miss a show again! If you’re a San Francisco Bay Area resident that loves indie rock and wants to keep … Continue reading

Posted in Ruby on Rails, Web | Comments Off on Bay Area Indie Rock Bandega Style

Search Engine Friendly URLs with Ruby on Rails

Update 2/5/07: I’ve since discovered five plugins that address this very problem with slightly different approaches (the latter two store a permalink in the table, good for mutable titles): acts_as_sluggable acts_as_urlnameable acts_as_slugable acts_as_friendly_param permalink_fu Obie’s recent post on search engine … Continue reading

Posted in Ruby, Ruby on Rails, Search Engine Optimization, Software Engineering | 3 Comments

Ruby on Rails Dreamhost plugin

Update 2/11/07: Just to clarify, this plugin won’t keep your Rails site running on Dreamhost if the sum of all your running processes exceeds 200MB (which is when their process monitor kills your processes). Run ps aux and sum the … Continue reading

Posted in Ruby, Ruby on Rails, Systems Administration | 15 Comments

Keeping Rails running at Dreamhost Part 2

Update 2/2/07: Per Thomas’ comment I’ve released the code below as the dreamhost rails plugin. Update 1/25/07: People have reported difficulties copy and pasting the dispatch.fcgi source code from this blog post so here is a dispatch.fcgi to download. Make … Continue reading

Posted in Linux, Ruby, Ruby on Rails, Systems Administration, Web | 10 Comments

Switching from Edge Rails to 1.2 stable with Piston

Update 1/25/07: Francois pointed out that now as of Piston 1.3.0 you can now do this all with the following command: piston switch http://dev.rubyonrails.org/svn/rails/tags/rel_1-2-1 vendor/rails For starters, if you’re still using svn:externals to manage your vendor/rails directory it’s time to … Continue reading

Posted in Ruby, Ruby on Rails, Source Control | 1 Comment

Keeping Ruby on Rails running at Dreamhost

Update 1/12/07: This solution has reduced my 500 error rate down to less than 0.2% but it’s still not perfect. I continue to plug away at this… Update 1/24/07: I’ve finally solved my Dreamhost 500 error problems with a different … Continue reading

Posted in Ruby, Ruby on Rails, Systems Administration, Web | 4 Comments

The Rails Way delivers the goods

I had a piece of data import code in Wind and Tides that I just knew could be cleaner and more elegant. Last week I submitted it to Jamis and Michael who write the Rails Way blog and their refactoring … Continue reading

Posted in Ruby, Ruby on Rails, Software Engineering | 2 Comments