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.

Ryan Angilly's latest activity

Friday, March 06 2009
2127 Broken find last when no order is given. was updated in Ruby on Rails
  • Ryan Angilly
    Ryan Angilly commented at 3:00 PM

    Was this problem recently introduced? This seems like a big problem. Raises flags that something this big would be broken this late in the RC cycle. More odd th...

2138 Teach ActiveSupport::Memoizable about private methods was updated in Ruby on Rails
  • Ryan Angilly
    Ryan Angilly commented at 12:07 AM

    +1

    I've never memoized a private method, but would expect it to stay private.

Thursday, March 05 2009
2137 Allow find_in_batches to use :order, :limit, and :offset was updated in Ruby on Rails
  • Ryan Angilly
    Ryan Angilly commented at 10:12 PM

    I guess when I think of batch processing I think of sending notifications and carrying out async processes. Things that inherently do not require ordering. If y...

  • Ryan Angilly
    Ryan Angilly commented at 9:18 PM

    Seems a lot like this one:

    http://rails.lighthouseapp.com/p...

    Even with the order, offset, and limit stuff set up you still have the problem of 'missing' reco...

2135 ActiveRecord::find_in_batches should take option[:order] was updated in Ruby on Rails
  • Ryan Angilly
    Ryan Angilly commented at 1:40 PM

    -1

    If, for example, you order by 'Name', and then while batch processing you insert a new record with the name "Angilly", it is possible (probable actually) tha...

Friday, January 30 2009
1815 Add or_if_blank to Object was updated in Ruby on Rails
  • Ryan Angilly
    Ryan Angilly commented at 2:31 AM

    try() doesn't help with blank strings, which was the whole point of what I was suggesting.

    And out of curiosity, what's the relevance of try()'s usage in views?...

Thursday, January 29 2009
1815 [PATCH] Add or_if_blank to Object was updated in Ruby on Rails
  • Ryan Angilly
    Ryan Angilly commented at 1:06 PM

    Yeah I really like the block idea. Patch updated.

  • Ryan Angilly
    Ryan Angilly created the ticket at 5:29 AM

    A utility method so that instead of having to write:

    self.association_proxy.email.blank? ? self.name : self.association_proxy.email

    all over the place, you can ...

Saturday, January 10 2009
1724 ActionController::Failsafe#type_conflict! doesn't report all parameters was created in Ruby on Rails
  • Ryan Angilly
    Ryan Angilly created the ticket at 2:56 AM

    Hey guys,

    I noticed that ActionController::Failsafe#type_conflict! has a bug where it only reports the value of the parameter that caused the error. Makes it al...

Thursday, January 01 2009
1681 Option to stop event bubbling on link_to_remote and friends was created in Ruby on Rails
  • Ryan Angilly
    Ryan Angilly created the ticket at 7:10 PM

    Hey guys,

    Does anyone else run into a situation where you want to stop event bubbling on a link_to_remote, so you have to do:

    link_to_remote('linky', {:before =...