aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/object
Commit message (Collapse)AuthorAgeFilesLines
* revamps the RDoc of Object#tryXavier Noria2013-01-281-22/+30
|
* Correct method notation for #acts_like? [ci skip]Doug Yun2013-01-071-4/+4
|
* Instance_variable_names are strings. That is the most important information IMOAkira Matsuda2013-01-081-1/+1
|
* Replace comments' non-breaking spaces with spacesclaudiob2012-12-041-1/+1
| | | | | | | | | | Sometimes, on Mac OS X, programmers accidentally press Option+Space rather than just Space and don’t see the difference. The problem is that Option+Space writes a non-breaking space (0XA0) rather than a normal space (0x20). This commit removes all the non-breaking spaces inadvertently introduced in the comments of the code.
* Revert "remove unnecessary object/conversions file"Xavier Noria2012-10-161-0/+4
| | | | | | | This file is used at least by Active Merchant, its existence is maybe not necessary but no big deal either. This reverts commit ae9b3d7cecd77b9ace38671b183e1a360bf632b6.
* remove unnecessary object/conversions fileNihad Abbasov2012-10-021-4/+0
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-09-213-21/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/configurable.rb activesupport/lib/active_support/core_ext/module/deprecation.rb guides/source/action_controller_overview.md guides/source/active_support_core_extensions.md guides/source/ajax_on_rails.textile guides/source/association_basics.textile guides/source/upgrading_ruby_on_rails.md While resolving conflicts, I have chosen to ignore changes done in docrails at some places - these will be most likely 1.9 hash syntax changes.
| * update some AS code examples to 1.9 hash syntax [ci skip]Francesco Rodriguez2012-09-123-21/+8
| |
* | Improve Process::Status#to_jsonSteve Klabnik2012-09-151-0/+8
|/ | | | | | | | | | Because Process::Status has no instance_variables, the ActiveSupport version of #to_json produces {}, which isn't good. Therefore, we implement our own #as_json, which makes it useful again. Fixes #4857
* Bring back changelog entries for Active SupportCarlos Antonio da Silva2012-08-111-2/+2
| | | | Removed in 0228a73b1094a3e19ad291d2ce4789890c09578a, pull request #7310.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-08-041-2/+5
|\ | | | | | | | | | | Conflicts: activemodel/lib/active_model/secure_password.rb activerecord/lib/active_record/associations/collection_proxy.rb
| * update to_param docs [ci skip]Francesco Rodriguez2012-07-271-2/+5
| |
* | Add Object#try! with the old NoMethodError raising behaviorDavid Heinemeier Hansson2012-07-271-0/+14
| |
* | will now return nil instead of raise a NoMethodError if the receiving ↵David Heinemeier Hansson2012-07-271-1/+4
|/ | | | object does not implement the method
* remove double hyphen that doesn't allow properly parsingFrancesco Rodriguez2012-06-041-5/+1
|
* Add missing requires for deep_dup and hash ext testCarlos Antonio da Silva2012-05-241-0/+2
|
* Improve docs for `try` by adding note on `BasicObject`Piotr Sarnacki2012-05-201-0/+4
| | | | [ci skip] closes #5790
* Fix documentation around duplicable regarding Class and Module.Mark McSpadden2012-05-171-1/+1
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-171-5/+4
|\ | | | | | | | | Conflicts: activerecord/lib/active_record/core.rb
| * copy edit and remove nodoc on instance_values method [ci skip]Vijay Dev2012-05-171-4/+4
| |
| * removing 1.8 referenceFrancesco Rodriguez2012-05-161-3/+2
| |
* | Remove special cases for duplicable? on Class and ModuleMark McSpadden2012-05-171-24/+0
|/
* adding examples to deep_dup methodFrancesco Rodriguez2012-05-141-1/+23
|
* Update docs to public_send for Object#tryOscar Del Ben2012-05-131-1/+1
|
* update docs on Object#tryVasiliy Ermolovich2012-05-131-1/+1
|
* Object#try can't call private methodsVasiliy Ermolovich2012-05-121-2/+2
|
* Keep all methods in object/deep_dupPiotr Sarnacki2012-05-061-0/+16
|
* Nice logic for deep_dup in railsAlexey Gaziev2012-05-061-0/+6
|
* String quotes and trailing spacesAlexey Gaziev2012-04-293-10/+10
|
* AS core_ext refactoringAlexey Gaziev2012-04-291-2/+2
|
* probably should require the objects we monkey patch.Aaron Patterson2012-03-201-0/+1
|
* bigdecimal can be duped on Ruby 2.0Aaron Patterson2012-03-201-0/+12
|
* remove unnecessary require core_ext/string/encodingSergey Nartimov2012-02-141-1/+0
|
* Symbol#[] method presents in Ruby 1.9Sergey Nartimov2012-01-071-1/+1
|
* remove support for ruby 1.8 in AS String extensionsSergey Nartimov2011-12-211-9/+1
|
* Initial pass at removing dead 1.8.x code from Active Support.José Valim2011-12-201-6/+2
| | | | | | There are a bunch of other implicit branches that adds 1.8.x specific code that still needs to be removed. Pull requests for those cases are welcome.
* Merge pull request #3767 from tadast/object_inYehuda Katz2011-11-261-7/+17
|\ | | | | Object#in? also accepts multiple parameters
| * Object#in? also accepts multiple parametersTadas Tamošauskas2011-11-261-7/+17
| |
* | Don't unnecessarily use String eval.Jose and Yehuda2011-10-151-2/+2
|/
* Revert "don't raise NoMethodError the tried method doesn't exists"José Valim2011-10-061-2/+0
| | | | This reverts commit 29a5aeaae976bf8432d57ec996c7c81932a39de6.
* Set the default options value for as_json in the encoder object.José Valim2011-09-301-1/+1
|
* Fixing `as_json` method for ActiveRecord models.Nicolás Hock Isaza2011-09-291-1/+1
| | | | | | | | | | | | | When you've got an AR Model and you override the `as_json` method, you should be able to add default options to the renderer, like this: class User < ActiveRecord::Base def as_json(options = {}) super(options.merge(:except => [:password_digest])) end end This was not possible before this commit. See the added test case.
* Fix Hash#to_query edge case with html_safe string on 1.8 rubybrainopia2011-09-161-1/+1
|
* Revert all the stuff to do with disallowing non-public methods for ↵Jon Leighton2011-08-251-25/+0
| | | | Module#delegate
* Document Object#public_sendJon Leighton2011-08-151-1/+1
|
* Backport Object#public_send to 1.8 so that we can implement Module#delegate ↵Jon Leighton2011-08-151-0/+25
| | | | such that non-public methods raise
* missing require of string/encoding to have access to encoding_aware?Damien Mathieu2011-07-201-0/+1
|
* fix String#blank? on binary strings.Damien Mathieu2011-07-201-1/+6
|
* need magic commentsAkira Matsuda2011-07-141-0/+2
|
* treat fullwidth whitespace as a blank characterAkira Matsuda2011-07-141-1/+5
|