• J
    Refactoring: replace the mix of variables like @finder_sql, @counter_sql, etc... · 78b8c51c
    Jon Leighton 提交于
    Refactoring: replace the mix of variables like @finder_sql, @counter_sql, etc with just a single scope hash (created on initialization of the proxy). This is now used consistently across all associations. Therefore, all you have to do to ensure finding/counting etc is done correctly is implement the scope correctly.
    78b8c51c
autosave_association.rb 13.9 KB