Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 20, 2013
  1. @drogus @strzalek

    Move actionpack/lib/action_view* into actionview/lib

    drogus authored strzalek committed
Commits on Apr 12, 2013
  1. @DNNX

    Fix a typo

    DNNX authored
Commits on Apr 5, 2013
  1. @rafaelfranca

    Merge pull request #9555 from tmm1/optimize-erb

    rafaelfranca authored
    Optimize generated ERB to reduce method calls
Commits on Mar 26, 2013
  1. @carsonmcdonald

    Fix typo

    carsonmcdonald authored
Commits on Mar 6, 2013
  1. @RKushnir
Commits on Mar 5, 2013
  1. @tmm1

    avoid extra method calls for appending newlines

    tmm1 authored
            ');@output_buffer.append= ( content_icon row[:content] );@output_buffer.safe_concat('
    ');@output_buffer.safe_concat('        ');@output_buffer.append= ( spinner_img );@output_buffer.safe_concat('
    ');@output_buffer.safe_concat('      </td>
          <td class="content">
            ');@output_buffer.append= ( content_link row[:content] );@output_buffer.safe_concat('
    ');@output_buffer.safe_concat('      </td>
          <td class="message">
            ';@output_buffer.append=( content_icon row[:content] );@output_buffer.safe_append='
            ';@output_buffer.append=( spinner_img );@output_buffer.safe_append='
          <td class="content">
            ';@output_buffer.append=( content_link row[:content] );@output_buffer.safe_append='
          <td class="message">
  2. @tmm1
Commits on Jan 28, 2013
  1. @amatsuda
Commits on Jan 6, 2013
  1. @amatsuda

    These are already required through AS/rails

    amatsuda authored
    * core_ext/object/blank
    * concern
    * core_ext/class/attribute
    * deprecation
  2. @goshakkk
Commits on Dec 31, 2012
  1. @guilleiguaran
  2. @guilleiguaran
Commits on Dec 14, 2012
  1. @thedarkone

    Replace some global Hash usages with the new thread safe cache.

    thedarkone authored
    Summary of the changes:
     * Add thread_safe gem.
     * Use thread safe cache for digestor caching.
     * Replace manual synchronization with ThreadSafe::Cache in Relation::Delegation.
     * Replace @attribute_method_matchers_cache Hash with ThreadSafe::Cache.
     * Use TS::Cache to avoid the synchronisation overhead on listener retrieval.
     * Replace synchronisation with TS::Cache usage.
     * Use a preallocated array for performance/memory reasons.
     * Update the controllers cache to the new AS::Dependencies::ClassCache API.
       The original @controllers cache no longer makes much sense after @tenderlove's
       changes in 7b6bfe8 and f345e23.
     * Use TS::Cache in the connection pool to avoid locking overhead.
     * Use TS::Cache in ConnectionHandler.
Commits on Dec 3, 2012
  1. @jeremy

    Override <%== to always behave as literal text rather than toggling b…

    jeremy authored
    …ased on whether escaping is enabled. Fixes that existing plaintext email templates using <%== unexpectedly flipped to *escaping* HTML when #8235 was merged.
Commits on Nov 16, 2012
  1. @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 Oct 30, 2012
  1. @gazay
Commits on Oct 29, 2012
  1. @carlosantoniodasilva
  2. @nikitug

    Provide a call stack for deprecation warnings where needed.

    nikitug authored
    It's sometimes hard to quickly find where deprecated call was performed, especially in case of migrating between Rails versions. So this is an attempt to improve the call stack part of the warning message by providing caller explicitly.
Commits on Sep 17, 2012
  1. @carlosantoniodasilva

    Merge pull request #7669 from guilleiguaran/rename-rb-handler

    carlosantoniodasilva authored
    Rename .rb template handler to .ruby to avoid conflicts with mustache classes
  2. @guilleiguaran
  3. @timsly
Commits on Sep 11, 2012
  1. @guilleiguaran

    Add .rb template handler

    guilleiguaran authored
    This handler simply allows arbitrary Ruby code as a template
Commits on Sep 1, 2012
  1. @route

    Sprockets-rails tests fail

    route authored
    Method invalid_asset_host! was delegated to controller but sprockets
    compile assets in their own scope without controller. And if we set asset_host
    with second parameter it should raise error through invalid_asset_host!.
    But since controller is nil it cannot be reached.
Commits on Aug 28, 2012
  1. @drogus

    Implement ActionView::Template::Types

    drogus authored
    AV::Template::Types is a small abstraction to allow to specify template types
    that can be used in ActionView. When Action Pack is loaded it's replaced with
  2. @drogus

    Remove Mime::Type translations from Action View

    drogus authored
    Action View should not be responsible for translating mime types. Any
    translation that's needed should be handled at controller level.
Commits on Aug 13, 2012
  1. @lucasuyezu
Commits on Aug 7, 2012
  1. @dhh

    Revert "Merge pull request #7033 from kron4eg/master". Not a a fan at…

    dhh authored
    … all of what this makes ERB files look like.
    This reverts commit 46b8bce, reversing
    changes made to 2f58795.
  2. @kron4eg

    Restoring the '%' trim mode for ERb templates, allowing for a leading…

    kron4eg authored
    … percent sign on a line to indicate non-inserted Ruby code.
Commits on Aug 2, 2012
  1. @fxn
Commits on Jun 23, 2012
  1. @tenderlove
Commits on Jun 21, 2012
  1. @tenderlove
  2. @wycats

    Merge pull request #6428 from pinetops/resolver_concurrency_fix

    wycats authored
    Make the Resolver template cache threadsafe
  3. @tenderlove

    stop subclassing string

    tenderlove authored
Commits on May 22, 2012
  1. @pinetops
Commits on May 21, 2012
  1. @pinetops

    More granular locking of the Resolver template cache

    pinetops authored
    In order to avoid holding a global lock when doing template
    resolution, instead add individual locks on a per cache entry
    basis. The global lock is now only used for manipulation of the main
    cache data structure.
Something went wrong with that request. Please try again.