After switching from Wordpress to the Jekyll static site generator, I put together a short presentation on Jekyll to share with the Phoenix Ruby community. The slides cover some of the basics of what Jekyll is, the features it provides and a few gotchas we found along the way.
Read the rest of this entry »
Posted December 21st, 2011 at 4:44 pm in Programming | No Comments
I noticed recently that I haven’t checked my RSS reader in some time, but I also feel like I’ve been reading a lot of articles. Not only that, but I’ve been reading articles that are interesting and relevant to me. How is that possible?
Then it dawned on me, the majority of articles I read and share are found through Twitter. Does Twitter accomplish all of the same features as my old RSS reader?
Read the rest of this entry »
Posted October 31st, 2010 at 4:25 pm in Random | 10 Comments
In an effort to promote and foster entrepreneurship in Phoenix, the OpenCoffee Club now has it’s own website that will enable the community to share information, ask questions and keep up on the latest news and events.
Read the rest of this entry »
Posted September 1st, 2010 at 5:43 pm in Startups | 3 Comments
Arizona’s first Ruby conference is happening soon. There’s a great group of speakers as well as lightning talks and hacking. If you’re interested in Ruby, this is a conference you won’t want to miss!
Read the rest of this entry »
Posted August 19th, 2010 at 4:45 pm in Ruby on Rails | No Comments
I have to believe that the developers behind Internet Explorer have good intentions. It might ruin my world view and trust in people if that turned out to not be the case. However, there are instances where they go too far.
In this case, Internet Explorer tries to be “helpful” by automatically setting the link text when you set the href attribute of an anchor tag. I present the details of when this will happen and how you can get around it.
Read the rest of this entry »
Posted June 17th, 2010 at 10:30 am in Programming | 1 Comment
When developing for the web, if there is one browser that will not look correct, it is almost guaranteed to be a version of IE.
This was the case when I recently encountered elements that appeared to have a fixed position when they were not styled in that way. The problem was only visible on IE7 and, as I discovered, was a known bug in IE since version 6.
This article describes two different solutions to this problem.
Read the rest of this entry »
Posted June 14th, 2010 at 9:30 am in Programming | 4 Comments
Honeypot captchas are a simple, unobtrusive way to try to combat automated form spam. I packaged some work I did a few years ago using this technique in Ruby on Rails forms and created a gem.
Read the rest of this entry »
Posted April 12th, 2010 at 4:10 pm in Ruby on Rails | 8 Comments
Sometimes, Rails queries can get long and complicated. Using named bind variables is an easy way to give some context to the query and, when you need to supply the same value to multiple query conditions, can shorten the query parameters.
Read the rest of this entry »
Posted October 1st, 2009 at 9:30 am in Ruby on Rails | No Comments
Cucumber has a relatively new feature that allows you to tag individual scenarios as “should pass” versus “work-in-progress”. Rake tasks are provided that run the two groups of tagged scenarios separately.
Read the rest of this entry »
Posted September 30th, 2009 at 9:30 am in Ruby on Rails | No Comments
The Ruby on Rails built-in inflections don’t handle singularizing words like “business” or “address” correctly. Here’s a quick way to make sure it’s handled in your Rails project.
Read the rest of this entry »
Posted September 29th, 2009 at 9:30 am in Ruby on Rails | 1 Comment