Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Build fix when running in isolation | Arun Agrawal | 2014-11-14 | 1 | -0/+1 |
| | | | | | `Computer` class needs to be require See #17217 for more details | ||||
* | Fix test for cache_key + touched | Carlos Antonio da Silva | 2014-01-16 | 1 | -9/+9 |
| | | | | | Ensure the child can actually be touched. The `Bulb` model has no timestamp column, thus trying to touch it would return `nil`. | ||||
* | set encoding UTF-8 for accepting multibyte character | Kuldeep Aggarwal | 2013-12-19 | 1 | -0/+2 |
| | |||||
* | Fix to_param when attribute has multibyte character | rono23 | 2013-12-19 | 1 | -0/+6 |
| | |||||
* | added one test case and example for ActiveRecord::Base.to_param method | Kuldeep Aggarwal | 2013-11-15 | 1 | -0/+6 |
| | |||||
* | Addendum to #12891 | Javan Makhmali | 2013-11-14 | 1 | -2/+18 |
| | | | | | | * Fix incorrectly named tests * Restore Object#to_param behavior * Ensure param is derived from a squished and truncated string | ||||
* | Add AR::Base.to_param for convenient "pretty" URLs derived from a model's ↵ | Javan Makhmali | 2013-11-14 | 1 | -0/+18 |
| | | | | attribute or method. | ||||
* | Respect cache timestamp format when giving timestamps to #cache_key | Carlos Antonio da Silva | 2013-11-04 | 1 | -2/+2 |
| | |||||
* | Extend ActiveRecord::Base#cache_key to take an optional list of timestamp ↵ | David Heinemeier Hansson | 2013-11-02 | 1 | -1/+7 |
| | | | | attributes of which the highest will be used. | ||||
* | prevent global timezone state from leaking out of test cases. | Yves Senn | 2013-10-25 | 1 | -9/+4 |
| | |||||
* | make test order independent by resetting timezone | Neeraj Singh | 2013-07-28 | 1 | -0/+2 |
| | |||||
* | Add test for `AR::Base#to_param` | Takehiro Adachi | 2013-05-02 | 1 | -1/+6 |
| | | | | | | | According to the doc of `AR::Base#to_param`( https://github.com/rails/rails/blob/04cda1848cb847c2bdad0bfc12160dc8d554 7775/activerecord/lib/active_record/integration.rb#L18 ), it returns `nil` if the record is not persisted. | ||||
* | Extract tests code out from AR's base_test.rb to integration_test.rb | Takehiro Adachi | 2013-05-02 | 1 | -0/+82 |
`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 |