aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/object
Commit message (Collapse)AuthorAgeFilesLines
...
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵David Heinemeier Hansson2011-04-121-3/+3
| | | | suggestion!
* Add support for Object#in? and Object#either? in Active Support [#6321 ↵Prem Sichanugrist, Brian Morearty, John Reitano2011-04-111-0/+52
| | | | | | | | | | | | state:committed] This will allow you to check if an object is included in another object or the list of objects or not. This patch is derived from patch by Brian Morearty and John Reitano on Lighthouse ticket. I've rewrite it and make sure that we support both 'another object' and 'list of objects' version, as it surely be useful to support both.
* Revert "Quick fix for not escaping []s (not ideal)"Santiago Pastorino2010-11-181-4/+4
| | | | | | | | | 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..
* These tests are trusting in the order of the elements so use OrderedHash ↵Santiago Pastorino2010-07-211-2/+3
| | | | instead of Hash
* Failing tests for to_param/to_query not escaping "[]"Joshua Peek2009-12-021-4/+4
|
* Consolidate Object#to_param and #to_query core extensionsJeremy Kemper2009-11-022-0/+62