- 10 5月, 2014 15 次提交
-
-
由 Arthur Neves 提交于
-
由 Aaron Patterson 提交于
This lets us avoid 1. A slow call to Hash#slice 2. An is_a? test 3. Extra hash allocations (from slice) 4. String allocations etc.
-
由 Aaron Patterson 提交于
avoids extra hash allocations on each call
-
由 Aaron Patterson 提交于
this is due to: https://bugs.ruby-lang.org/issues/5994
-
由 Aaron Patterson 提交于
-
由 Godfrey Chan 提交于
Documentation, add examples of using an Enum scope [ci skip]
-
由 Zac 提交于
When scanning the Enum API page I found it easy to miss that scopes are generated. Adding an example clarifies use and has more... *pop*...
-
由 Yves Senn 提交于
-
由 Rafael Mendonça França 提交于
Only need MINOR version level to test Ruby 2.1.x on Travis
-
由 Rafael Mendonça França 提交于
Reverts dirty track restore on transactions rollback
-
由 Aaron Patterson 提交于
do not test internals
-
由 Arthur Neves 提交于
We are reverting these commits, because there are other caveats related to dirty attributes not being restored when a transaction is rollback. For instance, nested transactions cannot proper restore the dirty attributes state after a rollback. At the moment, the dirty attributes are scoped by the transaction. When we call `.save` on a record, the dirty attributes will be reset even if the transaction gets rollback. [related #13166] [related #15018] [related #15016] [closes #15019] This reverts commits * bab48f0a * b0fa7cf3. * 73fb39b6 * 37c23892. * 8d8d4f15 Revert "Merge pull request #13166 from bogdan/transaction-magic"
-
由 Guillermo Iguaran 提交于
Use ruby 2.1.2 on travis
-
由 Arthur Neves 提交于
-
- 09 5月, 2014 10 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
Change 'a' to 'an' [ci skip]
-
由 Santosh Wadghule 提交于
-
由 Rafael Mendonça França 提交于
[ci skip] Minor improvements on routing.md.
-
由 Juanito Fatas 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
I wanted the middle model to be anonymous, but we have to give it a name for marshal support. :'(
-
- 08 5月, 2014 15 次提交
-
-
由 Yves Senn 提交于
This test was inspired by #14866. That PR would break this functionality and we should make sure we notice that in the future.
-
由 Carlos Antonio da Silva 提交于
Habtm relation size calculation fix. Fixes #14913, Fixes #14914.
-
由 Yves Senn 提交于
This resulted in some unrelated errors on Traivs: 1) Error: PostgresqlUUIDTest#test_treat_blank_uuid_as_nil: ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column "thingy" of relation "uuid_data_type" does not exist LINE 1: INSERT INTO "uuid_data_type" ("thingy") VALUES ($1) RETURNIN... ^ : INSERT INTO "uuid_data_type" ("thingy") VALUES ($1) RETURNING "id" /cc @zuhao
-
由 Yves Senn 提交于
-
由 Fred Wu 提交于
HABTM should fall back to using the normal CollectionAssociation's size calculation if the collection is not cached or loaded. This addresses both #14913 and #14914 for master.
-
由 Godfrey Chan 提交于
Mismatch branch name between text and code example [ci skip]
-
由 Ivan Tse 提交于
[ci skip]
-
由 Godfrey Chan 提交于
Dup the changed_attributes otherwise we could lose them
-
由 Arthur Neves 提交于
-
由 Rafael Mendonça França 提交于
Use Rails::Paths::Path#existent in database_configuration
-
由 Pier-Olivier Thibault 提交于
Database configuration was trying to load the first path that config.paths['config/database'] was returning even if the path didn't exist in the filesystem. Because Rails::Paths::Path has the possibility to return more than 1 path (as an array), database_configuration should filter down the paths to the existing one and then load the first one. This would make it possible to move the database.yml file and add the new path to paths['config/database'] and still load the configurations.
-
由 Rafael Mendonça França 提交于
Closes #14989
-
由 Paul B 提交于
-
由 Rafael Mendonça França 提交于
Fix Hash#deep_merge bug and improve documentation — resolves #12738
-
由 Rafael Mendonça França 提交于
-