2010-03-29 00:00:00 +0000

Close to perfection

2010-03-29 00:00:00 +0000


Working on making the site more app-like. In doing so, found the Prototype.js-based library, LivePipe. The documentation is poor, but what little I’ve seen, I like.

2010-03-28 00:00:00 +0000

Put a basic teaser page up

2010-03-28 00:00:00 +0000

Blogging system mostly in place

Title pretty much says it all.

2010-03-27 00:00:00 +0000

Battling autotest

Looking for a reason that autotest is skipping some of my test files….

2010-03-26 00:00:00 +0000

Rack::Test and request / response objects

Rack::Test uses last_response and last_request objects instead of Rack’s typical request and response objects. This is probably normally fine, but when you are testing functionality that requires accessing the Rack’s normal objects, they aren’t there. I found (in the comments section of this post) that you can fix this by overriding them in your test_helper.rb:

2010-03-25 00:00:00 +0000

When tests are acting strange and you can't figure out what's wrong...

Check that you didn’t copy / paste / didn’t change the test class definition line.

2010-03-24 00:00:00 +0000

Including common routines in test_helper.rb

I should have done this earlier. To do a number of tests, I have to repeat the same actions like create a user, log a user in, etc. I was putting these actions at the top of each test file, but have wised up and moved them to the test_helper.rb file. Here’s how that looks now:

2010-03-22 00:00:00 +0000

AWS S3 using AWS/S3 Ruby gem

working on storing files to Amazon’s S3 web service. Here’s what I’ve come up with so far:

2010-03-21 00:00:00 +0000

Broken chain...

Well, I’ve been working on this thing, but have not making the kind of progress I would like. I blame this on a few things, but mainly we’ve been social (which isn’t really a bad thing)…