This project is archived and is in readonly mode.
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
-
Xavier Noria March 1st, 2009 @ 11:23 PM
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.
-
CancelProfileIsBroken March 4th, 2009 @ 10:43 PM
- Assigned user set to Pratik
- State changed from new to resolved
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>