- 09 9月, 2015 33 次提交
-
-
由 claudiob 提交于
[ci skip] @sgrif can you review when you have time? Thanks!
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
This method is specifically about the content type so lets remove the parameter.
-
由 Aaron Patterson 提交于
create a singleton content type that just has nils, so that we don't have to allocate a content type object all the time.
-
由 Aaron Patterson 提交于
If someone sets just a charset, but depends on the implicit type from rendering, this will store a strange content type header that looks like this: `; charset=blah`. This is so that when the content type header is parsed again, it will return nil for the actual type.
-
由 Aaron Patterson 提交于
It turns out that the response object never really cares what the mime type object is, so just use the string.
-
由 Aaron Patterson 提交于
pull content-type setting to a private method to dry it up.
-
由 Aaron Patterson 提交于
Instead of storing content type information in an ivar and a header, lets move to just store the content type info in just the header.
-
由 Aaron Patterson 提交于
we'll use this method later to lazily parse content type headers.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
everything above metal really doesn't care about setting the content type, so lets rearrange these methods to be in metal.
-
由 Aaron Patterson 提交于
_set_content_type only does something when there is a request object, otherwise the return value of _get_content_type is always ignored. This commit moves everything to the module that has access to the request object so we'll never to_s unless there is a reason
-
由 Aaron Patterson 提交于
in the future I would like to make the header hash read only (or at least remove guarantees that mutations will do anything).
-
由 Kasper Timm Hansen 提交于
Properly log nested parameters to Active Job
-
由 Marek Pieczyk 提交于
Refactor arguments logging method for Active Job
-
由 Rafael Mendonça França 提交于
Fix typo in activemodel changelog [ci skip]
-
由 Semyon Pupkov 提交于
-
由 Kasper Timm Hansen 提交于
It's only used there.
-
由 Kasper Timm Hansen 提交于
`CookieJar` is only at the start of the chain and has its own request method, so we don't need it in the module.
-
由 Kasper Timm Hansen 提交于
It was the same in both legacy versions of the signed and encrypted cookie jars.
-
由 Kasper Timm Hansen 提交于
The `EncryptedCookieJar` already calls it for us, so just delegate to its `parse` implementation.
-
由 Kasper Timm Hansen 提交于
`SignedCookieJar`'s parse method already attempts to verify the message, so we can just call super and try the old verifier if it fails.
-
由 Kasper Timm Hansen 提交于
Cuts down on the duplicated reading parts.
-
由 Kasper Timm Hansen 提交于
Gets rid of the option parsing and makes what the encryptor does stand out.
-
由 Kasper Timm Hansen 提交于
Lets us avoid worrying about parsing the options and doing just what we need.
-
由 Kasper Timm Hansen 提交于
Remove the clutter to make PermanentCookieJar's one change stand out.
-
由 Kasper Timm Hansen 提交于
Eventually this will be the superclass of all the chained jars.
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
`url_for` does not modify polymorphic options
-
由 Richard Schneeman 提交于
Fixed Time conversion example for UTC time zone [ci skip]
-
由 Ronak Jangir 提交于
-
由 Rafael Mendonça França 提交于
Validate multiple contexts on `valid?` and `invalid?` at once
-
- 08 9月, 2015 7 次提交
-
-
由 Yves Senn 提交于
[Rails Guides] clarify `ActiveRecord::ConnectionTimeoutError`
-
由 Eileen M. Uchitelle 提交于
Removes mandatory arguments from AR exceptions
-
由 Yves Senn 提交于
Define `SchemaStatements#tables` as interface
-
由 yui-knk 提交于
These 3 methods expect `ConnectionAdapters` to have `tables` method, so make it clear that `tables` method is interface. * `ConnectionAdapters::SchemaCache#prepare_tables` * `db:schema:cache:dump` task * `SchemaDumper#tables`
-
由 Yves Senn 提交于
Replace AR with ActiveRecord to make it more readable [ci skip]
-
由 Yves Senn 提交于
Add tests for test/cases/adapters/mysql2/view_test.rb
-
由 yui-knk 提交于
Basically view tests for MySQL are same with `test/cases/adapters/postgresql/view_test.rb`. So move `test/cases/adapters/postgresql/view_test.rb` to `test/cases/view_test.rb` and make them only run if `current_adapter` supports writable view.
-