Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Dec 22, 2010
  1. @spastorino

    This can make make included javascripts/stylesheets from expansions t…

    spastorino authored
    …o be duplicated
    
    or grow forever if you call register_*_expansion more than once
    
    Fix a Regression introduced here 55b13c5
Commits on Nov 23, 2010
  1. @svenfuchs @tenderlove
Commits on Sep 19, 2010
  1. @spastorino
Commits on Aug 9, 2010
  1. @wycats
Commits on Jun 22, 2010
  1. @josevalim
  2. @joshk @josevalim

    refactored the javascript asset tag helpers and moved the default scr…

    joshk authored josevalim committed
    …ipts setup within the railtie
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Jun 21, 2010
  1. @joshk @josevalim

    removed 'unless const_defined?' code smell

    joshk authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Jun 16, 2010
  1. @rizwanreza
Commits on Jun 8, 2010
  1. @mikel
Commits on May 18, 2010
  1. @marius @spastorino

    fix documentation typo

    marius authored spastorino committed
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Commits on May 15, 2010
  1. @marcandre @josevalim

    Accept :alt => nil on image_tag [#4558 state:resolved]

    marcandre authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Apr 13, 2010
  1. @craigw @wycats

    Fix a typo in the documentation. [#4318 state:resolved]

    craigw authored wycats committed
    Signed-off-by: wycats <wycats@gmail.com>
Commits on Apr 9, 2010
  1. @fxn

    image_path -> path_to_image in a couple of places, plus motivation fo…

    fxn authored
    …r path_to_image in rdoc
  2. @fxn

    adds #favicon_link_tag back, rdoc explains why it is useful, and how …

    fxn authored
    …to get a link for Mobile Safari with it
Commits on Apr 8, 2010
  1. @dhh

    Revert "adds #favicon_link_tag and #apple_touch_icon_link_tag" -- the…

    dhh authored
    …se tags are too specific.
    
    This reverts commit 6891f46, ec8610c, and  d18ff1b.
Commits on Apr 7, 2010
  1. @fxn
  2. @fxn
Commits on Mar 29, 2010
  1. @wycats
  2. @craigw @wycats

    Allow customisation of asset path generation using a proc.

    craigw authored wycats committed
    Set config.action_controller.asset_path_template to a proc that takes one
    argument - the direct, unchanged asset path - and returns a path to that asset
    using the scheme that your assets require.
    
    This is useful if you have a setup which scales by introducing new application
    servers where the mtime of the asset files may not be the same as those of the
    asset files on your previous servers, but it does require your web servers to
    have knowledge of the asset template paths that you rewrite to so it's not
    suitable for out-of-the-box use. An example of configuring asset path
    generation and rewriting these paths using Apache is included in
    actionpack/lib/action_view/helpers/asset_tag_helper.rb.
    
    Signed-off-by: wycats <wycats@gmail.com>
Commits on Mar 26, 2010
  1. @wycats
Commits on Mar 25, 2010
  1. @retr0h @rizwanreza

    Updated ActionController::Base.asset_host example

    retr0h authored rizwanreza committed
    The example provided contrived.  It is not useful when wanting to use
    1-based asset hosts (since it would generate a random asset host for
    the same asset).
    
    Signed-off-by: Rizwan Reza <rizwanreza@gmail.com>
Commits on Mar 19, 2010
  1. @fxn @jeremy

    cleans a bit #compute_public_path

    fxn authored jeremy committed
    [#4232 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Mar 12, 2010
  1. @odorcicd @josevalim

    Made asset_tag_helper use config.perform_caching instead of ActionCon…

    odorcicd authored josevalim committed
    …troller::Base.perform_caching
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  2. @eadz @jeremy

    simplify alt tag generation for images

    eadz authored jeremy committed
    [#2837 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Mar 4, 2010
  1. Fix a bunch of failing AP / AM specs created from the previous Abstra…

    Carl Lerche authored
    …ctController configuration refactor.
  2. Start refactoring the method of configuring ActionView

    Carlhuda authored Carl Lerche committed
Commits on Mar 3, 2010
Commits on Feb 1, 2010
  1. For performance reasons, you can no longer call html_safe! on Strings…

    Yehuda Katz authored
    …. Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self).
    
      * Additionally, instead of doing concat("</form>".html_safe), you can do
        safe_concat("</form>"), which will skip both the flag set, and the flag
        check.
      * For the first pass, I converted virtually all #html_safe!s to #html_safe,
        and the tests pass. A further optimization would be to try to use
        #safe_concat as much as possible, reducing the performance impact if
        we know up front that a String is safe.
Commits on Jan 31, 2010
  1. @josh
Commits on Jan 30, 2010
  1. @josh

    Revert "Add rails.js driver to default source list"

    josh authored
    This reverts commit 8a46e11.
Commits on Jan 29, 2010
  1. @josh
Commits on Jan 22, 2010
  1. @josh
Commits on Oct 14, 2009
  1. @wycats

    Start adding configuration to ActionView instead of using constants.

    wycats authored
      By using config rather than hardcoded constants, we can evolve the
      configuration system over time (we'd just need to update the config
      method with more robust capabilities and all consumers would get
      the capabilities with no code changes)
Commits on Oct 7, 2009
  1. @NZKoz

    Switch to on-by-default XSS escaping for rails.

    NZKoz authored
      This consists of:
    
      * String#html_safe! a method to mark a string as 'safe'
      * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it
      * Calls to String#html_safe! throughout the rails helpers
      * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB)
      * New ERB implementation based on erubis which uses a SafeBuffer instead of a String
    
    Hat tip to Django for the inspiration.
Commits on Sep 13, 2009
  1. @josh
Something went wrong with that request. Please try again.