- 24 7月, 2013 4 次提交
-
-
由 Aaron Patterson 提交于
-
由 Zachary Scott 提交于
-
由 Aaron Patterson 提交于
Move model mutation to the methods that are called on the model.
-
由 Aaron Patterson 提交于
-
- 23 7月, 2013 18 次提交
-
-
由 Rafael Mendonça França 提交于
add the missing middleware in command line guides rake about [ci skip]
-
由 Aaron Patterson 提交于
-
由 Rajarshi Das 提交于
-
由 Aaron Patterson 提交于
-
由 Carlos Antonio da Silva 提交于
assert_file already gives this functionality for free by passing multiple contents.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Guillermo Iguaran 提交于
Uses mysql2 0.3.13 or later.
-
由 kennyj 提交于
-
由 Carlos Antonio da Silva 提交于
content tag already knows which tags are boolean and the values that should generate them when a truthy value is passed, so leave this logic for it instead of duplicating when generating options tags.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Yves Senn 提交于
Fixes #11454 . We should define the return type of select_all method clearly.
-
由 kennyj 提交于
-
由 kennyj 提交于
-
- 22 7月, 2013 18 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
Showing welcome page in production can expose information, which should not be visible on production if people don't override the default root route. This reverts commit b0caea29.
-
由 Piotr Sarnacki 提交于
[Fixes #11512] improves cache size calculation in MemoryStore
-
由 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
-
由 Rafael Mendonça França 提交于
Rebase and make fixes to #6763 "Specified column type for quote_value"
-
由 Rafael Mendonça França 提交于
syntax fix f.select doc
-
由 Karunakar (Ruby) 提交于
-
由 Yves Senn 提交于
Removed random dot in ActionController docs [ci skip]
-
由 Max Vasiliev 提交于
-
由 Santiago Pastorino 提交于
Remove duplication in include test
-
由 Santiago Pastorino 提交于
metal is no longer mentioned on rack guide
-
由 Ben Woosley 提交于
Some adapters require column information to do their job properly. By enforcing the provision of the column for this internal method we ensure that those using adapters that require column information will always get the proper behavior.
-
由 Ben Woosley 提交于
This includes fixing typos in changelog, removing a deprecated mocha/setup test require, and preferring the `column_for_attribute` accessor over direct access to the columns_hash in the new code.
-
由 Alfred Wong 提交于
When calling quote_value the underlying connection sometimes requires more information about the column to properly return the correct quoted value. I ran into this issue when using optimistic locking in JRuby and the activerecord-jdbcmssql-adapter. In SQLSever 2000, we aren't allowed to insert a integer into a NVARCHAR column type so we need to format it as N'3' if we want to insert into the NVARCHAR type. Unfortuantely, without the column type being passed the connection adapter cannot properly return the correct quote value because it doesn't know to return N'3' or '3'. This patch is fairly straight forward where it just passes in the column type into the quote_value, as it already has the ability to take in the column, so it can properly handle at the connection level. I've added the tests required to make sure that the quote_value method is being passed the column type so that the underlying connection can determine how to quote the value.
-
由 Piotr Sarnacki 提交于
rescue from all exceptions in `ConnectionManagement#call`
-
由 Piotr Sarnacki 提交于
Match Dev/Prod parity for Index Page
-
由 Vipul A M 提交于
Fixes #11497 As `ActiveRecord::ConnectionAdapters::ConnectionManagement` middleware does not rescue from Exception (but only from StandardError), the Connection Pool quickly runs out of connections when multiple erroneous Requests come in right after each other. Recueing from all exceptions and not just StandardError, fixes this behaviour.
-