Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Unnecessary documention joke

#2107

In the rdocs to validates_inclusion_of there is this example:

validates_inclusion_of :gender, :in => %w( m f ), :message => "woah! what are you then!??!!"

I know it is not a big deal, but to me this does not feel too modern. In my mind Ruby and Rails stand for all that is good in this world (almost ;-) and this IMHO does not belong in the formal docs. The example might be a valid one since most systems only allow m/f but the message is a bit too much.

Reported by Erik Lindblad · March 1st, 2009 @ 05:57 PM

State: resolved
Milestone: 2.x
Assigned to: Pratik Pratik
Importance: none

Activity

  1. Xavier Noria
    Xavier Noria

    Erik, do you have an account in github? If you do you can ask Pratik for commit rights in docrails and change that yourself.

    Otherwise I would do it, whatever you prefer.

    March 1st, 2009 @ 11:23 PM

  2. Xavier Noria
  3. CancelProfileIsBroken
    CancelProfileIsBroken
    • Assigned user set to Pratik
    • State changed from new to resolved

    March 4th, 2009 @ 10:43 PM