1. 07 5月, 2014 1 次提交
    • X
      several enhancements to humanize [closes #12288] · daaa21bc
      Xavier Noria 提交于
      * Strips leading underscores.
      * Changes some unnecessary gsub!s to sub!s.
      * Replaces some anchors ^, $ with \A, \z.
      * Documents that human inflection rules are applied.
      * Documents that words are downcased except acronyms.
      * Adds an example with an acronym.
      * Rewords docs.
      daaa21bc
  2. 06 5月, 2014 4 次提交
  3. 05 5月, 2014 1 次提交
  4. 04 5月, 2014 3 次提交
  5. 03 5月, 2014 1 次提交
  6. 02 5月, 2014 4 次提交
  7. 30 4月, 2014 1 次提交
  8. 29 4月, 2014 1 次提交
    • J
      Update the Getting Started tutorial · f591762c
      Jon Atack 提交于
      Update the Getting Started tutorial to clarify where and how to add
      controller actions, and fix some grammar.
      
      This PR is an improved version of #14828, #14822 and #14815.
      
      [skip ci]
      f591762c
  9. 28 4月, 2014 2 次提交
  10. 27 4月, 2014 1 次提交
  11. 26 4月, 2014 2 次提交
  12. 24 4月, 2014 1 次提交
  13. 22 4月, 2014 1 次提交
  14. 21 4月, 2014 1 次提交
  15. 20 4月, 2014 6 次提交
  16. 19 4月, 2014 2 次提交
  17. 18 4月, 2014 3 次提交
  18. 17 4月, 2014 2 次提交
    • P
      CSRF protection should rescue exception not extend · 92fd44b3
      PaulL1 提交于
      I think the changes to the default behaviour mean that rails will throw an exception when an invalid authenticity token is found.  The previous proposed code of calling super then sign_out meant that sign_out was never reached - the exception handler never returned.
      
      I think the best approach now is to catch the exception, although I'm not 100% certain on that.
      92fd44b3
    • K
      [skip ci] Reorder i18n guide · 2c99e582
      Kyle Heironimus 提交于
      Currently, the section called "How to store your custom translations"
      has several subheadings that make no sense, such as "Translations for
      ActiveRecord models." These make more sense under the "Overview of the
      I18n API Features" section. I moved the "How to store..." section down
      to the more appropriate sub-headings "Using Different Backends" and
      "Using Different Exception Handlers" and removed the "Customize your
      i18n setup" header.
      2c99e582
  19. 16 4月, 2014 3 次提交