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.

There was a problem

You must be a member of this account.

Rodrigo Navarro's latest activity

Saturday, April 24 2010
4406 numericality validation gives misleading error message when only_integer is used was updated in Ruby on Rails
  • Rodrigo Navarro
    Rodrigo Navarro commented at 10:05 PM

    Well that was almost like my first approach too, but I decided to keep the checks separated, I feel that it is easily to read and understand, but that is just m...

  • Rodrigo Navarro
    Rodrigo Navarro commented at 7:28 PM

    This one is for 2.3.x. Checking for the integer with the regex and not with the hardcoded dot and with refactored tests.

  • Rodrigo Navarro
    Rodrigo Navarro commented at 6:22 PM

    Sorry Scott, my bad. Probably some weird formating issues. This one applies successfully.

  • Rodrigo Navarro
    Rodrigo Navarro commented at 4:29 PM

    Jsmith

    Exactly, at least the rails 3 version of the patch, it first tries to convert the string using Kernel.Float and only if that test pass we check if it is ...

  • Rodrigo Navarro
    Rodrigo Navarro commented at 2:51 AM

    Fixing some typos, sorry, use this one instead.

1 earlier change…
  • Rodrigo Navarro
    • Tag changed from patch to rails3 validations, patch
    by Rodrigo Navarro at 2:35 AM

    Rails 3 ActiveModel has the same problem. I don't know if I should open another ticket or post the patch here. Anyways, here is the patch for rails 3.

Friday, April 16 2010
1152 Support for nested has_many :through associations was updated in Ruby on Rails
  • Rodrigo Navarro
    Rodrigo Navarro commented at 1:42 AM

    Marcos A Piccinini,

    Unfortunately, it is not working on Rails 3 too.