1. 09 1月, 2013 3 次提交
    • V
      Merge branch 'master' of github.com:lifo/docrails · f049016c
      Vijay Dev 提交于
      Conflicts:
      	guides/source/getting_started.md
      f049016c
    • D
      Merge pull request #8818 from jamis/master · 64e3660f
      David Heinemeier Hansson 提交于
      view_cache_dependency API
      64e3660f
    • J
      view_cache_dependency API · 70e684a6
      Jamis Buck 提交于
      A declarative API for specifying dependencies that affect template
      cache digest computation. In your controller, specify any of said
      dependencies:
      
        view_cache_dependency { "phone" if using_phone? }
      
      When the block is evaluated, the resulting value is included in the
      cache digest calculation, allowing you to generate different digests
      for effectively the same template. (Mostly useful if you're mucking
      with template load paths.)
      70e684a6
  2. 08 1月, 2013 33 次提交
  3. 07 1月, 2013 4 次提交