Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 22, 2012
  1. @carlosantoniodasilva
  2. @guilleiguaran

    Allow setting a symbol as path in scope on routes

    guilleiguaran committed
    Was surprising found that this example doesn't work:
      scope :api do
        resources :users
    and the right form to use it is:
      scope 'api' do
        resources :users
    I think this should work similary as `namespace` where both are allowed.
    These two are equivalent:
      namespace :api do
        resources :users
      namespace 'api' do
        resources :user
Commits on Nov 19, 2012
  1. @carlosantoniodasilva

    Correct the use of params options when given to url_for

    carlosantoniodasilva committed
    Merge url for tests and add changelog entry for #8233.
  2. @senny

    render every partial with a new `PartialRenderer`.

    senny committed
    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
Commits on Nov 16, 2012
  1. @carlosantoniodasilva
  2. @tilsammans

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

    tilsammans committed
    This is a list of mime types where template text is not html escaped
    by default. It prevents `Jack & Joe` from rendering as
    `Jack & 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 8, 2012
  1. @rafaelfranca

    Add CHANGELOG entry for #8108 on master too.

    rafaelfranca committed
    [ci skip]
Commits on Nov 2, 2012
  1. @spastorino
  2. @rafaelfranca

    Revert "Merge pull request #7668 from Draiken/fix_issue_6497"

    rafaelfranca committed
    This reverts commit f4ad0eb, reversing
    changes made to 8b2cbb3.
    REASON: This added introduced a bug when you have a shorthand route
    inside a nested namespace.
Commits on Nov 1, 2012
  1. @nikitug

    Fix #8086 (BestStandardsSupport rewrites app X-UA-Compatible header, …

    nikitug committed
    …now appends).
    Now `BestStandardsSupport` middleware appends it's `X-UA-Compatible` value to app's value.
    Also test for `BestStandardsSupport` middleware added.
Commits on Oct 31, 2012
  1. @guilleiguaran
  2. @acapilleri

    if format is unknown NullMimeTypeObject is returned

    acapilleri committed
    If a unknown format is passed in a request, the methods html?, xml?, json? ...etc
    Nil Exception.
    This patch add a class NullMimeTypeObject, that is returned when  request.format is unknown
    and it responds false to the methods that ends with '?'.
    It refers to #7837, not fixes because it's not considered a improvement not a bug.
Commits on Oct 18, 2012
  1. @rafaelfranca

    Merge pull request #7975 from butcher/extend_date_select_helper_funct…

    rafaelfranca committed
    Extend date_select helper functionality.
  2. @butcher
  3. @josh
  4. @rafaelfranca

    Add more CHANGELOG entries from #7927

    rafaelfranca committed
    Also remove references for RAILS_ASSET_ID from the guides
    [ci skip]
  5. @rafaelfranca

    Add CHANGELOG entry for #7927

    rafaelfranca committed
    Removed the asset_path configuration from the guides and added an entry
    in the upgrading_ruby_on_rails guide
    [ci skip]
Commits on Oct 11, 2012
  1. @senny
Commits on Oct 10, 2012
  1. @dhh
Commits on Oct 6, 2012
  1. @teleological

    Accept :remote as symbol in link_to options

    teleological committed
    Accept either :remote or 'remote' in both the html_options and
    (url_)options hash arguments to link_to.
  2. @senny

    can't pass :locals to #assert_template without a view test case. Closes

    senny committed
    the documentation on #assert_template states that the :locals option is
    only available in view test cases:
        # In a view test case, you can also assert that specific locals are passed
        # to partials:
    I added a warning when it's passed in an inapropriate context to prevent
    a NoMethodError.
Commits on Oct 5, 2012
  1. @guilleiguaran
Commits on Oct 4, 2012
  1. @rafaelfranca

    Remove unneeded CHANGELOG entry.

    rafaelfranca committed
    This was added in Rails 4 and we don't need changelog entries to
    behavior changes
    [ci skip]
  2. @bloudermilk
Commits on Oct 2, 2012
  1. @steveklabnik

    Failsafe exception returns text/plain.

    steveklabnik committed
    It's best to just return text/plain when something has gone terribly
    Fixes #5660.
  2. @spastorino
Commits on Oct 1, 2012
  1. @senny
  2. @senny

    resource and resources do no longer modify passed options

    senny committed with senny
    this is a patch for #7777.
Commits on Sep 30, 2012
  1. @jeremy

    Add a changelog entry for asset aliasing update in sprockets-rails. S…

    jeremy committed
    …upports referencing foo.js as foo/index.js and vice versa.
  2. @guilleiguaran
  3. @rafaelfranca

    Whitespaces :scissors: [ci skip]

    rafaelfranca committed
  4. @HugoLnx

    `assert_template` no more passing with what ever string that matches.

    HugoLnx committed
    Given Im rendering an template `/layout/hello.html.erb`, assert_template was
    passing with any string that matches. This behavior allowed false passing like:
    	assert_template "layout"
    	assert_template "out/hello"
    Now the passing possibilities are:
    	assert_template "layout/hello"
    	assert_template "hello"
    fixing assert_template bug when template matches expected, but not ends with
    Cherry Pick Merge: Fixes issue #3849 assert_template false positive
    taking redundant test off
    prevening incorrect assert_template when rendering with repeated names in path
    updating CHANGELOG with bugfix: assert_template false passing
Commits on Sep 25, 2012
  1. @NARKOZ

    allow to pass numerical value to size option in image_tag

    NARKOZ committed
    This will set image's both width and height attributes to
    value passed in size option.
  2. @rafaelfranca

    Merge pull request #7738 from grosser/verified_request

    rafaelfranca committed
    remove unused Mime::Type#verify_request?
Something went wrong with that request. Please try again.