Tuesday, November 11th, 2008
When writing tests, it is often desirable to bend time to test limits and edges of the day. It is especially useful to warp time to test results across the timezones of the world. Manipulating time is also useful to assure a day of the week, month or year every time the test [...]
Thursday, October 16th, 2008
Rails apps love flash messages. Little notes providing information, confirmation or warnings to the user. Typically implemented in a partial like so:
<% if flash[:warning] -%>
<div id=‘warning’><%= flash[:warning] -%></div>
<% end -%>
<% if flash[:notice] -%>
<div id=‘notice’><%= flash[:notice] -%></div>
<% end -%>
There are many cases where the message does not need to stick around for [...]
Friday, August 29th, 2008
I am all registered for Windy City Rails, taking place in Chicago on September 20th. Looking forward to a shorter conference, along with an interesting drive with fellow Minnesota Rubyists. Come join us - only $99!
Thursday, August 21st, 2008
Four years baby. Soon the blog will be toting a lunch pail and school bag, off to decades of education. Next thing I know, my little baby will be married and have little blogs of its own. Blog, you grow up so fast!
Top visited blog posts written in the past year:
Rails auto [...]
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 [...]
Photo by Peter Hellberg
This weekend I attended RailsConf. This was my first multi-day conference. It was a great experience that I’m sure to repeat over the coming years. Met a lot of great Rails developers, working on interesting and disparate projects. Met a good number of Harvest [...]
Wednesday, May 28th, 2008
Just wanted to drop a note in my blog, here, that I will be attending RailsConf from Friday through Sunday. If any lurkers out there are gonna be in attendance, do drop me a note. Let’s meet each other!
If you want to stay up-to-date on any Barry-meets-RailsConf information, please check me out on Twitter.
Technorati [...]