Testing Rails with Rack::Test
The biggest news in Rails 2.3 is its support for Rack, the WSGI inspired Ruby web server interface. Of all the Rack goodness that has come along lately, the one that has me the most excited is Bryan Helmkamp’s Rack::Test library, of which Bryan said “Basically, I extracted Merb’s request helper code into a small, reusable, framework agnostic library.”
Read more: Using Rack::Test with Rails
Installing the pg PostgreSQL gem on Mac
You can connect to a PostgreSQL database from Ruby using the pg gem, but if the pg_config program isn’t in your path you’ll run into problems during installation.
This article is mainly here to provide some Google juice for those who hit the same problem…
Companies House Rewired
A few of us just knocked up a great little site at Rewired State. Check out Companies Open House (a collaboration between @delineator, @jamespjh, @metade, @martinbtt and myself). We won a prize. Hurray!
Deploying Merb with Vlad
You’ve built your Merb app, and you want to get it running on your web server. You could use Capistrano, but if you prefer the simple things in life you might find that Vlad is a better fit.
Deploying Sinatra with Vlad
So you’ve just written a nice new Sinatra application, and you want to get it running on your web server. How hard can it be? Well with Vlad the Deployer, it’s actually rather easy.
Read about how to roll out Sinatra
Sharing CSS between Rails and PHP
Many web sites are built using a variety of web applications, using different web frameworks. These sub sites share the same branding and ought to re-use the same CSS and images. How do you re-use these files within your Rails application, without the maintenance overhead of copying and pasting the code into each new application?
Find out how to share CSS between applications
Ruby Lightning Talks
Tonight’s LRUG meeting consisted of 8 quick 20x20 format presentations (20 slides, 20 seconds per slide) on a range of Ruby related topics. The speakers covered packaging gems for Debian, sending IM messages with XMPP, a quick intro to ruby-debug, RubyGame, smoke testing, Twitter bots and statistics in Ruby via the power of R.
Notes from the Ruby Manor (part 2)
So this is Ruby Manor part 2. After the Ruby Manor morning session we had a tasty pub lunch, rocked up a little late, and settled down to an interesting afternoon of Ruby talks…
Again, the errors and omissions are mine.