- 22 12月, 2012 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 20 12月, 2012 1 次提交
-
-
由 Andrew White 提交于
Move the Journey code underneath the ActionDispatch namespace so that we don't pollute the global namespace with names that may be used for models. Fixes rails/journey#49.
-
- 19 12月, 2012 1 次提交
-
-
由 Nick Reed 提交于
Removes support for :encode, :replace_at, and :replace_dot options from the mail_to helper. Support for these options has been extracted to the 'actionview-encoded_mail_to' gem.
-
- 18 12月, 2012 1 次提交
-
-
由 Vasiliy Ermolovich 提交于
closes #8388
-
- 16 12月, 2012 1 次提交
-
-
由 Kurtis Rainbolt-Greene 提交于
Adding a test for the equal trun bug Adding a test for the after equal trunc bug Adding a test for the slash bug Adding a test for the slash quote bug Adding a helper method for creating a sample request object with token Writing a method to create params array from raw params Writing a method to rewrite param values in the params Writing a method to get the token params from an authorization value Refactoring the token_and_options method to fix bugs Removing unnessecary test A constant for this shared regex seemed appropriate Wanting to split up this logic Adding small documentation pieces
-
- 15 12月, 2012 1 次提交
-
-
由 Angelo capilleri 提交于
cache_if(condition, option, &block) and cache_unless(condition, option, &block). In the PR #8371 was introduced conditional options :if and :unless in the cache method. Example: <%= cache @model, if: some_condition(@model) do %> ... <%end%> This is a good feature but *cache_if* and and *cache_unless* are more concise and close to the standard of rails view helpers (ex: link_to_if and link_to_unless). Example: <%= cache_if condition, @model do %> ... <%end%>
-
- 14 12月, 2012 1 次提交
-
-
由 Andrew White 提交于
Remove all the old url helper methods when clear! is called on the route set because it's possible that some routes have been removed.
-
- 12 12月, 2012 1 次提交
-
-
由 Matt Venables 提交于
If env['RAW_POST_DATA'] is nil, #raw_post will attempt to set it to the result of #body (which will return env['rack.input'] if env['RAW_POST_DATA'] is nil). #raw_post will then attempt to rewind the result of another call to #body. Since env['RAW_POST_DATA'] has already been set, the result of #body is not env['rack.input'] anymore. This causes env['rack.input'] to never be rewound.
-
- 11 12月, 2012 1 次提交
-
-
由 Adam Stankiewicz 提交于
Such request can happen on Internet Explorer. When we redirect after multipart form submission, the request type is changed to GET, but Content-Type is preserved as multipart. GET request cannot have multipart body and that caused Rails to fail. It's similar fix to Rack's one: https://github.com/chneukirchen/rack/blob/8025a4ae9477d1e6231344c2b7d795aa9b3717b6/lib/rack/request.rb#L224
-
- 08 12月, 2012 5 次提交
-
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 David Heinemeier Hansson 提交于
-
- 07 12月, 2012 2 次提交
-
-
由 Andrew White 提交于
This reverts commit c59734f7.
-
由 Andrew White 提交于
This commit inverts the precedence in ActionDispatch::Static so that dynamic content will be served before static content. This is so that precompiled assets do not inadvertently get included when running in development mode - it should have no effect in production where static files are usually handled by the web server. Closes #6421
-
- 05 12月, 2012 2 次提交
-
-
由 Fabrizio Regini 提交于
[Stephen Ausman + Fabrizio Regini]
-
由 Fabrizio Regini 提交于
-
- 04 12月, 2012 2 次提交
-
-
由 Maura Fitzgerald 提交于
be ignored. A regular expression constraint gets overwritten when the routes.rb file is processed. Changed the overwriting to an ||= instead of an = assignment.
-
由 Jeremy Kemper 提交于
Override <%== to always behave as literal text rather than toggling based on whether escaping is enabled. Fixes that existing plaintext email templates using <%== unexpectedly flipped to *escaping* HTML when #8235 was merged.
-
- 02 12月, 2012 1 次提交
-
-
由 Yves Senn 提交于
-
- 01 12月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 29 11月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
They was extracted from a plugin. See https://github.com/rails/rails-observers [Rafael Mendonça França + Steve Klabnik]
-
- 28 11月, 2012 1 次提交
-
-
由 Sergey Kojin 提交于
-
- 27 11月, 2012 2 次提交
-
-
由 Ben Woosley 提交于
-
由 Elia Schito 提交于
-
- 26 11月, 2012 3 次提交
-
-
由 Andrew White 提交于
Move the routes for each test inside the test method so that it's easier to see which routes are applicable to which test. To ensure that each test wasn't invalidated the changes were done by first removing all of the routes, ensuring that all of the tests failed and then adding the routes back to each test one by one. One test for `assert_recognizes` was removed as it wasn't actually testing the defined routes and is now tested more thoroughly in routing_assertions_test.rb. One downside is that the test suite takes about 1s longer due to having to using `method_missing` for handling the url helpers as using `include url_helpers` isn't isolated for each test.
-
由 Drew Ulmer 提交于
This add support for sending an explicit opt-out of the "Russian-doll" cache digest feature on a case-by-case basis. This is useful when cache- expiration needs to be performed manually and it would be otherwise difficult to know the exact name of a digested cache key. More information: https://github.com/rails/cache_digests/pull/16
-
由 Roberto Soares 提交于
-
- 24 11月, 2012 2 次提交
-
-
由 Roberto Soares 提交于
-
由 Roberto Soares 提交于
For instance, it prevents false positive in this case: file = nil get :index assert_template("#{file}")
-
- 22 11月, 2012 1 次提交
-
-
由 Guillermo Iguaran 提交于
Was surprising found that this example doesn't work: scope :api do resources :users end and the right form to use it is: scope 'api' do resources :users end I think this should work similary as `namespace` where both are allowed. These two are equivalent: namespace :api do resources :users end namespace 'api' do resources :user end
-
- 20 11月, 2012 4 次提交
-
-
由 Carlos Antonio da Silva 提交于
Merge url for tests and add changelog entry for #8233.
-
由 tumayun 提交于
With a "params" argument, the following error is raised: undefined method `reject!` for "":String
-
由 Carlos Antonio da Silva 提交于
-
由 Yves Senn 提交于
This resolves issues when rendering nested partials. Previously the `PartialRenderer` was reused which led to situations where the state of the renderer was reset. Closes #8197
-
- 16 11月, 2012 3 次提交
-
-
由 Carlos Antonio da Silva 提交于
Introduced in 4a4de567.
-
由 Joost Baaij 提交于
This is a list of mime types where template text is not html escaped by default. It prevents `Jack & Joe` from rendering as `Jack & Joe` for the whitelisted mime types. The default whitelist contains text/plain. This follows a whitelist approach where plain text templates are not escaped, and all the others (json, xml) are. The mime type is assumed to be set by the abstract controller.
-
由 Santiago Pastorino 提交于
-
- 15 11月, 2012 1 次提交
-
-
由 Marc-Andre Lafortune 提交于
-