Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 2, 2012
  1. @vijaydev

    Merge branch 'master' of github.com:lifo/docrails

    vijaydev authored
    Conflicts:
    	actionpack/lib/action_controller/metal/mime_responds.rb
    	activerecord/lib/active_record/attribute_methods.rb
    	guides/source/working_with_javascript_in_rails.md
  2. @steveklabnik

    Fixed timezone mapping of Solomon Islands.

    steveklabnik authored
    Fixes #8095.
    
    For reference, here is the discussion about the mapping being
    incorrect:
    http://rubyforge.org/pipermail/tzinfo-users/2012-November/000114.html
Commits on Oct 30, 2012
  1. @gazay
Commits on Oct 29, 2012
  1. @nikitug

    Provide a call stack for deprecation warnings where needed.

    nikitug authored
    It's sometimes hard to quickly find where deprecated call was performed, especially in case of migrating between Rails versions. So this is an attempt to improve the call stack part of the warning message by providing caller explicitly.
  2. atomicc.rb: Don't assume we may chown/chmod a file.

    Daniele Sluijters authored
    Previously this code just assumed it is capable of changing the file
    ownership, both user and group. This will fail in a lot of scenario's
    unless:
    * The process is run as a superuser (root);
    * The owning user and group are already set to the user and group we're
      trying to chown to;
    * The user chown'ing only changes the group to another group it is a
      member of.
    If either of those conditions are not met the filesystem will simply
    deny the operation throwing an error.
    
    It is also not always possible to do a chmod, there might be a SELinux
    policy or another limitation preventing the user to change the file
    mode. To this end the chmod call has also been added to the rescue
    block.
    
    I've also added a little comment above the chmod command that doing a
    chmod on a file which has an ACL set will cause the ACL to be
    recalculated / modified.
Commits on Oct 27, 2012
  1. @pmahoney

    Replace flow-control exception with explicit test.

    pmahoney authored
    It was noticed while profiling 'assets:precompile' in JRuby that
    exception creation was consuming a large portion of time, and
    some of that was due to File.atomic_write.
    
    Testing first with File.exists? eliminates the need for an exception
    which should be a perfomrance improvement on both JRuby and MRI.
    In this case, the stat() isn't even extra overhead, since it is always
    called.
  2. @jeremy
Commits on Oct 26, 2012
  1. @jeremy
  2. @jeremy
  3. @jeremy
  4. @dgraham
  5. @carlosantoniodasilva
Commits on Oct 24, 2012
  1. @GRoguelon
Commits on Oct 23, 2012
  1. @noahhendrix
Commits on Oct 22, 2012
  1. @frodsan
Commits on Oct 21, 2012
  1. @AvnerCohen

    More changes around 1.9 hash syntax

    AvnerCohen authored
    Added missing space in previous hash related commit
  2. @vijaydev

    Merge branch 'master' of github.com:lifo/docrails

    vijaydev authored
    Conflicts:
    	activesupport/lib/active_support/core_ext/hash/slice.rb
    	guides/source/active_support_core_extensions.md
Commits on Oct 20, 2012
  1. @AvnerCohen
Commits on Oct 18, 2012
  1. @thedarkone @tenderlove
  2. @tenderlove

    some ruby interpreters don't have ruby-prof so just skip the tests

    tenderlove authored
    rather than exiting the process.
Commits on Oct 16, 2012
  1. @fxn

    Revert "remove unnecessary object/conversions file"

    fxn authored
    This file is used at least by Active Merchant, its existence
    is maybe not necessary but no big deal either.
    
    This reverts commit ae9b3d7.
Commits on Oct 13, 2012
  1. @jeremy
  2. @jeremy

    Remove the queue container. Premature consolidation. Set up and maint…

    jeremy authored
    …ain queues in the classes that use them instead.
Commits on Oct 12, 2012
  1. @rafaelfranca

    Merge pull request #7007 from Mik-die/hash_extract

    rafaelfranca authored
    make Hash#extract! more symmetric with Hash#slice
Commits on Oct 11, 2012
  1. @mje113

    Padding expires_in by 5 minutes on dalli key write to facilitate :rac…

    mje113 authored
    …e_condition_ttl working correctly.
Commits on Oct 10, 2012
  1. @josh
Commits on Oct 9, 2012
  1. @fxn
  2. @fxn

    keys.include? -> key?

    fxn authored
  3. @fxn

    Merge pull request #7817 from NARKOZ/object-conversions

    fxn authored
    remove unnecessary object/conversions file
Commits on Oct 7, 2012
  1. @Mik-die
  2. @fxn
  3. @fxn

    Merge pull request #7650 from kennyj/fix_warning_20120915

    fxn authored
    Fix warning: circular require considered harmful.
Commits on Oct 6, 2012
  1. @frodsan
  2. @frodsan

    use Rails backtrace in tests

    frodsan authored
Commits on Oct 5, 2012
  1. @spastorino

    Revert "Use flat_map { } instead of map {}.flatten"

    spastorino authored
    This reverts commit abf8de8.
    We should take a deeper look to those cases flat_map doesn't do deep
    flattening.
    
    irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten
    => [1, 3, 1, 2]
    irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i}
    => [[1, 3], [1, 2]]
Something went wrong with that request. Please try again.