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.

Joel Chippindale's latest activity

Friday, August 28 2009
3113 ActionMailer only works correctly with sent_on set in in the local time zone was created in Ruby on Rails
  • Joel Chippindale
    Joel Chippindale created the ticket at 10:42 AM

    When you set the sent_on time on a mail to a time that is not in the local time zone the date in the TMail that is created.

    This is because TMail assumes times ...

Tuesday, August 04 2009
2462 [PATCH] sanitize_sql_hash_for_conditions uses incorrect table_name was updated in Ruby on Rails
  • Joel Chippindale
    Joel Chippindale commented at 1:00 PM

    New patch attached using :joins instead of :include and without the stubbing.

    Be aware that (since removing the stubbing) the existing code will pass this test ...

Tuesday, July 21 2009
2364 ignore_nil{} as a better alternative to try() was updated in Ruby on Rails
  • Joel Chippindale
    Joel Chippindale commented at 5:25 AM

    Your example could be written as follows with try

    @user.try(:address).try(:street)
    

    What makes using ignore_nil an improvement?

Friday, June 26 2009
2462 [PATCH] sanitize_sql_hash_for_conditions uses incorrect table_name was updated in Ruby on Rails
  • Joel Chippindale
    • Assigned user set to Pratik
    by Joel Chippindale at 12:22 PM

    Here's a new version with a test.

Saturday, June 20 2009
2462 [PATCH] sanitize_sql_hash_for_conditions uses incorrect table_name was updated in Ruby on Rails
  • Joel Chippindale
    Joel Chippindale commented at 5:50 AM

    Judging by responses I have had to this ticket this does not seem to be a well known feature however it has been around for a while and is clearly included in t...

Wednesday, June 17 2009
2462 [PATCH] sanitize_sql_hash_for_conditions uses incorrect table_name was updated in Ruby on Rails
  • Joel Chippindale
    • Title changed from sanitize_sql_hash_for_conditions uses incorrect table_name to [PATCH] sanitize_sql_hash_for_conditions uses incorrect table_name
    by Joel Chippindale at 11:13 AM
Tuesday, June 16 2009
2462 sanitize_sql_hash_for_conditions uses incorrect table_name was updated in Ruby on Rails
  • Joel Chippindale
    • Tag set to activerecord, patch
    by Joel Chippindale at 10:03 AM

    The dot notation continues to work and is included in the finder unit tests on master.

    The attached fix resolves this problem with the table_names from dot nota...

Thursday, June 11 2009
2607 Sent_on should default to now was updated in Ruby on Rails
  • Joel Chippindale
    Joel Chippindale commented at 9:48 AM

    This is the behaviour of this patch.

    I've attached a new version of the patch with a test to showing this.