Permalink
Commits on Jan 10, 2013
  1. Update guides/source/i18n.md

    If I use "/:locale" without brackets in my Rails 3.2.9 app it causes routing error 
    "ActionController::RoutingError (wrong constant name :locale)" 
    Additional brackets fixes that.
    committed Jan 10, 2013
  2. update assets guide code styling

    * 1.9 hash syntax
    * proper formatting around one line blocks
    * do-end for multiline blocks
    goshakkk committed Jan 10, 2013
Commits on Jan 8, 2013
  1. remove 'update' duplications

    xuanxu committed Jan 8, 2013
  2. Merge branch 'master' of github.com:lifo/docrails

    Conflicts:
    	guides/source/getting_started.md
    vijaydev committed Jan 8, 2013
  3. Merge pull request #8818 from jamis/master

    view_cache_dependency API
    dhh committed Jan 8, 2013
  4. view_cache_dependency API

    A declarative API for specifying dependencies that affect template
    cache digest computation. In your controller, specify any of said
    dependencies:
    
      view_cache_dependency { "phone" if using_phone? }
    
    When the block is evaluated, the resulting value is included in the
    cache digest calculation, allowing you to generate different digests
    for effectively the same template. (Mostly useful if you're mucking
    with template load paths.)
    jamis committed Jan 8, 2013
  5. Merge pull request #8810 from NARKOZ/image-submit-tag

    set 'alt' attribute for image_submit_tag
    steveklabnik committed Jan 8, 2013
  6. Bump rack dependency to 1.4.3

    It includes security bug fixes and changes the initialization of
    Rack::File to accept a hash, otherwise generating warnings.
    
    See 295806e for the warnings fix.
    carlosantoniodasilva committed Jan 8, 2013
  7. Merge pull request #8812 from rubys/master

    Eliminate Rack::File headers deprecation warning
    carlosantoniodasilva committed Jan 8, 2013
  8. Eliminate Rack::File headers deprecation warning

    See http://intertwingly.net/projects/AWDwR4/checkdepot/section-6.1.html
    rake test produces:
       "Rack::File headers parameter replaces cache_control after Rack 1.5."
    
    Despite what the message says, it appears that the hearders parameter change
    will be effective as of Rack 1.5:
    
    https://github.com/rack/rack/blob/rack-1.4/lib/rack/file.rb#L24
    https://github.com/rack/rack/blob/master/lib/rack/file.rb#L24
    rubys committed Jan 8, 2013
  9. Do not generate local vars for partials without object or collection

    Previously rendering a partial without giving :object or :collection
    would generate a local variable with the partial name by default.
    
    This was noticed due to warnings in Ruby 2.0 of not used variables,
    which turned out to be the generation of not used variables inside
    partials that do not contain objects related to them.
    carlosantoniodasilva committed Dec 12, 2012
  10. Ignore binds payload with nil column in AR log subscriber

    Some tests were raising the following error:
    
        Could not log "sql.active_record" event. NoMethodError: undefined method
        `type' for nil:NilClass`
    
    Due to the way binds were being logged, the column info was considered
    always present, but that is not true for some of the tests listed in the
    issue.
    
    Closes #8806.
    carlosantoniodasilva committed Jan 8, 2013
  11. Merge pull request #8800 from acapilleri/primary_key

    refactor reset_primary_key and change !blank? to present? in get_primary...
    pixeltrix committed Jan 8, 2013
  12. Merge pull request #8808 from tricknotes/use-absolute-path

    Use absolute path [ci skip]
    carlosantoniodasilva committed Jan 8, 2013
  13. Use absolute path

    It is semantically correct than relative path.
    tricknotes committed Jan 7, 2013
  14. Merge pull request #8801 from ktheory/dont_require_turn

    Don't require 'turn' from rails/test_help
    guilleiguaran committed Jan 8, 2013
  15. Avoid Rack security warning no secret provided

    This avoids "SECURITY WARNING: No secret option provided to Rack::Session::Cookie."
    spastorino committed Jan 8, 2013
  16. Merge pull request #8802 from claudiob/patch-1

    Update guides/source/getting_started.md [ci skip]
    guilleiguaran committed Jan 8, 2013
  17. Initialize instance variable to remove warning

        actions.rb:34: warning: instance variable @in_group not initialized
    carlosantoniodasilva committed Jan 8, 2013
  18. Fix readme tests

    Related to the change introduced in 6cf47c5.
    carlosantoniodasilva committed Jan 8, 2013
Commits on Jan 7, 2013
  1. new README generated for new apps

    fxn committed Jan 7, 2013
  2. let the rails gem ship with the README

    The doc:rails application rake task needs this README.
    fxn committed Jan 7, 2013
  3. Fix named scope + class method example

    Closes #8804 [ci skip]
    carlosantoniodasilva committed Jan 7, 2013
  4. Merge pull request #8803 from frodsan/sp_docs

    Improve StrongParameters documentation [ci skip]
    carlosantoniodasilva committed Jan 7, 2013
  5. Merge pull request #8773 from goshakkk/guides-page-titles

    Place article name in the beginning of guides page title
    fxn committed Jan 7, 2013
  6. Revert some warning removals related to Ruby 2.0

    These warnings were actually a bug in Ruby 2.0, the accessors should not
    be raising such warnings, they are only meant for ivars.
    
    -
    
    Revert "fix warnings in Ruby 2.0"
    
    This reverts commit 26702a6.
    
    -
    
    Revert "Merge pull request #8282 from arunagw/warning_removed_for_ruby2"
    
    This reverts commit f63d654, reversing
    changes made to 3a89068.
    carlosantoniodasilva committed Dec 13, 2012