- 03 11月, 2013 10 次提交
-
-
由 David Heinemeier Hansson 提交于
Revert "ActiveRecord::Base#<=> has been removed. Primary keys may not be in order," -- will be replaced with a check to ensure that the keys used for comparison are integers, and only fail if they are not. This reverts commit 6256734e. Conflicts: activerecord/CHANGELOG.md
-
由 David Heinemeier Hansson 提交于
-
由 Yury Korolev 提交于
-
由 David Heinemeier Hansson 提交于
-
由 Rafael Mendonça França 提交于
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
Extend ActiveRecord::Base#cache_key to take an optional list of timestamp attributes of which the highest will be used.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 David Heinemeier Hansson 提交于
Added ActiveRecord::Base#enum for declaring enum attributes where the values map to integers in the database, but can be queried by name
-
- 02 11月, 2013 2 次提交
-
-
由 Rafael Mendonça França 提交于
was using nullify strategy This caused a regression in applications trying to upgrade. Also if the user set the dependent option as destroy he expects to get the records removed from the database.
-
由 Rafael Mendonça França 提交于
-
- 01 11月, 2013 2 次提交
-
-
由 Arun Agrawal 提交于
Same as 4d4ff531
-
由 Arun Agrawal 提交于
Same as 4d4ff531
-
- 31 10月, 2013 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Yves Senn 提交于
-
- 30 10月, 2013 1 次提交
-
-
由 Jan Bernacki 提交于
-
- 29 10月, 2013 2 次提交
-
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
- 28 10月, 2013 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Paul Nikitochkin 提交于
Fixes: #12242, #9517, #10240
-
- 27 10月, 2013 1 次提交
-
-
由 Jerad Phelps 提交于
added schema_migrations_table_name to ActiveRecord::Base in order that the name of the schema migrations table can be configured. consolidated test_schema_migrations_table_name tests Added changelog entry edited changelog removed commented lines removed reader ensure the schema migrations table is reset at end of test added entry to configuration guide guides typo and changelog order
-
- 25 10月, 2013 8 次提交
-
-
由 Severin Schoepke 提交于
See also commit 5ac2341f
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
Raising `RuntimeErrors` skips important cleanup code and leads to a lot of subsequent errors. This clutters the test output with a lot of noise.
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
Currently they are all stored globally in the same `Hash`. This commit forces the creation of a per-class variable if necessary. The behavior was exposed through the following test-case: ``` 1) Failure: StoreTest#test_all_stored_attributes_are_returned [/Users/senny/Projects/rails/activerecord/test/cases/store_test.rb:151]: --- expected +++ actual @@ -1 +1 @@ -[:color, :homepage, :favorite_food] +[:resolution, :color, :homepage, :favorite_food] ```
-
由 Yves Senn 提交于
-
由 laurocaetano 提交于
-
- 22 10月, 2013 3 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
This is causing every default value in PostreSQL database to being handled as default function. Fixes #12581
-
由 Kevin Mook 提交于
-
- 21 10月, 2013 4 次提交
-
-
由 Yves Senn 提交于
-
由 Eric Hankins 提交于
Allows you to call #unscope on a relation with negative equality operators, i.e. Arel::Nodes::NotIn and Arel::Nodes::NotEqual that have been generated through the use of where.not.
-
由 Shimpei Makimoto 提交于
-
由 Paul Nikitochkin 提交于
Generated sub-query for Relation as array condition for `where` method did not take in account its bind values, in result generates invalid SQL query. Fixed by adding sub-query relation's binding values to base relation Closes: #12586
-
- 18 10月, 2013 1 次提交
-
-
由 Kenta Okamoto 提交于
-
- 16 10月, 2013 1 次提交
-
-
由 Derek Prior 提交于
`pluck` was updated to accept a list of columns, but the `NullRelation` was never updated to match that signature. As a result, calling `pluck` on a `NullRelation` results in an `ArgumentError`.
-
- 15 10月, 2013 1 次提交
-
-
由 Aaron Patterson 提交于
-