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.

Jsmith45's latest activity

Sunday, April 25 2010
4406 numericality validation gives misleading error message when only_integer is used was updated in Ruby on Rails
  • Jsmith45
    Jsmith45 commented at 6:49 PM

    Please not that the patch just committed for Rails 3 gives a "is not a number" error if the input is completely non-numeric such as an input of "xyzzy", and an ...

Saturday, April 24 2010
4406 numericality validation gives misleading error message when only_integer is used was updated in Ruby on Rails
  • Jsmith45
    Jsmith45 commented at 6:09 AM

    Jason, instead of testing for a decimal separator, why not just change the error message that occurs When the regex does not match? That regex is only run when ...

Friday, April 23 2010
4406 numericality validation gives misleading error message when only_integer is used was updated in Ruby on Rails
  • Jsmith45
    • Title changed from numericality validation gives misleading error message only_integer is uses to numericality validation gives misleading error message when only_integer is used
    by Jsmith45 at 5:59 AM
Thursday, April 15 2010
4406 numericality validation gives misleading error message only_integer is uses was created in Ruby on Rails
  • Jsmith45
    Jsmith45 created the ticket at 7:02 PM

    If one uses the only_integer option of the numericality validator the result is an error message that may look like the following:
    "2.5 is not a number". That i...

Monday, April 05 2010
4327 Rails.public_path should be a pathname (includes pseudo-patch) was updated in Ruby on Rails
  • Jsmith45
    Jsmith45 commented at 5:26 PM

    Correct. Would somebody please close as a duplicate?

  • Jsmith45
    Jsmith45 created the ticket at 6:58 AM

    Thanks to rails/railties/lib/rails/engine/configuration.rb we know that Rails.root will always be either nil or a Pathname since application.config.root will al...