Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 30, 2015
  1. @schneems

    Cut string allocations in content_tag_string

    schneems authored
    content_tag's first argument is will generate a string with an html tag so `:a` will generate: `<a></a>`. When this happens, the symbol is implicitly `to_s`-d so a new string is allocated. We can get around that by using a frozen string instead which
    
    This change buys us 74,236 bytes of memory and 1,855 fewer objects per request.
Commits on Jul 2, 2015
  1. @trosborn
Commits on Jun 13, 2015
  1. @maurogeorge
Commits on May 20, 2015
  1. @carlosantoniodasilva
Commits on May 2, 2015
  1. @meinac
Commits on Mar 13, 2015
  1. @kuldeepaggarwal
Commits on Mar 12, 2015
  1. @akshay-vishnoi
Commits on Nov 29, 2014
  1. @sferik
Commits on Aug 8, 2014
  1. @htanata

    Uppercase HTML in docs.

    htanata authored
    [skip ci]
Commits on Jul 29, 2014
  1. @senny

    docs, cleanup mixed indents within `form_options_helper.rb` RDoc.

    senny authored
    [ci skip]
    
    This fixes the broken code block rendering and indents the examples
    within the parameter list.
Commits on Jul 17, 2014
  1. @senny

    docs, `select` and friends with `multiple=true` include a blank string.

    senny authored
    [Jonas Baumann & Yves Senn]
    
    The submitted params from a select with `multiple: true` look as follows:
    
    ```
    {post: {category: [""]}}
    
    {post: {category: ["", "Category 1", "Category 2"]}}
    ```
    
    This is a follow up to #1552.
Commits on Mar 30, 2014
  1. @lparedes
Commits on Dec 2, 2013
  1. @akshay-vishnoi
Commits on Nov 25, 2013
  1. @carlosantoniodasilva

    Revert "Merge pull request #13027 from akshay-vishnoi/f-refactor"

    carlosantoniodasilva authored
    This reverts commit f4a5a9e, reversing
    changes made to 7ccb482.
    
    Reason:
    
    The logic is different, the first call to #option_value_selected? is for
    the :selected option (the argument is the "selected" variable), the second
    call is for the :disabled option (the argument is the "disabled" variable).
  2. @akshay-vishnoi
Commits on Sep 23, 2013
  1. @rafaelfranca
  2. @bogdan

    Ability to pass block to AV#select helper

    bogdan authored
      Example:
    
        = select(report, "campaign_ids") do
          - available_campaigns.each do |c|
            %option{:data => {:tags => c.tags.to_json}, :value => c.id}= c.name
Commits on Aug 7, 2013
  1. @fxn

    RDoc tweaks

    fxn authored
Commits on Jul 22, 2013
  1. @carlosantoniodasilva

    Leave the knowledge of boolean tag values to content tag

    carlosantoniodasilva authored
    content tag already knows which tags are boolean and the values that
    should generate them when a truthy value is passed, so leave this logic
    for it instead of duplicating when generating options tags.
  2. @carlosantoniodasilva
  3. @Karunakar
Commits on Jul 20, 2013
  1. @nashby
Commits on Jun 27, 2013
  1. @kennyj

    Remove passing the prompt to grouped_options_for_select as an argumen…

    kennyj authored
    …t, because it was deprecated.
  2. @keydunov
Commits on Jun 25, 2013
  1. @mariozig
Commits on Jun 20, 2013
  1. @drogus @strzalek

    Move actionpack/lib/action_view* into actionview/lib

    drogus authored strzalek committed
Something went wrong with that request. Please try again.