Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 20, 2015
  1. @cllns
Commits on Jan 13, 2015
  1. Clean up grammar in scaffold index view, by removing the word 'Listin…

    Adrien Lamothe authored
    …g' from list title.
Commits on Jan 3, 2015
  1. @carlosantoniodasilva

    Merge pull request #13434 from tanraya/local_variables

    carlosantoniodasilva authored
    Use local variables in _form.html.erb generated by scaffold.
    
    Conflicts:
    	railties/CHANGELOG.md
Commits on Jul 29, 2014
  1. @noinkling
Commits on Jul 26, 2014
  1. @tanraya

    Use local variables in _form.html.erb generated by scaffold generator.

    tanraya authored
    It seems a good idea to use local variables in generated partials instead of using instance variables.
    
    Before
    
        <%= render 'form' %>
    
    After
    
        <%= render 'form', product: @product %>
Commits on Jul 4, 2014
  1. @arunagw

    Display notice in index.html pages in scaffolded generated views

    arunagw authored
    As we are setting notice in destroy action we should display that
    
    For more information see #14044
    And rails/jbuilder#191
    
    closes #14044
Commits on Jun 18, 2014
  1. @amitsuryavanshi

    Titling the model name in views generated by scaffold.

    amitsuryavanshi authored
    eg. rails g scaffold UserProfile will have in index.html.erb "Listing User Profiles"
    rather than Listing user_profiles.
Commits on May 1, 2014
  1. @potomak

    Avoid unnecessary conditional block

    potomak authored
    GeneratedAttribute#column_name checks already for reference? on the
    attribute returning the right name to use as symbol for label and field.
Commits on Apr 8, 2014
  1. @dhh
Commits on Mar 4, 2014
  1. @carlosantoniodasilva
Commits on Dec 20, 2013
  1. @kassio
Commits on Aug 19, 2013
  1. @rafaelfranca
Commits on Jul 23, 2013
  1. @zzak @spastorino

    Use GeneratedAttribute#column_name if #reference? scaffold_generator …

    zzak authored spastorino committed
    …in _form view [Fixes #11573]
Commits on Jun 17, 2013
  1. @sbagdat

    Use Colspan in th Tags

    sbagdat authored
    Is it more suitable that using ```<th colspan="3">``` instead of three empty ```<th>```? It is simple, but what i am missing about it?
    
    Change repetitive th tags to use colspan attribute
    
    Update CHANGELOG.md
    
    Update CHANGELOG.md
Commits on Apr 18, 2013
  1. @carlosantoniodasilva

    Unindent attributes iteration in scaffold index template

    carlosantoniodasilva authored
    Otherwise we get extra indent for the <td> elements due to the extra
    spaces at the beginning of the lines, like this:
    
          <tr>
              <td><%= author.name %></td>
              <td><%= link_to 'Show', author %></td>
            <td><%= link_to 'Edit', edit_author_path(author) %></td>
  2. @dhh

    Indent around the scaffold loop

    dhh authored
  3. @dhh

    HTML5 breaks

    dhh authored
Commits on Mar 13, 2013
  1. @rubys

    Add support for generate scaffold password:digest

    rubys authored
    * adds password_digest attribute to the migration
    * adds has_secure_password to the model
    * adds password and password_confirmation password_fields to _form.html
    * omits password entirely from index.html and show.html
    * adds password and password_confirmation to the controller
    * adds unencrypted password and password_confirmation to the controller test
    * adds encrypted password_digest to the fixture
Commits on Mar 2, 2013
  1. @amatsuda

    :scissors: extra blank line

    amatsuda authored
Commits on Jan 5, 2013
  1. @dhh
  2. @dhh
  3. @dhh
Commits on Oct 14, 2012
  1. @robin850
Commits on Oct 10, 2012
  1. @vijaydev

    Fixing build failures

    vijaydev authored
    Build failed with an error "invalid multibyte char (US-ASCII)" in these
    files. Apparently, some UTF-8 char disguised as whitespace causes this.
    
    Thanks @rafaelfranca
Commits on Oct 7, 2012
  1. nodoc Erb::Generators [ci skip]

    Francesco Rodriguez authored
Commits on Jul 18, 2012
  1. @carlosgaldino

    Remove `:confirm` in favor of `:data => { :confirm => 'Text' }` option

    carlosgaldino authored
    This applies to the following helpers:
    `button_to`
    `button_tag`
    `image_submit_tag`
    `link_to`
    `submit_tag`
Commits on Apr 29, 2012
  1. Close #3886 - Add THEAD and TBODY to scaffold markup

    twinturbo authored
Commits on Apr 17, 2012
  1. @LachyGroom

    Changes b tag to strong

    LachyGroom authored
    
    The change is made due to importance of the attribute name (e.g. Name:) on the page (versus just stylistic / appearance sake tag).
Commits on Mar 14, 2012
  1. @rafaelfranca

    Remove key_value helper now that master is 1.9 only and we always use

    rafaelfranca authored
    the 1.9 hash syntax in the generators.
Commits on Jan 26, 2012
  1. @josevalim
Commits on May 18, 2011
  1. @amatsuda

    for ... in => .each

    amatsuda authored
    I believe this is more modern way
Commits on Apr 10, 2011
  1. @sikachu @dhh

    Rails will now generate Ruby 1.9 style hash when running scaffold_con…

    sikachu authored dhh committed
    …troller generator on Ruby 1.9.x
    
    The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate.
    
    This patch has been requested by DHH.
Commits on Nov 16, 2010
  1. @drogus

    Change inside_namespace method to inside_template and use it in all t…

    drogus authored
    …emplates by default
    
    The initial implementation of namespacing was based on wrong
    assumptions. Namespacing path and class names in templates
    should be based on current namespace and skip_namespace attribute,
    but it should be not necessary to wrap content on all the templates
    into additional block methods.
Commits on Nov 3, 2010
  1. @drogus
Commits on Jun 24, 2010
  1. @sikachu @josevalim

    Remove the --singeleton option from scaffold generator.

    sikachu authored josevalim committed
    It turned out to be that scaffold for singeleton resource will always depend on another model, and it's not possible at the moment to make the application tests pass after generate the singeleton scafold. So, it would be better to remove it for now and probably provide another generator, such as singeleton_scaffold, in which also require the depended model name.
    
    [#4863 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Something went wrong with that request. Please try again.