February 29, 2008

lesson learned…

Never ever ever, no matter how much it makes sense semantically, use the word ‘type’ to describe a column in a database table that will be used by Rails.

2 Comments »

  1. What happens when you do?

    Comment by Davy — March 3, 2008 @ 2:56 pm

  2. Ruby spits back arcane error statements that seem to be referring to a piece of code that you wrote, and basically saying that a class can’t be found.

    It would be far better if the underlying software spit back an error “don’t use the word ‘type’ as a column name.

    Comment by jb — March 3, 2008 @ 3:06 pm

RSS feed for comments on this post. | TrackBack URI
You can also bookmark this on del.icio.us or check the cosmos

Leave a comment

XHTML ( You can use these tags): <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .