- 20 4月, 2014 9 次提交
-
-
由 Robin Dupret 提交于
Grammar fix in Getting Started Guide [ci skip]
-
由 Jon Atack 提交于
-
由 Andrew White 提交于
1. Escape '%' characters in URLs - only unescaped data should be passed to URL helpers 2. Add an `escape_segment` helper to `Router::Utils` that escapes '/' characters 3. Use `escape_segment` rather than `escape_fragment` in optimized URL generation 4. Use `escape_segment` rather than `escape_path` in URL generation For point 4 there are two exceptions. Firstly, when a route uses wildcard segments (e.g. *foo) then we use `escape_path` as the value may contain '/' characters. This means that wildcard routes can't be optimized. Secondly, if a `:controller` segment is used in the path then this uses `escape_path` as the controller may be namespaced. Fixes #14629, #14636 and #14070.
-
由 Andrew White 提交于
The URI::Parser#escape method is a general use method that has to deal with a variety of input however our use of it is limited in scope so we can increase the performance by implementing our specific needs within ActionDispatch::Journey::Router::Utils directly. If there is no encoding required then there is no change in performance or number of objects allocated, but for each character that needs to be encoded we save five object allocations and gain a performance boost. The performance boost seen varies from 20% when there is one character to over 50% when encoding ten characters.
-
由 edogawaconan 提交于
Makes it clear that anything passed with the helper must not be percent encoded. Fixes previous behavior which tricks people into believing passing non-percent-encoded will generate a proper percent-encoded path while in reality it doesn't ('%' isn't escaped). The intention is nice but the heuristic is broken.
-
由 Guillermo Iguaran 提交于
Remove statement assuming coffee shop/public space wifi is inherently insecure
-
由 Nick Quaranto 提交于
-
由 Godfrey Chan 提交于
Don't rely on Arel master in bug report template
-
由 Robin Dupret 提交于
We should rely instead on the version supported by Active Record Closes #14809
-
- 19 4月, 2014 13 次提交
-
-
由 Andrew White 提交于
multibyte_conformance.rb --> multibyte_conformance_test.rb
-
由 Arthur Nogueira Neves 提交于
"subhash" --> "sub-hash"
-
由 Xavier Noria 提交于
Few corrections in Rails Initialization Guides
-
由 Anton Kalyaev 提交于
-
由 Akshay Vishnoi 提交于
-
由 Akshay Vishnoi 提交于
-
由 Rafael Mendonça França 提交于
Fix inconsistent behavior from String#first/#last
-
由 Ernie Miller 提交于
While calling String#first or String#last with zero or a Fixnum < the string's length returns a new string, a Fixnum >= the string's length returns the string itself. This inconsistency can lead to inadvertent mutation of a string.
-
由 Yves Senn 提交于
when a destroyed record is duped, it is no longer ´destroyed?`.
-
由 Kuldeep Aggarwal 提交于
-
由 Yves Senn 提交于
remove warning while running TEST CASES
-
由 Kuldeep Aggarwal 提交于
`warning: ambiguous first argument; put parentheses or even spaces`
-
由 Vijay Dev 提交于
-
- 18 4月, 2014 18 次提交
-
-
由 Rafael Mendonça França 提交于
:uglify -> :uglifier
-
由 Brad Dunbar 提交于
The name of the gem is `uglifier` and all other references use `uglifier`, not `uglify`.
-
由 Rafael Mendonça França 提交于
Optimize select_value, select_values, select_rows in Postgresql adapter.
-
由 Rafael Mendonça França 提交于
Fixed has_many association to make it support irregular inflections.
-
由 Arthur Neves 提交于
Also add a Changelog entry [related #9702] [fixes #8928]
-
由 Javier Goizueta 提交于
So that irregular multi-word pluralization rules have to be defined only for snake-case strings.
-
由 Steven Harman 提交于
[ci skip]
-
由 Rafael Mendonça França 提交于
CSRF protection should rescue exception not extend
-
由 Kris Selden 提交于
Optimize select_value, select_values, select_rows and dry up checking whether to exec with cache for Postgresql adapter Reduces creating unused objects, with the most dramatic reduction in select_values which used to map(&:first) an array of single element arrays.
-
由 PaulL1 提交于
Extend previous changes, include the default line from the application controller that new rails applications are created with: protect_from_forgery with: :exception Minor wording changes to align.
-
由 Rafael Mendonça França 提交于
Related with cbb91745
-
由 Rafael Mendonça França 提交于
This was changed at cbb91745
-
由 Rafael Mendonça França 提交于
Remove wrapping div with inline styles for hidden form fields. Conflicts: actionview/CHANGELOG.md
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Use common to_io so users can access the underlying IO object
-
由 Rafael Mendonça França 提交于
Bring SQLite3Adpter init API closer to others
-