- 22 7月, 2013 1 次提交
-
-
由 Simeon Simeonov 提交于
Previously, the cache size of `ActiveSupport::Cache::MemoryStore` was calculated as the sum of the size of its entries, ignoring the size of keys and any data structure overhead. This could lead to the calculated cache size sometimes being 10-100x smaller than the memory used, e.g., in the case of small values. The size of a key/entry pair is now calculated via `#cached_size`: def cached_size(key, entry) key.to_s.bytesize + entry.size + PER_ENTRY_OVERHEAD end The value of `PER_ENTRY_OVERHEAD` is 240 bytes based on an [empirical estimation](https://gist.github.com/ssimeonov/6047200) for 64-bit MRI on 1.9.3 and 2.0. Fixes GH#11512 https://github.com/rails/rails/issues/11512
-
- 20 7月, 2013 2 次提交
- 19 7月, 2013 7 次提交
-
-
由 Guillermo Iguaran 提交于
Fix test name typos
-
由 Vipul A M 提交于
-
由 Yves Senn 提交于
Upgrade guide. Renaming Indexes on tables. [ci skip]
-
由 Yves Senn 提交于
Closes #11498.
-
由 Aaron Patterson 提交于
-
由 Yves Senn 提交于
remove duplication in concern_test
-
- 18 7月, 2013 15 次提交
-
-
由 Rafael Mendonça França 提交于
Revert "Fix SyntaxError in guides sample code"
-
由 Marat Kazbekov 提交于
-
由 Erich Kist 提交于
This reverts commit f573df32. The original idea of this documentation was to showcase the feature where you can remove some only queries attributes with a single key-value pair.
-
由 Rafael Mendonça França 提交于
Thanks @egilburg [ci skip]
-
由 Rafael Mendonça França 提交于
[ci skip]
-
由 Santiago Pastorino 提交于
grammar fix in upgrade documentation
-
由 Guillermo Iguaran 提交于
Use latest mysql2.
-
由 Josef Šimánek 提交于
Fixes #11457
-
由 Xavier Noria 提交于
Fixed README link in API
-
由 Gary S. Weaver 提交于
-
由 Yves Senn 提交于
Improve ActiveRecord::QueryMethods#includes docs [ci skip]
-
由 Henrik Hodne 提交于
It's not immediately clear whether you can pass in multiple relations or not. After going through the code a bit, I saw that the arguments are just appended to an array. Also, added nested relations example. [ci skip]
-
由 Yves Senn 提交于
fixes plugin test for tutorial [ci skip]
-
由 Matt Newton 提交于
[ci skip]
-
由 Carlos Antonio da Silva 提交于
Update bcrypt-ruby stable version to 3.1
-
- 17 7月, 2013 13 次提交
-
-
-
由 Andrew White 提交于
Only build the missing_keys array once we have detected that there actually are missing keys by moving the check to be part of the block that performs the path substitution.
-
由 Arun Agrawal 提交于
This should not be a link because it's creating a link with activesupport README right now
-
由 Andrew White 提交于
When optimized path helpers were re-introduced in d7014bc7 the test added in a328f2ff broke but no-one noticed because it wasn't being run by the test suite. Fix the test by checking for nil values or empty strings after the args have been parameterized.
-
由 Arun Agrawal 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 16 7月, 2013 2 次提交
-
-
由 Xavier Noria 提交于
-
由 Andrew White 提交于
When generating an unnamed url (i.e. using `url_for` with an options hash) we should skip anything other than standard Rails routes otherwise it will match the first mounted application or redirect and generate a url with query parameters rather than raising an error if the options hash doesn't match any defined routes. Fixes #8018
-