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.

Zach Dennis's latest activity

Tuesday, September 28 2010
5712 activerecord connection established event was updated in Ruby on Rails
  • Zach Dennis
    Zach Dennis commented at 3:47 AM

    Mark VanHolstyn suggested today that having this a :before_connection_established event would better (or at least to have in addition to) what I requested above...

Monday, September 27 2010
5712 activerecord connection established event was created in Ruby on Rails
  • Zach Dennis
    Zach Dennis created the ticket at 2:42 AM

    As a plugin author for enhanced ActiveRecord functionality it would be nice if establishing a database connection would fire an event. This would allow the plug...

Friday, May 14 2010
1281 form_for doesn't work wit was updated in Ruby on Rails
  • Zach Dennis
    Zach Dennis commented at 7:09 PM

    Christopher, read my comment on this ticket from January 21st, 2010. Let me know if that is not clear for you.

    Ryan, I think it's still valid. :)

    Everyone... th...

Thursday, January 21 2010
1281 form_for doesn't work wit was updated in Ruby on Rails
  • Zach Dennis
    Zach Dennis commented at 6:08 PM

    According to its API is most certainly can:

    form_for(record_or_name_or_array, *args, &proc)
    

    Also, it can accept arrays where everything leading up the last el...

Thursday, February 05 2009
230 Fire model callbacks before notifying observers was updated in Ruby on Rails
  • Zach Dennis
    Zach Dennis commented at 12:31 AM

    I don't think the order should be reverted. Trying to appeal to the book as the authority is not a solid argument, and unless the book expands in more detail on...

Tuesday, January 13 2009
1143 Make #respond_to implicit in controller actions was updated in Ruby on Rails
  • Zach Dennis
    Zach Dennis commented at 2:16 AM

    I updated the original patch with Daniel's suggestion of just making respond_to without a block, instead of introducing a new method "format" to the controller.

    ...
Monday, December 15 2008
1280 error_messages_for doesn't html escape it's messages was updated in Ruby on Rails
  • Zach Dennis
    Zach Dennis commented at 3:25 PM

    Inge, can you re-post patch with corresponding test cases ?

Friday, December 12 2008
1567 find_by_xxx! bang method, have better error messages was created in Ruby on Rails
  • Zach Dennis
    Zach Dennis created the ticket at 9:49 PM

    It would be nice if the find_by_xxx! bang methods gave nicer error messages. Right now you get:

    
    > Expense.find_by_amount(10)
    => nil
    >> Expense.find_by_amou...
Thursday, October 30 2008
1280 error_messages_for doesn't html escape it's messages was updated in Ruby on Rails
  • Zach Dennis
    Zach Dennis commented at 2:42 PM

    If the error message contains <, >, &, or any of the other characters that need to be escaped then you're in for a surprise when it does get rendered. It seems ...

Monday, October 27 2008
1281 form_for doesn't work wit was created in Ruby on Rails
  • Zach Dennis
    Zach Dennis created the ticket at 2:33 PM

    form_for doesn't work with an array of resources. For example, the following doesn't work right now in Rails:

    
    <% form_for [expense.expense_reimbursement, exp...