10/26/06

(not) Using "text" as table name in RoR

-bash-3.1# ruby script/generate model Text
./script/../config/../config/environment.rb:8: warning: already initialized constant RAILS_GEM_VERSION
The name ‘Text’ is reserved by Ruby on Rails.
Please choose an alternative and run this generator again.
Suggestions:

Sense 1
text, textual matter — (the words of something written; “there were more than a thousand words of text”; “they handed out the printed text of the mayor’s speech”; “he wants to reconstruct the original text”)
=> matter — (written works (especially in books or magazines); “he always took some reading matter with him on the plane”)

WTF?!

10/1/06

interesting line

Life is a sexually-transmitted disease with a 100% fatality rate.