- 11 11月, 2013 3 次提交
-
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
-
由 Denis Redozubov 提交于
-
- 10 11月, 2013 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 09 11月, 2013 1 次提交
-
-
由 Yves Senn 提交于
The log output used to be confusing in situation where type casting has "unexpected" effects. For example when finding records with a `String`. BEFORE: irb(main):002:0> Event.find("im-no-integer") D, [2013-11-09T11:10:28.998857 #1706] DEBUG -- : Event Load (4.5ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", "im-no-integer"]] AFTER: irb(main):002:0> Event.find("im-no-integer") D, [2013-11-09T11:10:28.998857 #1706] DEBUG -- : Event Load (4.5ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 0]]
-
- 07 11月, 2013 2 次提交
-
-
由 Jason Ayre 提交于
-
由 Jason Ayre 提交于
-
- 04 11月, 2013 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 03 11月, 2013 6 次提交
-
-
由 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 提交于
-
由 Rafael Mendonça França 提交于
-
由 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 提交于
-
由 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 1 次提交
-
-
由 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.
-
- 31 10月, 2013 2 次提交
- 30 10月, 2013 1 次提交
-
-
由 Jan Bernacki 提交于
-
- 28 10月, 2013 2 次提交
-
-
由 David Heinemeier Hansson 提交于
-
由 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 5 次提交
-
-
由 Severin Schoepke 提交于
See also commit 5ac2341f
-
由 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] ```
-
由 laurocaetano 提交于
-
由 Rafael Mendonça França 提交于
-
- 22 10月, 2013 2 次提交
-
-
由 Yves Senn 提交于
-
由 Kevin Mook 提交于
-
- 21 10月, 2013 3 次提交
-
-
由 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
-
- 20 10月, 2013 1 次提交
-
-
由 Szymon Nowak 提交于
-
- 18 10月, 2013 1 次提交
-
-
由 Kenta Okamoto 提交于
-
- 16 10月, 2013 4 次提交
-
-
由 Lucas Mazza 提交于
-
由 Vijay Dev 提交于
-
由 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`.
-
- 14 10月, 2013 3 次提交
-
-
由 Neeraj Singh 提交于
Currently `scope_chain` uses same array for building different `scope_chain` for different associations. During processing these arrays are sometimes mutated and because of in-place mutation the changed `scope_chain` impacts other reflections. Fix is to dup the value before adding to the `scope_chain`. Fixes #3882.
-
由 Yves Senn 提交于
-
由 Dmitry Polushkin 提交于
-