Skip to content
Commits on Jan 9, 2016
  1. Simplify code that retreives AR connection

    * use recursion to get connection by class from pool
    because this version is more clear and it's a little bit faster
    * remove irrelevant more comments for the retrieve_connection_pool method
    committed Dec 31, 2015
Commits on Dec 30, 2015
  1. @kaspth

    [ci skip] Space out framework names in USAGE

    Two USAGE files were referring to Active Record and Active Model
    without a space, which is incorrect because we're referring to
    the framework name and not the constants.
    kaspth committed Dec 30, 2015
  2. @kaspth

    [ci skip] Update rails/all.rb reference.

    It didn't mention Action Cable's engine.
    kaspth committed Dec 30, 2015
  3. @rafaelfranca

    Merge pull request #22855 from rafbm/avoid-time-parse

    Avoid `Time.parse` for static date
    rafaelfranca committed Dec 30, 2015
  4. @rafaelfranca

    Add sass-rails back to the default Gemfile

    It was removed by mistake at 877a411
    rafaelfranca committed Dec 30, 2015
  5. @rafbm

    Avoid `Time.parse` for static date

      Benchmark.ips do |x|
        x.report('Time.parse') { Time.parse('2011-01-01') }
        x.report('Time.new')   { Time.new(2011, 1, 1) }
      end
    
      Calculating -------------------------------------
                Time.parse     6.640k i/100ms
                  Time.new    15.082k i/100ms
      -------------------------------------------------
                Time.parse     71.915k (± 3.1%) i/s -    365.200k
                  Time.new    167.645k (± 3.3%) i/s -    844.592k
    rafbm committed Dec 30, 2015
  6. @rafaelfranca

    Merge pull request #22848 from derekprior/dp-postgresql-version

    Make `postgresql_version` public
    rafaelfranca committed Dec 30, 2015
  7. @rafaelfranca

    Merge pull request #22851 from prathamesh-sonpatki/fix-to-unsafe-h-test

    Fix test for AC::Parameters#to_unsafe_h
    rafaelfranca committed Dec 30, 2015
  8. @prathamesh-sonpatki

    Fix test for AC::Parameters#to_unsafe_h

    - Test should call `to_unsafe_h` instead of `to_h`
    prathamesh-sonpatki committed Dec 30, 2015
  9. @rafaelfranca

    Merge pull request #22241 from kamipo/add_columns_for_distinct_for_my…

    …sql57
    
    Add `columns_for_distinct` for MySQL 5.7 with ONLY_FULL_GROUP_BY
    rafaelfranca committed Dec 30, 2015
  10. @rafaelfranca

    Merge pull request #22447 from kamipo/fix_test_to_null_agnostic_way

    Fix `test_find_with_order_on_included_associations_with_construct_finder_sql_for_association_limiting_and_is_distinct` to NULL-agnostic way
    rafaelfranca committed Dec 30, 2015
  11. @derekprior

    Make `postgresql_version` public

    This is useful to libraries that want to feature gate based on the
    version of PostgreSQL the user is connected to. For instance, I want to
    know if the user is connected to a version of Postgres that supports
    concurrent materialized view refreshes. I could add that as a method on
    the adapter as a PR, but rails has no need for this itself.
    
    Rails is already using the postgresql_version for its own feature gating
    and this makes that possible for other libraries.
    derekprior committed Dec 30, 2015
  12. @senny

    Merge pull request #22829 from jcoyne/test_parameters

    TestController#parameters returns AC::Parameters
    senny committed Dec 30, 2015
  13. @senny

    Merge pull request #22844 from prathamesh-sonpatki/issue_22836

    Fix documentation for configuring default_charset [ci skip]
    senny committed Dec 30, 2015
  14. @senny

    Merge pull request #22842 from akshay-vishnoi/typo-fix

    Fix typo
    senny committed Dec 30, 2015
  15. @senny

    Merge pull request #22843 from akshay-vishnoi/fix-release-5

    [ci skip] Put all removals in its section
    senny committed Dec 30, 2015
  16. @senny

    Merge pull request #22845 from yui-knk/remove_not_used_fixture

    Remove not used test fixture
    senny committed Dec 30, 2015
  17. @yui-knk

    Remove not used test fixture

    'actionmailer/test/mailers/async_mailer.rb' was deleted by
    f9da785 .
    This template is not used now.
    yui-knk committed Dec 30, 2015
  18. @prathamesh-sonpatki
  19. @akshay-vishnoi
  20. @akshay-vishnoi

    Fix typo

    akshay-vishnoi committed Dec 30, 2015
  21. @rafaelfranca

    Merge pull request #22803 from kamipo/improve_select_one_in_mysql2_ad…

    …apter
    
    Improve `select_one` in `Mysql2Adapter`
    rafaelfranca committed Dec 30, 2015
  22. @rafaelfranca

    Merge pull request #22547 from kamipo/fix_create_table_info_cache

    Correctly cache create_table_info
    rafaelfranca committed Dec 29, 2015
Commits on Dec 29, 2015
  1. @jcoyne

    TestController#parameters returns AC::Parameters

    Fixes #22827
    ActionView::TestCase::TestController#parameters should return an
    instance of ActionController::Parameters rather than a hash. This
    enables helper methods to use the correct interface.
    jcoyne committed Dec 29, 2015
  2. @schneems

    Merge pull request #22830 from jcoyne/parameters_include

    Add AC::Parameters#include?
    schneems committed Dec 29, 2015
  3. @spastorino

    Merge pull request #22831 from jmbejar/mime-negotiation-format-from-e…

    …xtension-fix
    
    Mime negotiation format from extension improvements
    spastorino committed Dec 29, 2015
  4. @jmbejar
  5. @jmbejar

    Rely on default Mime format when MimeNegotiation#format_from_path_ext…

    …ension is not a valid type
    
    Closes #22747
    jmbejar committed Dec 29, 2015
  6. @jcoyne

    Add AC::Parameters#include?

    Fixes #22818
    jcoyne committed Dec 29, 2015
  7. @kaspth

    Merge pull request #22622 from akshay-vishnoi/range_format_fix

    Fix - `to_s(:db)` in numeric range
    kaspth committed Dec 29, 2015
  8. @akshay-vishnoi
  9. @senny

    Merge pull request #22824 from maclover7/add-numericwithformat-tests

    Add test coverage for ActiveSupport::NumericWithFormat#to_formatted_s
    senny committed Dec 29, 2015
  10. @maclover7
  11. @schneems

    Merge pull request #22822 from maclover7/fix-22805

    Add a missing require to ActiveSupport::NumericWithFormat
    schneems committed Dec 28, 2015
  12. @maclover7
Something went wrong with that request. Please try again.