Archive for March, 2008

OpenID Rules

Monday, March 31st, 2008

I just created an OpenID account with myopenid.com. Here’s me: jesse.jessecrouch.com. It lets you easily add your own domain to create an id based on it. All you have to do is add a CNAME entry to your DNS. This is absolutely awesome if you already identify yourself with your domain […]

TYWYK Launched!

Friday, March 28th, 2008

Things you wish you knew (TYWYK) has been launched!
This is a project I’ve been putting together in the past couple months. The idea comes from reading blog posts that often start off “Things I wish I knew when/before”. I feel there is a lot of advice out there that just doesn’t come out […]

Custom validation with rails: words with more than 26 characters

Friday, March 21st, 2008

This validation goes through and validates each individual word in your string. This goes in whatever model you’re validating. “Subject” can be any of the symbols in your model and doesn’t need the : in front of it.

def validate
if subject.split.any?{|w| w.length > 26}
errors.add(:subject, “cannot have words more than 26 consecutive characters”)
end
end

Custom errors on validations for Rails

Wednesday, March 12th, 2008

The default Rails way of doing validate error messages is sort of silly. It works, but it doesn’t work that well. You can iterate through all the error messages in a very constrained way (error_messages_for) or you can display errors on fields one by one (error_message_on). I kind of want functionality from […]

SXSW Impressions

Saturday, March 8th, 2008

I’m writing directly from South By Southwest (SXSW). What an amazing conference. I’ve never been so blown away by the people I meet and the presentations I see. I don’t know what else to say right now other than you should come if you’ve never been.

a changed jessecrouch (dot com)

Sunday, March 2nd, 2008

In recent days I have been making some major content changes to jessecrouch.com. The focus is now more on my skillset and not so much my past (and severely outdated) projects.