Permalink
Commits on Oct 5, 2012
  1. Merge pull request #7838 from guilleiguaran/extract-rack-cache

    Disable Rack::Cache by default
    spastorino committed Oct 5, 2012
Commits on Oct 4, 2012
  1. Use String#exclude? to make sure that Active Support is not loaded when

    bare is true.
    
    We need to change this since coffee-rails loads ActionView that loads
    core_ext/array/access.
    rafaelfranca committed Oct 4, 2012
  2. Remove unneeded CHANGELOG entry.

    This was added in Rails 4 and we don't need changelog entries to
    behavior changes
    
    [ci skip]
    rafaelfranca committed Oct 4, 2012
  3. Merge pull request #7847 from bloudermilk/recursive_permit

    ActionController::Parameters#permit! is recursive
    dhh committed Oct 4, 2012
  4. Do not set removed option

    Sine page caching was remove from the core we don't have the
    page_cache_directory anymore
    rafaelfranca committed Oct 4, 2012
  5. Merge pull request #7833 from frodsan/extract_ap_pages_actions_caching

    Extract AP Page and Action caching from Rails
    rafaelfranca committed Oct 4, 2012
  6. Merge pull request #7846 from ahaymond/master

    Updated comments for [ci skip]
    rafaelfranca committed Oct 4, 2012
  7. Update activerecord/lib/active_record/persistence.rb

    - Changed the comments documentation for the update_column(s) methods to add a little bit of clarity
    AHaymond committed Oct 4, 2012
  8. add an entry about AP page and action extraction in the upgrading gui…

    …de [ci skip]
    Francesco Rodriguez committed Oct 4, 2012
  9. Merge pull request #7769 from rgarver/feature/public-fragment_name_wi…

    …th_digest
    
    Move the CacheHelper#fragment_name_with_digest to be public
    dhh committed Oct 4, 2012
  10. Merge pull request #6978 from frodsan/count_nosql_unsaved_parent

    Count returns 0 without querying if parent is not saved
    rafaelfranca committed Oct 4, 2012
Commits on Oct 3, 2012
  1. Count returns 0 without querying if parent is not saved

    Patches `CollectionAssociation#count` to return 0 without querying
    if the parent record is new. Consider the following code:
    
        class Account
          has_many :dossiers
        end
    
        class Dossier
          belongs_to :account
        end
    
        a = Account.new
        a.dossiers.build
    
        # before patch
        a.dossiers.count
        # SELECT COUNT(*) FROM "dossiers" WHERE "dossiers"."account_id" IS NULL
        # => 0
    
        # after
        a.dosiers.count # fires without sql query
        # => 0
    
    Fixes #1856.
    Francesco Rodriguez committed Oct 3, 2012
  2. rename page_cache_extension option to default_static_extension

    Francesco Rodriguez committed Oct 3, 2012
  3. Refactor

    spastorino committed Oct 3, 2012
  4. Use the `flat_map` method.

    Thanks to @jeremy to teach me this one.
    rafaelfranca committed Oct 3, 2012
  5. Revert "Merge pull request #7826 from sikachu/master-validators-kind"

    This reverts commit 4e9f53f, reversing
    changes made to 6b802cd.
    
    Revert "Don't use tap in this case."
    
    This reverts commit 454d820.
    
    Reason: Is not a good idea to add options to this method since we can do
    the same thing using method composition.
    
        Person.validators_on(:name).select { |v| v.kind == :presence }
    
    Also it avoids to change the method again to add more options.
    rafaelfranca committed Oct 3, 2012
  6. Don't use tap in this case.

    The use of tap in this case is very confusing since we are mutating the
    return value inside the block
    rafaelfranca committed Oct 3, 2012
  7. Merge pull request #7826 from sikachu/master-validators-kind

    Make `.validators_on` accept `:kind` option
    rafaelfranca committed Oct 3, 2012
  8. Make `.validators_on` accept `:kind` option

    This will filter out the validators on a particular attribute based on
    its kind.
    sikachu committed Oct 3, 2012
  9. Merge pull request #7825 from sikachu/master-rails-pathname

    Make Rails.public_path return a Pathname
    rafaelfranca committed Oct 3, 2012
Commits on Oct 2, 2012
  1. Merge pull request #6952 from NZKoz/key_generator

    Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2
    NZKoz committed Oct 2, 2012