- 22 5月, 2013 3 次提交
-
-
由 Takehiro Adachi 提交于
The method got extracted out from AR::Base in commit d916c62c, but the tests never did.
-
由 Takehiro Adachi 提交于
The method itself got extracted out from ActiveRecored::Base in commit ceb33f84, but the test code never did.
-
由 Takehiro Adachi 提交于
The methods got moved to core.rb in commit b2c9ce34, but the tests never did.
-
- 18 5月, 2013 1 次提交
-
-
由 Takehiro Adachi 提交于
Due to commit 0123c39f, column topic.unique_replies_count has been added, and these test started to fail since the tests depends on the topic tables column info.
-
- 02 5月, 2013 1 次提交
-
-
由 Takehiro Adachi 提交于
`AR::Base#to_param` and `AR::Base#cache_key` is defined at active_record/integration.rb, so tests for those methods should be at integration_test.rb
-
- 13 4月, 2013 1 次提交
-
-
由 Xavier Noria 提交于
Existing code was delegating to the instance with delegate macro calls, or invoking the instance method to reach the object and call its instance methods. But the point is to have a clean class-level interface where the thread local instance is hidden in the implementation. References #11c69738. References #10198.
-
- 10 4月, 2013 1 次提交
-
-
由 wangjohn 提交于
PerThreadRegistry module.
-
- 09 4月, 2013 1 次提交
-
-
由 wangjohn 提交于
current_scope and ignore_default_scope locals are brought together under a registry object.
-
- 04 4月, 2013 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 28 3月, 2013 1 次提交
-
-
由 Alexander Balashov 提交于
-
- 27 3月, 2013 1 次提交
-
-
由 Sam Saffron 提交于
-
- 26 3月, 2013 1 次提交
-
-
由 Martin Schürrer 提交于
-
- 22 3月, 2013 1 次提交
-
-
由 Vipul A M 提交于
Introduce test on Error#full_message for attribute with underscores; Fix some typos
-
- 20 3月, 2013 1 次提交
-
-
由 Josh Adams 提交于
Type a fixo.
-
- 18 3月, 2013 1 次提交
-
-
由 Takehiro Adachi 提交于
These tests should be in inheritance_test.rb since its testing a feature which is implemented in inheritance.rb
-
- 15 3月, 2013 3 次提交
-
-
由 Yves Senn 提交于
We moved more and more away from passing options to finder / calculation methods. The `:distinct` option in `#count` was one of the remaining places. Since we can now combine `Relation#distinct` with `Relation#count` the option is no longer necessary and can be deprecated.
-
由 Yves Senn 提交于
The similarity of `Relation#uniq` to `Array#uniq` is confusing. Since our Relation API is close to SQL terms I renamed `#uniq` to `#distinct`. There is no deprecation. `#uniq` and `#uniq!` are aliases and will continue to work. I also updated the documentation to promote the use of `#distinct`.
-
由 Aaron Patterson 提交于
-
- 11 3月, 2013 1 次提交
-
-
由 Yasuo Honda 提交于
-
- 04 3月, 2013 1 次提交
-
-
由 Aaron Weiner 提交于
Calling a literal ActiveRecord::Base.new raises NoMethodError, since it ends up calling Class.abstract_class? which does not exist. Similarly, instantiating an actual abstract class hits the database, when conventionally it should immediately throw NotImplementedError. ActiveRecord::Base can't be made abstract without breaking many, many things, so check for it separately.
-
- 26 2月, 2013 1 次提交
-
-
由 Brendon Murphy 提交于
- Extract max timestamp retrieval for cache_key - Update changelog for cache_key changes
-
- 25 2月, 2013 1 次提交
-
-
由 wangjohn 提交于
object that has not yet been persisted. This behavior follows the precedent set by update_columns.
-
- 19 2月, 2013 1 次提交
-
-
由 Takehiro Adachi 提交于
These are duplicated with the tests which are in relations_test.rb
-
- 18 2月, 2013 1 次提交
-
-
由 Takehiro Adachi 提交于
-
- 06 1月, 2013 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 04 1月, 2013 1 次提交
-
-
- 02 1月, 2013 2 次提交
-
-
由 Akira Matsuda 提交于
-
由 Rafael Mendonça França 提交于
-
- 01 1月, 2013 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 12 12月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
Conflicts: activerecord/test/cases/base_test.rb
-
- 11 12月, 2012 2 次提交
-
-
由 Rafael Mendonça França 提交于
This can be done using the class attribute cache_timestamp_format Conflicts: railties/guides/source/configuring.textile
-
由 Rafael Mendonça França 提交于
Conflicts: activerecord/test/models/bulb.rb activerecord/test/schema/schema.rb
-
- 16 11月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 13 11月, 2012 1 次提交
-
-
由 Nikita Afanasenko 提交于
-
- 03 11月, 2012 1 次提交
-
- 26 10月, 2012 1 次提交
-
-
由 Jon Leighton 提交于
In the end I think the pain of implementing this seamlessly was not worth the gain provided. The intention was that it would allow plain ruby objects that might not live in your main application to be subclassed and have persistence mixed in. But I've decided that the benefit of doing that is not worth the amount of complexity that the implementation introduced.
-
- 23 10月, 2012 1 次提交
-
-
由 AvnerCohen 提交于
-
- 07 10月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 17 9月, 2012 1 次提交
-
-
由 Guillermo Iguaran 提交于
-
- 15 9月, 2012 1 次提交
-
-
由 Steve Klabnik 提交于
Due to its lack of thread safety, we're deprecating this, and it will be removed in Rails 4.1. Fixes #4060.
-