Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 27, 2012
  1. Akira Matsuda
Commits on Feb 26, 2012
  1. Xavier Noria

    let the connection pool of new applications have size 1 rather than 5

    fxn authored
    The majority of Rails applications are multiprocess, people
    may wonder why rails new generates a default pool of 5, does
    my application need a connection pool of 5? By generating
    a default of 1 database.yml is much more clear, and with
    the comment people know what is the connection pool for,
    and they know it has to be bigger for multithread apps.
Commits on Feb 25, 2012
  1. Xavier Noria

    consistently mention first patch, then put

    fxn authored
    There was a mix, sometimes patch first, sometimes put first.
    Use always patch first, since this is going to be the
    primary verb for updates.
  2. Xavier Noria

    uses PATCH for the forms of persisted records, and routes PATCH and P…

    fxn authored
    …UT to the update action of resources
Commits on Feb 24, 2012
  1. Xavier Noria

    removes the reconnect key from the database.yml generated for MySQL

    fxn authored
    The reconnect flag does not play nicely with transactions and so
    it is of little use in Rails applications. Thus, albeit supported
    by mysql2, it does not deserve such a prominent place in the
    generated database.yml, which should be a representative config
    example. Note that the flag is false by default.
    
    Advanced users know from mysql2 docs that the flag is available.
  2. Xavier Noria
Commits on Feb 23, 2012
  1. Felix Bünemann
  2. Felix Bünemann

    Move config.autoflush_log to correct template.

    felixbuenemann authored
    This accidentally ended up in the development template
    instead of the production template, where it makes
    most sense.
Commits on Feb 22, 2012
  1. Felix Bünemann
  2. Felix Bünemann
  3. Felix Bünemann
  4. David Lee

    Add config.default_method_for_update to support PATCH

    dlee authored
    PATCH is the correct HTML verb to map to the #update action. The
    semantics for PATCH allows for partial updates, whereas PUT requires a
    complete replacement.
    
    Changes:
    * adds config.default_method_for_update you can set to :patch
    * optionally use PATCH instead of PUT in resource routes and forms
    * adds the #patch verb to routes to detect PATCH requests
    * adds #patch? to Request
    * changes documentation and comments to indicate support for PATCH
    
    This change maintains complete backwards compatibility by keeping :put
    as the default for config.default_method_for_update.
Commits on Feb 18, 2012
  1. Vijay Dev
Commits on Feb 16, 2012
  1. Piotr Sarnacki
  2. Piotr Sarnacki

    Allow to set custom console type with Rails.application.config.console=

    drogus authored
    This patch adds ability to set custom console if you want to use
    something other than IRB. Previously the hack that people used
    was:
    
        silence_warnings do
          require 'pry'
          IRB = Pry
        end
    
    which is not the best way to customize things.
  3. Piotr Sarnacki
  4. Ryan Bigg
  5. Ryan Bigg
Commits on Feb 14, 2012
  1. Sergey Nartimov
Commits on Feb 7, 2012
  1. Aaron Patterson
  2. Jeremy Kemper

    Fix that failed tests should exit with a nonzero error code.

    jeremy authored
    Partially reverts 14c89e7.
    
    Hat tip to @tenderlove for paring down the TestTask!
Commits on Feb 5, 2012
  1. Bartłomiej Kozal
Commits on Feb 3, 2012
  1. Carlos Antonio da Silva

    Add convenience method to hide a generator from the available ones

    carlosantoniodasilva authored
    It is usually useful to be able to hide a generator when running rails
    generate command. Such generators might be used only to dry up
    generators code and shouldn't be available to end users.
Commits on Feb 1, 2012
  1. Guillermo Iguaran
  2. José Valim

    Merge pull request #4825 from sikachu/master-fix-plugin-new

    josevalim authored
    Fix broken test introduced from #4814
  3. Toshinori Kajihara
  4. Prem Sichanugrist

    Fix broken test introduced from #4814

    sikachu authored
    * ruby_debugger_gemfile_entry was removed from the generator. Please
      make sure to run `grep` or `ack` to make sure it was removed in every
      places.
  5. Guillermo Iguaran

    Remove ruby_debugger_gemfile_entry from app_base, we can just put rub…

    guilleiguaran authored
    …y-debug19 commented directly in Gemfile
Commits on Jan 31, 2012
  1. Toshinori Kajihara
  2. Rafael Mendonça França
  3. Jon Leighton

    Merge pull request #4727 from railsaholic/dependent_restrict_should_a…

    jonleighton authored
    …dd_error
    
    has_many/has_one, :dependent => :restrict, deprecation added
Commits on Jan 30, 2012
  1. Prem Sichanugrist
  2. Xavier Noria

    rewrites a couple of alternations in regexps as character classes

    fxn authored
    Character classes are the specific regexp construct
    to express alternation of individual characters.
  3. Vijay Dev

    Fixes #4764 - remove generated new line in routes.rb on scaffold gene…

    vijaydev authored
    …ration
    
    As explained in #4764, when destroying a scaffold, routes.rb loses a
    new line. This seems to happen because a new line is added
    while generating the route and the destroy generator removes it.
    However, this causes a problem if the routes file is manually edited
    to remove such new lines. This commit just removes that extra new line
    from added in the first place.
  4. Rahul P. Chaudhari
Something went wrong with that request. Please try again.