1. 08 7月, 2012 3 次提交
  2. 07 7月, 2012 4 次提交
    • C
      ea7b48b0
    • K
      Added support add_flash_types · 238a4253
      kennyj 提交于
      238a4253
    • K
      Remove unused code. · 1498071b
      kennyj 提交于
      1498071b
    • M
      Prevent conflict between mime types and Object methods · 021f3d24
      Mircea Pricop 提交于
      Assuming the type ":touch", Collector.new was calling
      send(:touch), which instead of triggering method_missing
      and generating a new collector method, actually
      invoked the private method `touch` inherited from
      Object.
      
      By generating the method for each mime type as it
      is registered, the private methods on Object can
      never be reached by `send`, because the `Collector`
      will have them before `send` is called on it.
      
      To do this, a callback mechanism was added to Mime::Type
      
      This allows someone to add a callback for whenever
      a new mime type is registered. The callback then
      gets called with the new mime as a parameter.
      
      This is then used in AbstractController::Collector
      to generate new collector methods after each mime
      is registered.
      021f3d24
  3. 06 7月, 2012 1 次提交
  4. 04 7月, 2012 12 次提交
  5. 03 7月, 2012 2 次提交
  6. 01 7月, 2012 4 次提交
  7. 30 6月, 2012 1 次提交
  8. 29 6月, 2012 3 次提交
  9. 26 6月, 2012 3 次提交
  10. 25 6月, 2012 3 次提交
  11. 23 6月, 2012 4 次提交