Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move to_param to to_query, also Improve tests | Akshay Vishnoi | 2014-06-20 | 1 | -60/+1 |
| | |||||
* | No need the else clause | Rafael Mendonça França | 2014-05-04 | 1 | -2/+0 |
| | |||||
* | [Fixes #14948] Hash#to_query: Changed a way how empty hash and empty array ↵ | Bogdan Gusiev | 2014-05-03 | 1 | -6/+6 |
| | | | | | | | | | | | are serialized Empty Hash or Array should not present in serialization result {a: []}.to_query # => "" {a: {}}.to_query # => "" For more info see #14948. | ||||
* | Refatoring the method to avoid shot-circuit return | Rafael Mendonça França | 2014-02-05 | 1 | -4/+7 |
| | |||||
* | Fixed "Hash#to_param confused by empty hash values #13892" | Hincu Petru | 2014-02-05 | 1 | -0/+1 |
| | |||||
* | use destructive sort on array in Hash#to_param for performance gains. | Vipul A M | 2013-05-05 | 1 | -1/+1 |
| | | | | Check https://gist.github.com/vipulnsward/6aad158c06a22f931a71 to see the gains. | ||||
* | update to_param docs [ci skip] | Francesco Rodriguez | 2012-07-27 | 1 | -2/+5 |
| | |||||
* | reorganizes the RDoc of Hash#to_param | Xavier Noria | 2011-03-07 | 1 | -6/+14 |
| | |||||
* | Improved docs for Hash#to_param method | Dalibor Nasevic | 2011-03-06 | 1 | -3/+2 |
| | |||||
* | Revert "Quick fix for not escaping []s (not ideal)" | Santiago Pastorino | 2010-11-18 | 1 | -3/+1 |
| | | | | | | | | | According to http://www.ietf.org/rfc/rfc2616.txt and http://tools.ietf.org/rfc/rfc3986.txt [ and ] are reserved characters and should be escaped using "%" HEX HEX This reverts commit 856d2fd874d72dd9f83204affff4edfef3308361 and 1ee9b40b18a0bed5bb10a0785f7e2730bac983f6.. | ||||
* | revises RDoc of Hash#to_param to be more precise about ordering | Xavier Noria | 2010-09-28 | 1 | -2/+2 |
| | |||||
* | let Hash#to_param and Hash#to_query sort again | Xavier Noria | 2010-09-28 | 1 | -2/+3 |
| | | | | | This was a regression introduced in 5c858220085dc4ddc1bec496747059dfbe32f1da. We bring sorting back because people rely on it, eg for constructing consistent cache keys. | ||||
* | Hash#to_param is doesn't use sort anymore, some tests added for Hash#to_param | Santiago Pastorino | 2010-07-22 | 1 | -1/+1 |
| | |||||
* | remove executable permission from files that don't need it. [#4802 ↵ | rohit | 2010-06-20 | 1 | -0/+0 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | A small rdoc change made on lines 39 and 41 on ↵ | jacortinas | 2010-05-25 | 1 | -2/+2 |
| | | | | activesupport/lib/active_support/core_ext/object/to_param.rb. It looks like the method name might have been changed, and the comments were never changed to coincide with the new method name. | ||||
* | fixes a couple of wrong requires | Xavier Noria | 2010-01-01 | 1 | -1/+1 |
| | |||||
* | to_param.rb needs active_support/core_ext/object/to_query | Xavier Noria | 2010-01-01 | 1 | -0/+2 |
| | |||||
* | Failing tests for to_param/to_query not escaping "[]" | Joshua Peek | 2009-12-02 | 1 | -1/+1 |
| | |||||
* | Consolidate Object#to_param and #to_query core extensions | Jeremy Kemper | 2009-11-02 | 1 | -0/+47 |