- 17 5月, 2015 3 次提交
-
-
由 Eugene Kenny 提交于
Active Record detects when the process has forked and automatically creates a new connection pool to avoid sharing file descriptors. If the existing connection pool had a schema cache associated with it, the new pool should copy it to avoid unnecessarily querying the database for its schema. The code to detect that the process has forked is in ConnectionHandler, but the existing test for it was in the ConnectionManagement test file. I moved it to the right place while I was writing the new test for this change.
-
由 Kasper Timm Hansen 提交于
[ci skip] Improve grammar/syntax in AR validations docs.
-
由 Tim Wade 提交于
-
- 16 5月, 2015 3 次提交
-
-
由 Arun Agrawal 提交于
Pass over CHANGELOGS [ci skip]
-
由 Prathamesh Sonpatki 提交于
-
由 Matthew Draper 提交于
Reducing AR::ConPool's critical (synchronized) section
-
- 15 5月, 2015 4 次提交
-
-
由 Santiago Pastorino 提交于
Remove redundant require 'set' lines
-
由 Santiago Pastorino 提交于
Dead blog/site links [ci skip]
-
由 Ankit Gupta 提交于
-
由 Mehmet Emin İNAÇ 提交于
-
- 14 5月, 2015 19 次提交
-
-
由 Carlos Antonio da Silva 提交于
remove warning from integer ext test
-
由 yuuji.yaginuma 提交于
this removes the following warning: ``` test/core_ext/integer_ext_test.rb:34: warning: ambiguous first argument; put parentheses or a space even after `-' operator test/core_ext/integer_ext_test.rb:38: warning: ambiguous first argument; put parentheses or a space even after `-' operator ```
-
由 Matthew Draper 提交于
Do not put partial name to local_assigns when rendering without an object
-
由 Yves Senn 提交于
[ci skip] Remove comments about Rails 3.1
-
由 Henrik Nygren 提交于
When one rendered a partial template without specifying an object or a collection (e.g. <%= render partial: 'partial_name' %>), Rails would make an object called :partial_name available in local_assigns. I don't think this was the intended behavior, since no local variable called 'partial_name' gets defined in the view.
-
由 Zachary Scott 提交于
[ci skip] Improve phrasing in AR migrations docs.
-
由 Tim Wade 提交于
* insert 'and' into a poorly formed sentence. * avoid using 'reverse' twice in the same sentence (which would indicate the opposite of what is meant)
-
由 thedarkone 提交于
Renamed `@reserved_connections` -> `@thread_cached_conns`. New name clearly conveys the purpose of the cache, which is to speed-up `#connection` method. The new `@thread_cached_conns` now also uses `Thread` objects as keys (instead of previously `Thread.current.object_id`). Since there is no longer any synchronization around `@thread_cached_conns`, `disconnect!` and `clear_reloadable_connections!` methods now pre-emptively obtain ownership (via `checkout`) of all existing connections, before modifying internal data structures. A private method `release` has been renamed `thread_conn_uncache` to clear-up its purpose. Fixed some brittle `thread.status == "sleep"` tests (threads can go into sleep even without locks).
-
由 Claudio B. 提交于
Rails documentation standard is american english. [ci skip]
-
由 thedarkone 提交于
-
由 thedarkone 提交于
Move post checkout connection verification out of mutex.synchronize.
-
由 Rafael Mendonça França 提交于
remove redundant parenthesis
-
由 karanarora 提交于
-
由 Rafael Mendonça França 提交于
remove redundant parenthesis.
-
由 karanarora 提交于
-
由 karanarora 提交于
-
由 Rafael Mendonça França 提交于
Minor comment fix
-
由 Zoltan Kiss 提交于
-
由 David Heinemeier Hansson 提交于
-
- 13 5月, 2015 11 次提交
-
-
由 Carlos Antonio da Silva 提交于
In Rails 4.0, json decoding relied on MultiJson. This changed from 4.1 forward since it reached its end of life, and this extra argument was kept for compatibility. We are safe to remove it now.
-
由 Sean Griffin 提交于
Remove call to sanitize_sql_hash_for_conditions
-
由 Yves Senn 提交于
This can resolve confusing situation when a top level constant exists but a namespaced version is identified. Related to #19531.
-
由 Yves Senn 提交于
Merge branch 'sti-subclass-from-attributes' of https://github.com/agrobbin/rails into agrobbin-sti-subclass-from-attributes Conflicts: activerecord/CHANGELOG.md
-
由 Yves Senn 提交于
:nodoc: postgresql add_column
-
由 Tony Miller 提交于
-
由 Rafael Mendonça França 提交于
Add full set of MySQL CLI options to support SSL authentication when using db:structure dump and load
-
由 Alex Coomans 提交于
Add full set of MySQL CLI options to support SSL authentication when using db:structure dump and load
-
由 Rafael Mendonça França 提交于
Add more detailed comment about _assign_attribute method [ci skip]
-
由 Mehmet Emin İNAÇ 提交于
fix minor problems
-
由 Rafael Mendonça França 提交于
Refactor abstract_mysql_adapter type_to_sql method
-