- 31 12月, 2015 9 次提交
-
-
由 Rafael França 提交于
Support extended grapheme clusters and UAX 29
-
由 Santiago Pastorino 提交于
Fixes #22773
-
由 Rafael França 提交于
Fix typo in Testing guide: test -> text
-
由 Sean Collins 提交于
-
由 Kasper Timm Hansen 提交于
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.
-
由 Kasper Timm Hansen 提交于
It didn't mention Action Cable's engine.
-
由 Rafael França 提交于
Avoid `Time.parse` for static date
-
由 Rafael Mendonça França 提交于
It was removed by mistake at 877a411d
-
由 Rafaël Blais Masson 提交于
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
-
- 30 12月, 2015 23 次提交
-
-
由 Rafael França 提交于
Make `postgresql_version` public
-
由 Rafael França 提交于
Fix test for AC::Parameters#to_unsafe_h
-
由 Prathamesh Sonpatki 提交于
- Test should call `to_unsafe_h` instead of `to_h`
-
由 Rafael França 提交于
Add `columns_for_distinct` for MySQL 5.7 with ONLY_FULL_GROUP_BY
-
由 Rafael França 提交于
Fix `test_find_with_order_on_included_associations_with_construct_finder_sql_for_association_limiting_and_is_distinct` to NULL-agnostic way
-
由 Derek Prior 提交于
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.
-
由 Yves Senn 提交于
TestController#parameters returns AC::Parameters
-
由 Yves Senn 提交于
Fix documentation for configuring default_charset [ci skip]
-
由 Yves Senn 提交于
Fix typo
-
由 Yves Senn 提交于
[ci skip] Put all removals in its section
-
由 Yves Senn 提交于
Remove not used test fixture
-
由 Prathamesh Sonpatki 提交于
- Fixes #22836.
-
由 Akshay Vishnoi 提交于
-
由 Akshay Vishnoi 提交于
-
由 Rafael França 提交于
Improve `select_one` in `Mysql2Adapter`
-
由 Rafael França 提交于
Correctly cache create_table_info
-
由 Justin Coyne 提交于
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.
-
由 Richard Schneeman 提交于
Add AC::Parameters#include?
-
由 Santiago Pastorino 提交于
Mime negotiation format from extension improvements
-
由 Jorge Bejar 提交于
-
由 Jorge Bejar 提交于
Closes #22747
-
由 Justin Coyne 提交于
Fixes #22818
-
- 29 12月, 2015 6 次提交
-
-
由 Kasper Timm Hansen 提交于
Fix - `to_s(:db)` in numeric range
-
由 Akshay Vishnoi 提交于
-
由 Yves Senn 提交于
Add test coverage for ActiveSupport::NumericWithFormat#to_formatted_s
-
由 Jon Moss 提交于
-
由 Richard Schneeman 提交于
Add a missing require to ActiveSupport::NumericWithFormat
-
由 Jon Moss 提交于
-
- 28 12月, 2015 2 次提交
-
-
由 Yves Senn 提交于
Fix #first(limit) to take advantage of #loaded? records if available
-
由 Yves Senn 提交于
This resolves the following error: ``` Error: TestAdapterWithInvalidConnection#test_inspect_on_Model_class_does_not_raise: TypeError: superclass mismatch for class Mysql2Adapter /Users/senny/Projects/rails/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb:35:in `<module:ConnectionAdapters>' /Users/senny/Projects/rails/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb:34:in `<module:ActiveRecord>' /Users/senny/Projects/rails/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb:6:in `<top (required)>' /Users/senny/Projects/rails/activesupport/lib/active_support/dependencies.rb:302:in `require' /Users/senny/Projects/rails/activesupport/lib/active_support/dependencies.rb:302:in `block in require' /Users/senny/Projects/rails/activesupport/lib/active_support/dependencies.rb:268:in `load_dependency' /Users/senny/Projects/rails/activesupport/lib/active_support/dependencies.rb:302:in `require' /Users/senny/Projects/rails/activerecord/lib/active_record/connection_adapters/connection_specification.rb:174:in `spec' /Users/senny/Projects/rails/activerecord/lib/active_record/connection_handling.rb:50:in `establish_connection' /Users/senny/Projects/rails/activerecord/test/cases/invalid_connection_test.rb:12:in `setup' ```
-