aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/object
Commit message (Expand)AuthorAgeFilesLines
* Add tests to ensure we don't interfere with json gem's outputGodfrey Chan2015-07-111-0/+52
* Small stylistic tweaks for `Delegator#try` patchGodfrey Chan2015-05-191-15/+15
* Patch `Delegator` to work with `#try`Nate Smith2015-05-191-0/+64
* Put the assertion arguments in the right orderMatthew Draper2015-05-051-1/+1
* deep_dup method, remove old key from duplicated hash to avoid unnecessary pairsMehmet Emin İNAÇ2015-05-041-0/+6
* Skip the failing tests on Rubinius for nowRobin Dupret2015-03-021-0/+3
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-031-1/+0
* Remove hack to support BigDecimal in Ruby 1.9claudiob2015-01-041-10/+1
* Removed Object#itself as it's implemented in ruby 2.2Cristian Bica2014-12-291-9/+0
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-2/+2
* Bring try! into parity with try.Ari Pollak2014-10-221-4/+8
* add implementation of respond_to? for ActiveSupport::Durationlsylvester2014-09-151-1/+1
* Methods are not duplicable.Peter Jaros2014-09-031-1/+1
* Bring back the test cases for `presence`Godfrey Chan2014-08-291-0/+5
* We tenderized the wrong method! Object#try already had the yield option, just...David Heinemeier Hansson2014-08-292-10/+4
* Clarify the origin of this great addition to Rails :trollface: :trollface :tr...David Heinemeier Hansson2014-08-291-1/+1
* Use instance_eval on @tenderlove's suggestion :trollface:David Heinemeier Hansson2014-08-291-2/+2
* Added yield to Object#presenceDavid Heinemeier Hansson2014-08-291-0/+5
* Rename tests tooRafael Mendonça França2014-08-011-2/+2
* Rename Object#self to Object#itself to have parity with matz sanctioned metho...David Heinemeier Hansson2014-08-011-1/+1
* Added Object#self which returns the object itselfDavid Heinemeier Hansson2014-08-011-0/+9
* Add missing test case for Array#to_sentence, collect all test cases for Objec...Akshay Vishnoi2014-07-291-2/+8
* Added failing test case for #16131Godfrey Chan2014-07-291-0/+42
* Merge pull request #15629 from akshay-vishnoi/test-to_paramRafael Mendonça França2014-07-282-0/+22
|\
| * Move to_param to to_query, also Improve testsAkshay Vishnoi2014-06-202-0/+22
* | Move object test files under objectAkshay Vishnoi2014-07-293-0/+155
* | missing activesupport test coverageEugene Gilburg2014-07-191-0/+4
* | Move test for blank.rb under objectAkshay Vishnoi2014-06-111-0/+36
* | Add test cases for #in? and #presence_inAkshay Vishnoi2014-06-111-0/+4
|/
* Merge pull request #14949 from bogdan/empty-hash-array-parameterizationRafael Mendonça França2014-05-041-3/+5
|\
| * [Fixes #14948] Hash#to_query: Changed a way how empty hash and empty array ar...Bogdan Gusiev2014-05-031-3/+5
* | Remove deprecated file(`active_support/core_ext/object/to_json.rb`) and its t...Kuldeep Aggarwal2014-05-041-9/+0
|/
* Object#duplicable?Akshay Vishnoi2014-04-161-16/+9
* Move tests for deep_dup and duplicable to object directoryAkshay Vishnoi2014-04-132-0/+91
* Go with #presence_in instead of #present_in -- it doesnt sound quite as good,...David Heinemeier Hansson2014-02-241-3/+3
* Use assert_nil instead as its clearer about what the return is expected to beDavid Heinemeier Hansson2014-02-181-1/+1
* Added Object#present_in to simplify value whitelistingDavid Heinemeier Hansson2014-02-181-0/+5
* Fix to_query with empty arrays tooRafael Mendonça França2014-02-061-0/+2
* Refatoring the method to avoid shot-circuit returnRafael Mendonça França2014-02-051-0/+2
* Test with a blank valueRafael Mendonça França2014-02-051-2/+2
* Move test to the right fileRafael Mendonça França2014-02-052-11/+9
* Fixed "Hash#to_param confused by empty hash values #13892"Hincu Petru2014-02-051-0/+11
* Moved all JSON core extensions into core_ext/object/jsonGodfrey Chan2013-09-131-0/+9
* Revert "Object#in? also accepts multiple parameters"Brian Morearty2013-05-011-10/+0
* remove unused parameter passed to assert_query_equal methodVipul A M2013-03-171-1/+1
* Remove .rb from require sentencesJosé Corcuera Z2012-09-211-1/+1
* remove usages of AS::OrderedHashVishnu Atrai2012-03-031-2/+2
* use AS::TestCase as the base classAaron Patterson2012-01-053-3/+3
* Object#in? also accepts multiple parametersTadas Tamošauskas2011-11-261-0/+10
* Fix Hash#to_query edge case with html_safe string on 1.8 rubybrainopia2011-09-161-0/+9