Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 22, 2012
  1. @guilleiguaran

    Allow setting a symbol as path in scope on routes

    guilleiguaran authored
    Was surprising found that this example doesn't work:
    
      scope :api do
        resources :users
      end
    
    and the right form to use it is:
    
      scope 'api' do
        resources :users
      end
    
    I think this should work similary as `namespace` where both are allowed.
    These two are equivalent:
    
      namespace :api do
        resources :users
      end
    
      namespace 'api' do
        resources :user
      end
  2. @carlosantoniodasilva

    Remove private partial/template renderer methods

    carlosantoniodasilva authored
    Since now these objects are not cached anymore, there's no need to have
    these private methods, just instantiate each of them in the necessary
    place.
Commits on Nov 21, 2012
  1. @jonleighton

    Merge pull request #8183 from jcoglan/objectless_sessions

    jonleighton authored
    Store FlashHashes in the session as plain hashes
Commits on Nov 19, 2012
  1. @carlosantoniodasilva

    Correct the use of params options when given to url_for

    carlosantoniodasilva authored
    Merge url for tests and add changelog entry for #8233.
  2. @tumayun @carlosantoniodasilva

    Fix issue with params in url_for

    tumayun authored carlosantoniodasilva committed
    With a "params" argument, the following error is raised:
    
        undefined method `reject!` for "":String
  3. @senny

    render every partial with a new `PartialRenderer`.

    senny authored
    This resolves issues when rendering nested partials.
    Previously the `PartialRenderer` was reused which led to
    situations where the state of the renderer was reset.
    
    Closes #8197
  4. @spastorino
Commits on Nov 17, 2012
  1. @zenspider

    Removed extra call to #diff in #assert_recognizes. assert_equal calls…

    zenspider authored
    … it for you and shows the diff. Also delayed message calculation so the cost of the diff on success is now gone.
Commits on Nov 16, 2012
  1. @spastorino

    Improve UpgradeSignatureToEncryptionCookieStore docs

    spastorino authored
    I suck at English, please help me reviewing this <3 <3 <3
    [ci skip]
  2. @vijaydev

    Merge branch 'master' of github.com:lifo/docrails

    vijaydev authored
    Conflicts:
    	actionpack/lib/action_dispatch/routing/redirection.rb
  3. @spastorino

    Add UpgradeSignatureToEncryptionCookieStore

    spastorino authored
    This allows easy upgrading from the old signed Cookie Store <= 3.2
    or the deprecated one in 4.0 (the ones that doesn't use key derivation)
    to the new one that signs using key derivation
  4. @spastorino
  5. @spastorino
  6. @carlosantoniodasilva

    Refactor url methods a bit

    carlosantoniodasilva authored
    Use if..else conditions instead of return guards.
    Use _ for not used arguments when iterating.
    Set the path variable directly instead of using an empty string and <<.
  7. @tilsammans

    Introduce `ActionView::Template::Handlers::ERB.escape_whitelist`.

    tilsammans authored
    This is a list of mime types where template text is not html escaped
    by default. It prevents `Jack & Joe` from rendering as
    `Jack &amp; Joe` for the whitelisted mime types. The default whitelist
    contains text/plain.
    
    This follows a whitelist approach where plain text templates are
    not escaped, and all the others (json, xml) are. The mime type is
    assumed to be set by the abstract controller.
Commits on Nov 15, 2012
  1. @spastorino

    Merge pull request #8112 from rails/encrypted_cookies

    spastorino authored
    Encrypted cookies
  2. @rafaelfranca

    Merge pull request #8222 from marcandre/avoid_slash

    rafaelfranca authored
    Avoid using Integer#/, as it is redefined by the 'mathn' stdlib
Commits on Nov 14, 2012
  1. @marcandre
  2. @carlosantoniodasilva

    Merge pull request #8218 from DawidJanczak/form-tag-doc

    carlosantoniodasilva authored
    [ci skip] Correct examples for form_tag helper.
    
    Conflicts:
    	actionpack/lib/action_view/helpers/form_tag_helper.rb
  3. @tenderlove
  4. @tenderlove
  5. @tenderlove
  6. @tenderlove
  7. @tenderlove
  8. @tenderlove
  9. @tenderlove
  10. @tenderlove

    start using options object

    tenderlove authored
  11. @tenderlove
  12. @tenderlove
Commits on Nov 9, 2012
  1. @carlosantoniodasilva

    Use get in the redirection doc examples

    carlosantoniodasilva authored
    get is the most common usage, and match without an explicit verb
    was disallowed in 56cdc81.
    
    [ci skip]
  2. @ccarruitero
  3. @ccarruitero
  4. @ccarruitero
  5. @carlosantoniodasilva
  6. @steveklabnik

    Deprecate Hash#diff.

    steveklabnik authored
    It's no longer used in Rails any more.
    
    See #8142 for more
Something went wrong with that request. Please try again.