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

Monday, October 18 2010
5794 using include? on a time range yields unhappy results was updated in Ruby on Rails
  • Aditya Sanghi
    Aditya Sanghi commented at 3:42 PM

    @eydaimon

    I reexamined your request and read this thread again and looked a bit harder at the issue.

    The "ad infinitum" is not really upto infinity its actually...

1860 with_scope should merge complex includes was updated in Ruby on Rails
  • Aditya Sanghi
    • State changed from resolved to open
    • Tag set to activerelation, active_record, patch
    by Aditya Sanghi at 2:37 PM

    Hi Brian,

    No it doesnt mean that explicitly, i think that was just a bulk update.

    Adding a patch tag to the ticket and marking it open for now since you can rep...

5310 problem with renderiong was updated in Ruby on Rails
  • Aditya Sanghi
    • State changed from new to invalid
    • Importance changed from to Low
    by Aditya Sanghi at 12:55 PM

    Is the log provided above hand-written cos i can see a parameter "deatt h(2i)" which would lead me to believe that you had a failure in your application, perhap...

5398 time_ago_in_words reports incorrect number of args, when correct # args used was updated in Ruby on Rails
  • Aditya Sanghi
    • Importance changed from to Low
    by Aditya Sanghi at 12:19 PM

    MattB,

    Have you overridden some methods in your application_helper.rb? Sharing that would help determine the problem. A part of the stack trace you've pasted sh...

5814 render :template sends malformed Content-Type header for ActionMailer views was updated in Ruby on Rails
  • Aditya Sanghi
    • State changed from needs-more-info to wontfix
    by Aditya Sanghi at 12:01 PM

    Okay i've investigated this deeper, and there has been major refactoring in Rails 3 around this area of rendering where this is not a problem.

    Also I have alrea...

Sunday, October 17 2010
2675 Support for multiparameter attribute assignment on virtual attribute writers was updated in Ruby on Rails
  • Aditya Sanghi
    • State changed from new to wontfix
    • Tag changed from 2.x, activerecord to 2.x, activerecord, multiparameter, multiparameter_attributes
    by Aditya Sanghi at 7:54 PM

    I assume that not everyone is sold on defaulting on Time as a fallback for multiparameter attributes.

    To specify the class, @felipekk 's response above works an...

4346 time_select not interpreting the multi-parameter correctly was updated in Ruby on Rails
  • Aditya Sanghi
    • Tag changed from errors, helpers, patch, time_select to errors, helpers, multiparameter, multiparameter_attributes, patch, time_select
    by Aditya Sanghi at 7:47 PM
3681 date_select with :discard_day => true doesn't allow for NULL dates was updated in Ruby on Rails
  • Aditya Sanghi
    • State changed from new to resolved
    • Importance changed from to Low
    by Aditya Sanghi at 7:46 PM

    All blanks set stuff to nil, confirmed on Rails 3. closing this ticket.

2561 Weird years list when year not selected was updated in Ruby on Rails
  • Aditya Sanghi
    • State changed from new to duplicate
    by Aditya Sanghi at 7:43 PM

    Please see ticket #4346 where we're still discussing this issue after 2 years. We've provided a patch with many more tests and comprehensively covers date/time/...

2457 [PATCH] time_select ..., :include_blank => true was updated in Ruby on Rails
  • Aditya Sanghi
    • State changed from new to duplicate
    • Importance changed from to
    by Aditya Sanghi at 7:40 PM

    Please see ticket 4346 where we're still discussing this issue after 2 years. We've provided a patch with many more tests and comprehensively covers date/time/d...