Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

Standup 06/06/2007

Interesting Things

  • Rails gotcha: if you want to use a column in the database to order your records, don’t name that column “order”. Plus, you can get this functionality almost for free by using acts_as_list, which uses a column named “position.”
  • If you are referencing RFC 822 “Internet Message Format” to do such things as validating the format of an email address, that RFC has been replaced with RFC 2822. The most notable change is that addresses are not valid if they do not specify the top level domain (.com, .net, etc.). Example:
    • joe@pivotallabs — Not valid
    • — valid

We had to update validates_as_email to support this. We’ll submit a patch.

  • Oh yeah… xpath is 1-based, not 0-based. That gets us every time.

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *