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.

Aditya Sanghi's latest activity

Wednesday, October 13 2010
4346 time_select not interpreting the multi-parameter correctly was updated in Ruby on Rails
  • Aditya Sanghi
    Aditya Sanghi commented at 3:31 PM

    Awesome Andrea,

    Actually i'd been working on the exactly the same thing as you but abandoned that line as i thought it might not be way to go.

    Anyway, i'm attac...

5792 Fix Documentation of to_formatted_s and give love to seconds was updated in Ruby on Rails
  • Aditya Sanghi
    Aditya Sanghi commented at 7:28 AM

    Ryan there are 2 distinct issues. A documentation bugfix (:time time format) and a small new enhancement (:time_with_seconds code+doc+test changes). The documen...

Tuesday, October 12 2010
5792 Fix Documentation of to_formatted_s and give love to seconds was updated in Ruby on Rails
  • Aditya Sanghi
    Aditya Sanghi commented at 11:40 PM

    Not completely. The patch as documentation as well as a new default time format with tests. So no, it's not completely applied. Git should be able to merge the ...

  • Aditya Sanghi
    • Assigned user changed from Prem Sichanugrist (sikachu) to Xavier Noria
    by Aditya Sanghi at 11:10 PM

    I already patched the documentation in docrails, but we could do with the :time_with_seconds default format in time.

5793 Arel::Visitors#for has bee removed was updated in Ruby on Rails
  • Aditya Sanghi
    • State changed from needs-more-info to invalid
    • Assigned user cleared.
    by Aditya Sanghi at 11:36 PM
5794 using include? on a time range yields unhappy results was updated in Ruby on Rails
  • Aditya Sanghi
    • Assigned user cleared.
    by Aditya Sanghi at 11:34 PM
  • Aditya Sanghi
    • State changed from new to incomplete
    • Milestone set to 3.x
    • Assigned user set to Santiago Pastorino
    • Tag changed from 1.9.2, rails3.0.0, range, time to rails3.0.0, range, time
    by Aditya Sanghi at 11:33 PM

    I confirm that this indeed is a problem on 1.9.2.

    @eydaimon, feel free to submit patches.

    You may want to poke around in -

    activesupport/lib/active_support/cor...

  • Aditya Sanghi
    • Importance changed from to Low
    by Aditya Sanghi at 10:48 PM

    Just to confirm, this is a problem only in 1.9.2, on 1.8.7 this code runs just fine.

5788 mysql time was updated in Ruby on Rails
  • Aditya Sanghi
    Aditya Sanghi commented at 10:56 PM

    Awesome, please do send a patch.

    However, I do maintain, if you want to use video markers, you would be better off storing seconds from start in an integer fiel...

  • Aditya Sanghi
    Aditya Sanghi commented at 9:41 PM

    Not sure what the use case here is, but 25:00:00 does not parse as a time, it will throw argument out of range.
    If you want to store the semantic "duration", yo...