Pg 260 :integer_only should be reversed
Reported by Brian Artiaco | July 9th, 2008 @ 01:18 PM | in Second Edition
Near the bottom of page 260, where there is a paragraph discussing 'validates_numericality_of', there are two references to the :integer_only being an option that can be passed.
The correct option is :only_integer. (had to dig into the validation code to find the answer when it failed for me)
It is used two times. Once in the second sentence of the paragraph that describes 'validates_numericality_of' and in the code example below that paragraph.
Comments and changes to this ticket
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
