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.

Josh Kalderimis's latest activity

Tuesday, March 15 2011
6581 Date column bug was updated in Ruby on Rails
  • Josh Kalderimis
    • State changed from new to invalid
    • Importance changed from to Low
    by Josh Kalderimis at 12:53 PM

    Hi Releu,

    The difference between Time.now and Date.current is that Time.now has a higher precision.

    When you create a Download using Time.now it is cast to a Da...

6573 TimeWithZone should not accept unrecognized time zones was updated in Ruby on Rails
  • Josh Kalderimis
    • Tag changed from activesupport, bug, timewithzone to activesupport
    • State changed from new to open
    • Importance changed from to Low
    by Josh Kalderimis at 11:05 AM

    Hi Marc-André,

    I agree with this. Are you able to whip up a patch with tests?

    Thanks,

    Josh

Thursday, March 10 2011
6554 round with precission should be available to all Numeric objects was updated in Ruby on Rails
  • Josh Kalderimis
    • Assigned user set to Josh Kalderimis
    • Importance changed from to Low
    by Josh Kalderimis at 10:54 AM

    Hi Wojciech,

    I think this patch has merit. The first step is to create some failing test cases, and then to take a stab at some code.

    Have a look at the present...

Tuesday, March 08 2011
6259 validate_presence_of does not work with :allow_nil => true was updated in Ruby on Rails
  • Josh Kalderimis
    Josh Kalderimis commented at 9:59 PM

    After talking to José and Santaigo, the agreed solution is to update the docs accordingly and note that :allow_blank and :allow_nil do not work with the presenc...

  • Josh Kalderimis
    Josh Kalderimis commented at 11:49 AM

    hmmmmmmmm, this make it seem like a bug to me.

    Personally I would like the presence validator to respect allow_nil, otherwise a warning is the very very least i...

  • Josh Kalderimis
    Josh Kalderimis commented at 11:28 AM

    Also, I think a warning would help new users as using the presence validator with allow_nil does seem logical to a certain degree.

  • Josh Kalderimis
    • Tag changed from :allow_nil, documentation, presencevalidator, validate_presence_of to documentation, validate_presence_of
    by Josh Kalderimis at 11:14 AM

    +1 on firing a warning if using :allow_nil or :allow_blank with the presence validator + some documentation to to guides and presence validator about using leng...

Friday, March 04 2011
5901 suppress the generation of the authenticity_token div was updated in Ruby on Rails
  • Josh Kalderimis
    Josh Kalderimis commented at 1:29 PM

    @Lars, I would suggest you take Kozs advice on board and instead go down the custom form builder road. Maybe after this has been added we can look into the Rail...

Wednesday, March 02 2011
6158 #count on decimal column returns BigDecimal was updated in Ruby on Rails
  • Josh Kalderimis
    Josh Kalderimis commented at 3:37 PM

    @Karle: As this is not a security issue it will not be applied to 2.3.x branch.

    @Jarrett: I just wanted to check, have you confirmed if this is an issue on 3-0-...

Tuesday, March 01 2011
5901 suppress the generation of the authenticity_token div was updated in Ruby on Rails
  • Josh Kalderimis
    Josh Kalderimis commented at 5:45 PM

    @cake_joe : I am not saying that the ticket doesn't have some merit, but there are lots of use cases not taken into account before this could be a cohesive chan...