K.R.C. LogoThe Book of Kara

Teasing the Rails Inflector

Published 10 April 2007

Hi! You've stumbled upon a blog post by a guy named Ryan. I'm not that guy anymore, but I've left his posts around because cool URIs don't change and to remind me how much I've learned and grown over time.

Ryan was a well-meaning but naïve and priviledged person. His views don't necessarily represent the views of anyone.

I must be getting buggy-eyed from all of the finals, but this is funny to me today.

Rails is like an egg-headed friend: so smart that when he messes something up you have to take the piss as payback for all the times he made you feel simple.

ryan$ script/generate model criterioncreate  db/migrate/004_create_criterions.rb

And even more silly:

Class Medium < ActiveRecord::Base
  belongs_to :psychic_hotline
end
Class PsychicHotline < ActiveRecord::Base
  has_many :media # NOOOOOOOO!!!!
end

Power as many web sites as you want—I understand homonyms.

At least I crack myself up.

K.R.C. LogoPrevious: Unwise PurchasesNext: Your Mac is watching you