- 25 4月, 2012 1 次提交
-
-
由 Jose and Yehuda 提交于
In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964
-
- 29 3月, 2012 1 次提交
-
-
由 Santiago Pastorino 提交于
Closes #5632
-
- 27 3月, 2012 1 次提交
-
-
由 Piotr Sarnacki 提交于
Previously `rendered_format` was set only based on mime types passed in Accept header, which was wrong if first type from Accept was different than rendered partial. The fix is to simply move setting rendered_format to the place where template is available and grab format from the template. If it fails we can fallback to formats passed by Accept header.
-
- 17 3月, 2012 1 次提交
-
-
由 José Valim 提交于
Fix for #5440
-
- 02 3月, 2012 1 次提交
-
-
由 Piotr Sarnacki 提交于
-
- 17 2月, 2012 1 次提交
-
-
由 Xavier Noria 提交于
-
- 19 1月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 18 1月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
* Do not reopen AV::Base to define default form builder Inside the load hook we are already in AV::Base context. * Do not pass the given block to the form builder The block is evaluated in fields_for context using capture, with the builder as argument. This means we do not need to give the block to the FormBuilder itself.
-
- 17 1月, 2012 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
- 06 1月, 2012 1 次提交
-
-
由 Karunakar (Ruby) 提交于
minor
-
- 20 12月, 2011 2 次提交
-
-
由 José Valim 提交于
-
由 lest 提交于
-
- 02 12月, 2011 3 次提交
-
-
由 David Heinemeier Hansson 提交于
Revert "Added ActiveRecord::Base#last_modified to work with the new fresh_when/stale? conditional get methods from Action Pack" Needless indirection with no added value. This reverts commit 535853e8.
-
由 David Heinemeier Hansson 提交于
Added ActiveRecord::Base#last_modified to work with the new fresh_when/stale? conditional get methods from Action Pack
-
由 David Heinemeier Hansson 提交于
-
- 31 10月, 2011 1 次提交
-
-
由 arvida 提交于
-
- 22 9月, 2011 2 次提交
-
-
由 José Valim 提交于
For example, calling hello.erb is now deprecated. Since Rails 3.0 passing the handler had no effect whatsover. This commit simply deprecates such cases so we can clean up the code in later releases.
-
由 José Valim 提交于
-
- 05 9月, 2011 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 17 8月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 24 7月, 2011 2 次提交
-
-
由 Gaston Ramos 提交于
fix issues/1951
-
由 Gaston Ramos 提交于
https://github.com/rails/rails/issues/1951 Namespaced model partial_path is wrong in namespaced controllers
-
- 25 5月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
-
- 13 4月, 2011 1 次提交
-
-
由 Xavier Noria 提交于
-
- 09 2月, 2011 1 次提交
-
-
由 José Valim 提交于
This fixes CVE-2011-0449
-
- 04 10月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 29 9月, 2010 3 次提交
-
-
由 Emilio Tagua 提交于
-
由 Emilio Tagua 提交于
-
由 Emilio Tagua 提交于
-
- 19 9月, 2010 1 次提交
-
-
由 Maxim Chernyak 提交于
Fix header capitalization by explicitly upcasing first letter of every word, and avoiding capitalize. [#5636 state:resolved]
-
- 05 9月, 2010 1 次提交
-
-
由 Piotr Sarnacki 提交于
-
- 17 8月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
code gardening: we have assert_(nil|blank|present), more concise, with better default failure messages - let's use them
-
- 14 8月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
- 20 6月, 2010 1 次提交
-
-
由 Jan De Poorter 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 15 6月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
-
- 17 5月, 2010 3 次提交
-
-
由 Jeremy Kemper 提交于
This reverts commits af0d1a88 and 64d109e3.
-
由 wycats 提交于
* Default Encoding.default_internal to UTF-8 * Eliminated the use of file-wide magic comments to coerce code evaluated inside the file * Read templates as BINARY, use default_external or template-wide magic comments inside the Template to set the initial encoding * This means that template handlers in Ruby 1.9 will receive Strings encoded in default_internal (UTF-8 by default) * Create a better Exception for encoding issues, and use it when the template source has bytes that are not compatible with the specified encoding * Allow template handlers to opt-into handling BINARY. If they do so, they need to do some of their own manual encoding work * Added a "Configuration Gotchas" section to the intro Rails Guide instructing users to use UTF-8 for everything * Use config.encoding= in Ruby 1.8, and raise if a value that is an invalid $KCODE value is used Also: * Fixed a few tests that were assert() rather than assert_equal() and were caught by Minitest requiring a String for the message * Fixed a test where an assert_select was misformed, also caught by Minitest being more restrictive * Fixed a test where a Rack response was returning a String rather than an Enumerable