This project is archived and is in readonly mode.

#2107 ✓resolved
Erik Lindblad

Unnecessary documention joke

Reported by Erik Lindblad | March 1st, 2009 @ 05:57 PM | in 2.x

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.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages