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

Tuesday, October 12 2010
5792 Fix Documentation of to_formatted_s and give love to seconds was created in Ruby on Rails
  • Aditya Sanghi
    Aditya Sanghi created the ticket at 9:17 AM

    Documentation of the to_formatted_s in activesupport/lib/core_ext/time/conversions.rb is wrong. It shows the output of to_s(:time) as "06:10:17" when in fact it...

5788 mysql time was updated in Ruby on Rails
  • Aditya Sanghi
    • State changed from incomplete to invalid
    by Aditya Sanghi at 8:52 AM

    Rails maps SQL types to Ruby classes, SQL time gets mapped to Ruby's Time class. Time class in ruby has a date component. Rails defaults this to 2000-01-01. If ...

5786 Bundler / RVM silently fail from application template was updated in Ruby on Rails
  • Aditya Sanghi
    • State changed from new to invalid
    • Importance changed from to Low
    by Aditya Sanghi at 8:07 AM

    I would be inclined to mark this ticket invalid as this is not a problem with thor or rails but how rvm works. RVM changes environment settings which are not re...

Monday, October 11 2010
5122 Add weeks_ago helper was updated in Ruby on Rails
  • Aditya Sanghi
    • Milestone set to 3.x
    • Assigned user set to Santiago Pastorino
    by Aditya Sanghi at 1:40 PM

    +1 i think weeks_ago is fairly useful.

5781 rails install fails to produce rdocumentation was updated in Ruby on Rails
  • Aditya Sanghi
    • Importance changed from to Low
    by Aditya Sanghi at 11:50 AM

    I can't seem to reproduce this issue on Mac OSX on 1.8.7 with Rails 3.0.0

    The only difference it seems is i've set my 1.8.7 to ruby-1.8.7-head.

    Martin, could yo...

5614 'increment' and 'decrement' for ActiveRecord::Relation was updated in Ruby on Rails
  • Aditya Sanghi
    Aditya Sanghi commented at 11:11 AM

    +1 but i think the API could be improved a bit.

    How about a default column to increment/decrement, instead of being an mandatory param?

Sunday, October 10 2010
4346 time_select not interpreting the multi-parameter correctly was updated in Ruby on Rails
  • Aditya Sanghi
    Aditya Sanghi commented at 1:26 PM

    Xavier, why would one not use datetime_select instead for this? I've updated the documentation with more conviction this time :)

  • Aditya Sanghi
    Aditya Sanghi commented at 12:16 PM

    Xavier, I'm actually at a total loss about the use case for this. Apparently it was introduced 2 years ago for design reasons in ticket #503.

    Did you mean more ...

Saturday, October 09 2010
3765 Missing shallow routes in new router DSL was updated in Ruby on Rails
701 RAILS_GEM_VERSION ignored was updated in Ruby on Rails