Photo by Terry Bain
Post/Redirect/Get (PRG) is a web application design pattern used to supply users with nice, GET-generated results pages that bookmark and reload with ease.
Say you have a results page with a filtering form at the top. The user might alter filtering options, and submit a form [...]
Photo by JBAT
In the past few months, as a result of my clumsiness, I’ve been working on a new, Leopard-enabled MacBook. When replacing my wet and dying Tiger MacBook of yore, my one hope was that my daily executions of rake to test Harvest would execute a little [...]
Do you run a Rails website that allows traditional username/email/password login and OpenID authentication? Do you know for sure that your “remember me” feature is working? Please do check…I’ll wait…
Good, now that you realize your “remember me” feature is not working for the OpenID login on your site, I’ll show you an easy way [...]
Over the past few weeks, in spare moments, I put together a little Twitter bot which allows the service to blow off some steam. Ventorium works pretty simply. Follow “ventorium” on Twitter. Send @ventorium a message. See what spews forth from ventorium’s maw.
I must keep the secret to how ventorium writes [...]
Ryan Bates, of the excellent Railscasts, is running a contest to generate a bevy of Rails tips on the web. (And look, Harvest is part of the grand prize package. W00T!)
Here’s my contribution:
Handy test helper to check your layout:
Do you have any layout variability served up in your controllers? Maybe you’re doing [...]
Tuesday, April 22nd, 2008
Over the past year I have entered into a new world of working from home as part of a “virtual team.” This team situation carries with it most of the issues of a typical team as well as its own, unique hurdles. Working in a home office adds even more particulars.
In less than [...]
Photo by rachel is …
Right now at Harvest we are baking a few pans of Twitter integration. We’re not sure if they’ll turn out moist and delicious, but hopefully they stop short of dry and forgettable. It’s been a fun, and somewhat frustrating, process getting this feature [...]
Saturday, March 29th, 2008
As I’ve started to play around here and there with ActiveResource, I’ve noticed lots of complaints about how ActiveResource’s implementation of HTTP basic auth leaves a lot to be desired. Specifically with regard to its lack of support for email addresses as usernames. This won’t work:
class Expense < ActiveResource::Base
self.site = "https://barry@bjhess.com:password@website.com"
end
Turns out [...]
Photo by LeChatMachine
My relationship with Subversion is an ever growing one. Right now it is growing itself straight into git. I’m not sure how happy Subversion is with me. It’s complicated.
But it is nowhere near as complex as my process for committing a Rails upgrade to [...]
Thursday, February 28th, 2008
Photo by Chambo25
Are you a programmer? Do you hate any process that involves SSH’ing into a server and editing files directly in production? Would you like to get rid of this non-source controlled hackery? Damn right you would!
If you’re deploying an application to a server, get [...]