- 20 3月, 2014 1 次提交
-
-
由 Josh Williams 提交于
The pk_an_sequence_for query previously joined against pg_class's oid for rows in pg_depend, but pg_depend's objid may point to other system tables, such as pg_attrdef. If a row in one of those other tables coincidentally has the same oid as an (unrelated) sequence, that sequence name may be returned instead of the real one. This ensures that only the pg_depend entries pointing to pg_class are considered.
-
- 19 3月, 2014 2 次提交
-
-
由 Rafael Mendonça França 提交于
Reorder conditional logic in link_to_if and link_to_unless
-
由 David Pedersen 提交于
According to the best practice that "unless not" and "unless else" is hard to follow logically the link_to_unless and link_to_if were reversed.
-
- 18 3月, 2014 11 次提交
-
-
由 Godfrey Chan 提交于
Add counter cache test for class_name
-
由 Arthur Neves 提交于
Backport test from #14410
-
由 Aaron Patterson 提交于
Previously, any of the connection checkouts could have failed, and this test would pass.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
Track owning thread for connection pool
-
由 Matthew Draper 提交于
.. not a general timeout. Now, if a thread checks out a connection then dies, we can immediately recover that connection and re-use it. This should alleviate the pool exhaustion discussed in #12867. More importantly, it entirely avoids the potential issues of the reaper attempting to check whether connections are still active: as long as the owning thread is alive, the connection is its business alone. As a no-op reap is now trivial (only entails checking a thread status per connection), we can also perform one in-line any time we decide to sleep for a connection.
-
由 Matthew Draper 提交于
It wasn't doing anything beyond clearing the statement cache.
-
由 Guillermo Iguaran 提交于
Add Public Api for Register New Extensions for Rake Notes
-
由 robertomiranda 提交于
-
由 robertomiranda 提交于
-
由 Aaron Patterson 提交于
re-raise error if error occurs before committing in streaming
-
- 17 3月, 2014 9 次提交
-
-
由 robertomiranda 提交于
-
由 Yves Senn 提交于
Closes #14406.
-
由 Yves Senn 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Jeremy Kemper 提交于
Add an explicit require for 4ece1243 rather than assume SecureRandom is available
-
由 Jeremy Kemper 提交于
-
由 robertomiranda 提交于
-
由 robertomiranda 提交于
-
- 16 3月, 2014 12 次提交
-
-
由 Andrew White 提交于
The method `shallow?` returns false if the parent resource is a singleton so we need to check if we're not inside a nested scope before copying the :path and :as options to their shallow equivalents. Fixes #14388.
-
由 Robin Dupret 提交于
Follow up to 024e5e31
-
由 Akira Matsuda 提交于
-
由 Jeremy Kemper 提交于
Extend fixture label replacement to allow string interpolation
-
由 Eric Steele 提交于
Allows fixtures to use their $LABEL as part of a string instead of limiting use to the entire value. mark: first_name: $LABEL username: $LABEL1973 email: $LABEL@$LABELmail.com users(:mark).first_name # => mark users(:mark).username # => mark1973 users(:mark).email # => mark@markmail.com
-
由 Jeremy Kemper 提交于
Reword 5.6 strong parameters and private method stuff [ci skip]
-
由 Afshin Mokhtari 提交于
-
由 Jeremy Kemper 提交于
Fix MailerPreview broken tests
-
由 Rafael Mendonça França 提交于
add include_hidden option to collection_check_boxes helper Conflicts: actionview/CHANGELOG.md actionview/test/template/form_collections_helper_test.rb
-
由 Arthur Neves 提交于
`BaseMailerPreview.welcome` is an instance method, so we need to stub the method on a instance level and not on Class. The stub is important to make sure the Message object is the same in the other expectations. This was working randomly because Mocha uses == to compare two objects on the `with()` expectation and even if the Mail::Message objects were not the same object they are equal, but thats not the case in 100% of the runs. So we need to make sure we use `.any_instance` method and have the right message object.
-
由 Arthur Neves 提交于
Minor grammer, code conventions fix [ci skip]
-
由 Zoltan Kiss 提交于
Conflicts: activesupport/lib/active_support/core_ext/hash/conversions.rb
-
- 15 3月, 2014 5 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
Remove deprecation on active_support/core_ext/class/attribute_accessors requires. Appropriate to keep this, users don't care that the implementation got unified.
-
由 Yves Senn 提交于
Use teardown helper method.
-
由 Kevin Casey 提交于
update the tests, using an if-else
-
由 Guo Xiang Tan 提交于
Follow-Up to https://github.com/rails/rails/pull/14348 Ensure that SQLCounter.clear_log is called after each test. This is a step to prevent side effects when running tests. This will allow us to run them in random order.
-