1. 23 8月, 2010 1 次提交
  2. 22 8月, 2010 1 次提交
  3. 14 8月, 2010 2 次提交
  4. 03 7月, 2010 1 次提交
  5. 02 7月, 2010 1 次提交
  6. 28 6月, 2010 3 次提交
  7. 09 6月, 2010 1 次提交
  8. 18 5月, 2010 1 次提交
  9. 17 5月, 2010 3 次提交
    • W
      Revert "Moved encoding work in progress to a feature branch." · 80b60671
      wycats 提交于
      This reverts commit ade756fe.
      80b60671
    • J
      Moved encoding work in progress to a feature branch. · ade756fe
      Jeremy Kemper 提交于
      This reverts commits af0d1a88 and 64d109e3.
      ade756fe
    • W
      Significantly improved internal encoding heuristics and support. · 64d109e3
      wycats 提交于
      * Default Encoding.default_internal to UTF-8
      * Eliminated the use of file-wide magic comments to coerce code evaluated inside the file
      * Read templates as BINARY, use default_external or template-wide magic comments
        inside the Template to set the initial encoding
        * This means that template handlers in Ruby 1.9 will receive Strings encoded
          in default_internal (UTF-8 by default)
      * Create a better Exception for encoding issues, and use it when the template
        source has bytes that are not compatible with the specified encoding
      * Allow template handlers to opt-into handling BINARY. If they do so, they
        need to do some of their own manual encoding work
      * Added a "Configuration Gotchas" section to the intro Rails Guide instructing
        users to use UTF-8 for everything
      * Use config.encoding= in Ruby 1.8, and raise if a value that is an invalid
        $KCODE value is used
      
      Also:
      * Fixed a few tests that were assert() rather than assert_equal() and
        were caught by Minitest requiring a String for the message
      * Fixed a test where an assert_select was misformed, also caught by
        Minitest being more restrictive
      * Fixed a test where a Rack response was returning a String rather
        than an Enumerable
      64d109e3
  10. 03 5月, 2010 1 次提交
  11. 25 4月, 2010 1 次提交
  12. 05 4月, 2010 1 次提交
  13. 03 4月, 2010 1 次提交
    • W
      Refactored url_for in AV to have its own instances of the helpers instead of... · 3eb97531
      wycats 提交于
      Refactored url_for in AV to have its own instances of the helpers instead of proxying back to the controller. This potentially allows for more standalone usage of AV. It also kicked up a lot of dust in the tests, which were mocking out controllers to get this behavior. By moving it to the view, it made a lot of the tests more standalone (a win) 
      3eb97531
  14. 31 3月, 2010 1 次提交
  15. 20 3月, 2010 1 次提交
  16. 18 3月, 2010 1 次提交
  17. 07 3月, 2010 1 次提交
    • W
      Make many parts of Rails lazy. In order to facilitate this, · 39d6f9e1
      wycats 提交于
      add lazy_load_hooks.rb, which allows us to declare code that
      should be run at some later time. For instance, this allows
      us to defer requiring ActiveRecord::Base at boot time purely
      to apply configuration. Instead, we register a hook that should
      apply configuration once ActiveRecord::Base is loaded.
      
      With these changes, brings down total boot time of a
      new app to 300ms in production and 400ms in dev.
      
      TODO: rename base_hook
      39d6f9e1
  18. 05 3月, 2010 1 次提交
    • C
      Deprecated ActionController::Base.session_options= and... · e311622e
      Carlhuda 提交于
      Deprecated ActionController::Base.session_options= and ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings.
      e311622e
  19. 04 3月, 2010 2 次提交
  20. 03 3月, 2010 1 次提交
  21. 01 3月, 2010 2 次提交
  22. 27 2月, 2010 6 次提交
  23. 26 2月, 2010 1 次提交
  24. 24 2月, 2010 1 次提交
  25. 22 2月, 2010 1 次提交
  26. 16 2月, 2010 1 次提交
  27. 01 2月, 2010 1 次提交
  28. 17 1月, 2010 1 次提交