Commits on May 6, 2011
  1. Use PATCH instead of PUT; Fixes issue #348

    PATCH is the correct HTML verb to map to the #update action. The semantics for
    PATCH allows for partial updates, whereas PUT requires a complete replacement.
    * adds the #patch verb to routes to detect PATCH requests
    * adds #patch? to Request
    * adds the PATCH -> update mapping in the #resource(s) routes.
    * changes default form helpers to prefer :patch instead of :put for updates
    * changes documentation and comments to indicate the preference for PATCH
    This change tries to maintain complete backwards compatibility by keeping the
    original PUT -> update mapping. Users using the #resource(s) routes should not
    notice a change in behavior since both PUT and PATCH requests get mapped to
    committed May 6, 2011
  2. Merge pull request #424 from gnufied/master

    Fixes around_filter from observer, github issue#329
    josevalim committed May 6, 2011
  3. Revert the merge because tests did not pass.

    Revert "Merge pull request #423 from richardiux/master"
    This reverts commit b8f08c4, reversing
    changes made to fd9df1b.
    josevalim committed May 6, 2011
  4. Merge pull request #423 from richardiux/master

    Identity Map caching bug
    josevalim committed May 6, 2011
  5. Merge pull request #419 from smartinez87/avail_action

    better styling on #available_action? docs
    josevalim committed May 6, 2011
  6. Merge pull request #418 from myronmarston/am_observer_doc_updates

    Add documentation for new observer enable/disable feature.
    tenderlove committed May 6, 2011
  7. Adding base method symbolized_sti_name to activerecord base to be use…

    …d on identity map. Identity map now considers the inheritance when creating the caching keys
    richardiux committed May 6, 2011
  8. Merge pull request #389 from jasonrudolph/always_flush_logger_at_exit

    Always flush logger at exit
    josevalim committed May 6, 2011
  9. Always flush logger at exit

    Prior to this change, running code via script/runner would demonstrate
    different logging behavior than running the same code via a rake task.
    In production mode the script/runner approach would always flush the
    logger, but the rake-based approach would not automatically flush the
    logger. This discrepancy violates the principle of least surprise, and
    it could lead to the loss of important production logging data.
    This change removes special-case code in the "runner" command, and
    replaces it with a general solution to ensure that the logger gets
    flushed at exit. This solution works for "runner", "console", "server",
    rake tasks, and any other process that loads the Rails environment.
    jasonrudolph committed May 4, 2011
  10. Merge pull request #414 from asanghi/lh5796

    config.generators.orm = false when skipping active record. LightHouse #5796
    josevalim committed May 6, 2011
  11. be consistent

    Aditya Sanghi committed May 6, 2011
  12. review fixes

    Aditya Sanghi committed May 6, 2011
  13. Don't pluralize, camelize.

    josevalim committed May 6, 2011
  14. default orm and test_framework to false; change application.rb templa…

    …te accordingly
    Aditya Sanghi committed May 6, 2011
  15. More updates to ivars list.

    josevalim committed May 6, 2011
  16. When skipping skip active record, mark config.generators.orm to false…

    …; LH 5796 remainder
    Aditya Sanghi committed May 6, 2011
  17. Merge pull request #410 from asanghi/LH6074

    distance_of_time_in_words calculates wrong no of years
    josevalim committed May 6, 2011
  18. Merge pull request #396 from asanghi/lh_4346

    Multiparameter POLA (principle of least authority) with respect to time_select fixes. See LH4346
    fxn committed May 6, 2011
  19. strip space

    Aditya Sanghi committed May 6, 2011
  20. Take leap years into account more seriously when calculating year dis…

    …tance [#6074 state:resolved]
    Aditya Sanghi committed Nov 29, 2010
  21. Merge pull request #408 from etdsoft/master

    Rails::Server outputs 'http://' even when running over SSL
    josevalim committed May 6, 2011
  22. Take into account the Rack::Server :SSLEnable option when building th…

    …e application's URL
    Daniel Martin committed May 6, 2011
  23. Update CHANGELOGs.

    josevalim committed May 6, 2011
  24. Merge pull request #400 from arunagw/ruby_prof

    Adding ruby-prof gem for ruby platform only #jruby
    josevalim committed May 6, 2011
Commits on May 5, 2011
  1. Merge pull request #399 from ernie/join_conditions_on_join

    Add association join conditions to JOIN clause, not WHERE
    jonleighton committed May 5, 2011