Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 5c078368c7
Commits on Oct 5, 2012
  1. @rafaelfranca
  2. @spastorino

    Merge pull request #7838 from guilleiguaran/extract-rack-cache

    spastorino authored
    Disable Rack::Cache by default
  3. @guilleiguaran
  4. @guilleiguaran
  5. @guilleiguaran
Commits on Oct 4, 2012
  1. @rafaelfranca

    Use String#exclude? to make sure that Active Support is not loaded when

    rafaelfranca authored
    bare is true.
    
    We need to change this since coffee-rails loads ActionView that loads
    core_ext/array/access.
  2. @rafaelfranca
  3. @rafaelfranca
  4. @rafaelfranca
  5. @rafaelfranca

    Remove unneeded CHANGELOG entry.

    rafaelfranca authored
    This was added in Rails 4 and we don't need changelog entries to
    behavior changes
    
    [ci skip]
  6. @dhh

    Merge pull request #7847 from bloudermilk/recursive_permit

    dhh authored
    ActionController::Parameters#permit! is recursive
  7. @bloudermilk
  8. @rafaelfranca

    Do not set removed option

    rafaelfranca authored
    Sine page caching was remove from the core we don't have the
    page_cache_directory anymore
  9. @dhh
  10. @rafaelfranca

    Merge pull request #7833 from frodsan/extract_ap_pages_actions_caching

    rafaelfranca authored
    Extract AP Page and Action caching from Rails
  11. @rafaelfranca

    Merge pull request #7846 from ahaymond/master

    rafaelfranca authored
    Updated comments for [ci skip]
  12. @AHaymond

    Update activerecord/lib/active_record/persistence.rb

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

    Francesco Rodriguez authored
    …de [ci skip]
  14. @dhh

    Merge pull request #7769 from rgarver/feature/public-fragment_name_wi…

    dhh authored
    …th_digest
    
    Move the CacheHelper#fragment_name_with_digest to be public
  15. @rgarver
  16. @rgarver
  17. @rafaelfranca
  18. @rafaelfranca

    Merge pull request #6978 from frodsan/count_nosql_unsaved_parent

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

    Francesco Rodriguez authored
    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.
  2. rename page_cache_extension option to default_static_extension

    Francesco Rodriguez authored
  3. @spastorino

    Refactor

    spastorino authored
  4. @rafaelfranca

    Use the `flat_map` method.

    rafaelfranca authored
    Thanks to @jeremy to teach me this one.
  5. @rafaelfranca

    Revert "Merge pull request #7826 from sikachu/master-validators-kind"

    rafaelfranca authored
    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.
  6. @rafaelfranca

    Don't use tap in this case.

    rafaelfranca authored
    The use of tap in this case is very confusing since we are mutating the
    return value inside the block
  7. @rafaelfranca

    Merge pull request #7826 from sikachu/master-validators-kind

    rafaelfranca authored
    Make `.validators_on` accept `:kind` option
  8. @sikachu

    Make `.validators_on` accept `:kind` option

    sikachu authored
    This will filter out the validators on a particular attribute based on
    its kind.
  9. @rafaelfranca

    Merge pull request #7825 from sikachu/master-rails-pathname

    rafaelfranca authored
    Make Rails.public_path return a Pathname
  10. @sikachu
Something went wrong with that request. Please try again.