Yet Another Rails Newbie

June 19, 2006

Ooh, that’s clever.

Filed under: RubyOnRails — hittingthebuffers @ 10:09 pm

While knocking together a new Rails app earlier I typed script/generate model Binding and expected the usual list of created files and directories. Instead I got this:


Po:~/rails/woms eifs$ script/generate model binding
The name 'Binding' is reserved by Ruby on Rails.
Please choose an alternative and run this generator again.

Suggestions:

Sense 1
binding -- (the capacity to attract and hold something)
=> attraction, attractiveness -- (the quality of arousing interest; being attractive or something that attracts; "her personality held a strange attraction for him")

Sense 2
binding -- (strip sewn over or along an edge for reinforcement or decoration)
=> sewing, stitchery -- (needlework that involves sewing; "she put her sewing back in the basket")

Sense 3
dressing, bandaging, binding -- (the act of applying a bandage)
=> medical care, medical aid -- (professional treatment for illness or injury)

Sense 4
binding, book binding, cover, back -- (the front and back covering of a book; "the book had a leather binding")
=> protective covering, protective cover, protection -- (a covering that is intend to protect from damage or injury; "they had no protection from the fallout"; "wax provided protection for the floors")

1 Comment »

  1. This error message I was getting while debugging today has a similar feel to it:

    RuntimeError: Called id for nil, which would mistakenly be 4 — if you really wanted the id of nil, use object_id

    Sensible advice in error messages, whatever next!

    Comment by macnewbie — June 20, 2006 @ 2:06 pm


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.