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.
February 29, 2008
lesson learned…
2 Comments »
RSS feed for comments on this post.
| TrackBack URI
You can also bookmark
this on del.icio.us or check the cosmos
What happens when you do?
Comment by Davy — March 3, 2008 @ 2:56 pm
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