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.

Sam Oliver's latest activity

Tuesday, August 24 2010
2561 Weird years list when year not selected was updated in Ruby on Rails
Sunday, August 23 2009
2561 Weird years list when year not selected was updated in Ruby on Rails
  • Sam Oliver
    • Tag changed from date_select, year to date_select, patch, year
    by Sam Oliver at 10:00 PM

    This patch includes tests that demonstrate this incorrect month assignment bug and some extra tests for missing attributes with datetimes in multiparameter attr...

Saturday, July 25 2009
2946 quoted_date converts time objects to default_timezone was updated in Ruby on Rails
  • Sam Oliver
    Sam Oliver commented at 11:49 AM

    I'm also fighting with this.

    Agree with Tekin, we should just wait for the clocks to go forward and all will be well again.

Sunday, April 26 2009
2561 Weird years list when year not selected was updated in Ruby on Rails
  • Sam Oliver
    Sam Oliver commented at 5:16 PM

    This is happening because a ruby Date object is being happily created with a missing attribute.

    For example:

    
    User.new("date_of_birth(1i)"=>"", "date_of_birth...
Thursday, February 12 2009
561 Date select helpers should have a :prompt option was updated in Ruby on Rails
Friday, January 09 2009
561 Date select helpers should have a :prompt option was updated in Ruby on Rails
  • Sam Oliver
    Sam Oliver commented at 11:26 AM

    Could this ticket be re-opened as it's not quite working in edge (see my last patch)?

  • Sam Oliver
    Sam Oliver commented at 11:20 AM

    This is a good point but I think that it might be taking it a bit too far. You can always create your own helper to get absolute control. The :prompt option is ...

Friday, January 02 2009
561 Date select helpers should have a :prompt option was updated in Ruby on Rails
  • Sam Oliver
    Sam Oliver commented at 3:40 PM

    This new patch applies the suggested change from Martijn and updates the tests to cover this issue.

Monday, December 22 2008
561 Date select helpers should have a :prompt option was updated in Ruby on Rails
  • Sam Oliver
    Sam Oliver commented at 3:02 PM

    New patch which includes tests for I18n

  • Sam Oliver
    Sam Oliver commented at 11:49 AM

    This new patch uses I18n for the text in the default prompts and can be cleanly applied to edge.