- 30 3月, 2015 4 次提交
-
-
由 Sean Griffin 提交于
Fixes #19568
-
由 Sean Griffin 提交于
We were never clearing the `PG::Result` object used to query the types when the connection is first established. This would lead to a potentially large amount of memory being retained for the life of the connection. Investigating this issue also revealed several low hanging fruit on the performance of these methods, and the number of allocations has been reduced by ~90%. Fixes #19578
-
由 Zachary Scott 提交于
[ci skip] Fix an object of `reference`
-
由 Zachary Scott 提交于
use correct method in batches test
-
- 29 3月, 2015 1 次提交
-
-
由 yuuji.yaginuma 提交于
-
- 28 3月, 2015 10 次提交
-
-
由 Xavier Noria 提交于
Return super in ActionController::Parameters.const_missing
-
由 Shuhei Kagawa 提交于
The current implementation of ActionController::Parameters.const_missing returns `ActionController::Parameters.always_permitted_parameters` even if its `super` returns a constant without raising error. This prevents its subclass in a autoloading module/class from taking advantage of autoloading constants. class SomeParameters < ActionController::Parameters def do_something DefinedSomewhere.do_something end end In the code above, `DefinedSomewhere` is to be autoloaded with `Module.const_missing` but `ActionController::Parameters.const_missing` returns `always_permitted_parameters` instead of the autoloaded constant. This pull request fixes the issue respecting `const_missing`'s `super`.
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Remove old and not working link. [ci skip]
-
由 Santosh Wadghule 提交于
-
由 Rafael Mendonça França 提交于
setup as block run before setup actlually runs so it will fail for our case
-
由 Rafael Mendonça França 提交于
We are promoting too much a feature that will not be widler used. So for now lets keep just the ArrayInquirer constructor.
-
由 Rafael Mendonça França 提交于
Provide friendlier access to request variants
-
由 Zachary Scott 提交于
Improve CHANGELOG for fix for respecting pluralize_table_names [ci skip...
-
由 Prathamesh Sonpatki 提交于
-
- 27 3月, 2015 17 次提交
-
-
由 Abdelkader Boudih 提交于
[skip ci] Improve `warn_on_records_fetched` code documentation
-
由 Jon Atack 提交于
- ‘dection’ -> ‘detection’ - ‘exceeds threshold’ -> ‘exceeds the threshold’ - Other minor improvements.
-
由 Yves Senn 提交于
respect `pluralize_table_names` when generate fixture file. fixes #19519
-
由 yuuji.yaginuma 提交于
-
由 Yves Senn 提交于
[ci skip] Unify the code comment in ActionView::Renderer#render_template...
-
由 Matthew Draper 提交于
Correct doc sentence [ci skip]
-
由 Akira Matsuda 提交于
-
由 Santosh Wadghule 提交于
-
由 Richard Schneeman 提交于
[skip ci] Update configuring.md with #18846
-
由 Jon Atack 提交于
Add `config.active_record.warn_on_records_fetched_greater_than` to the Configuring Rails Guide.
-
由 Sean Griffin 提交于
Merges 647eb2cf. The pull request as a whole is quite large, and I'm reviewing the smaller pieces individually.
-
由 Sean Griffin 提交于
Merges 1d8d5a74. The pull request as a whole is quite large, and I'm reviewing the smaller pieces individually.
-
由 Rafael Mendonça França 提交于
Add `config.active_record.warn_on_result_set_size` option
-
由 Rafael Mendonça França 提交于
Add missing :html option in determine_template error message.
-
由 Juanito Fatas 提交于
-
由 Juanito Fatas 提交于
-
由 Vijay Dev 提交于
Conflicts: guides/source/4_0_release_notes.md
-
- 26 3月, 2015 3 次提交
-
-
由 Arthur Nogueira Neves 提交于
[skip ci] Minor edits for clarity in the test fixture guide.
-
由 Kyle Oba 提交于
* Add conjunction for clarity. * Add comma between independent clauses: create command, and generation of fixtures.
-
由 Jason Nochlin 提交于
When set to an integer, a warning will be logged whenever a result set larger than the specified size is returned by a query. Fixes #16463 The warning is outputed a module which is prepended in an initializer, so there will be no performance impact if `config.active_record.warn_on_records_fetched_greater_than` is not set.
-
- 25 3月, 2015 5 次提交
-
-
由 Lars Kanis 提交于
This obsoletes the ruby based implementations.
-
由 Lars Kanis 提交于
The type map was introduced in aafee233, but wasn't properly filled. This mainly adjusts many locations, that expected strings instead of integers or boolean. add_pg_decoders is moved after setup of the StatementPool, because execute_and_clear could potentially make use of it.
-
由 Lars Kanis 提交于
Ruby-pg's default way to serialize values for transmission to the database is to call #to_s . This however creates a temporary String object for each value. Setting a class based type map avoids the allocation of this additional String. The performance benefit is measurable in microbenchmarks, but not with the overhead of activerecord. However it's free to use and has no drawback.
-
由 Kasper Timm Hansen 提交于
Documenting remove_column as a reversible migration method
-
由 Andrey Nering 提交于
-