aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
Commit message (Collapse)AuthorAgeFilesLines
* don't raise NoMethodError the tried method doesn't existsdmathieu2011-05-211-0/+2
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-181-0/+2
|\
| * Prevent duplicable comments from being the opening paragraph for Object docsEvan Farrar2011-05-181-0/+2
| |
* | add some missing requires for AS core_ext/numeric/time. Closes #1038Josh Kalderimis2011-05-182-0/+3
| |
* | Don't print deprecation warnings every time the user reads or writes an ↵Michael Koziarski2011-05-171-2/+0
| | | | | | | | inheritable attribute. The warnings on declaration is enough.
* | Deprecate attr_accessor_with_default.José Valim2011-05-161-0/+1
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-1411-31/+35
|\ | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/date_helper.rb railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
| * Follow code conventions on docsSebastian Martinez2011-05-101-1/+1
| |
| * included examples for negative ordinalizeVijay Dev2011-05-081-4/+7
| |
| * replaced eg using old router api with the one in the guides. Add info on ↵Vijay Dev2011-05-071-5/+8
| | | | | | | | nesting with_options
| * minor fixesVijay Dev2011-05-073-4/+3
| |
| * fixes incorrect error message for sample methodVijay Dev2011-05-071-1/+1
| |
| * use new AR calls in examplesVijay Dev2011-05-071-2/+2
| |
| * fix comment alignmentVijay Dev2011-05-071-3/+2
| |
| * revises comment for blank? methodVijay Dev2011-05-071-3/+3
| |
| * Revert "Small edit to the if statement simplification for blank? on the ↵Xavier Noria2011-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Object class. An Object doesn't need to be nil and empty to be blank? just one or the other." Reason: the original code is correct, see !nil && !empty -> !(nil || empty) -> !blank That said, this example has too many negations for my linking. Think should be revised to be more positive and straightforward to read. This reverts commit a4b6e3d9be338e93320606f7cb14759b26ced8df.
| * Small edit to the if statement simplification for blank? on the Object ↵Caley Woods2011-05-061-1/+1
| | | | | | | | class. An Object doesn't need to be nil and empty to be blank? just one or the other.
| * Fix punctuation errors.Sebastian Martinez2011-05-041-8/+8
| |
* | new reporting method Kernel#quietlyXavier Noria2011-05-131-1/+13
| |
* | Remove a circular require in AS deprecations. This is safe as AS ↵Josh Kalderimis2011-05-121-2/+0
| | | | | | | | deprecations is autoloaded as needed.
* | Merge pull request #227 from farski/masterSantiago Pastorino2011-05-112-6/+6
|\ \ | | | | | | Unnecessary redundancy in Time/Date calculations
| * | Removed some redundant Time#change time options from beginning_of_ methods ↵Chris Kalafarski2011-03-132-6/+6
| | | | | | | | | | | | in Date and Time
* | | Merge pull request #388 from smartinez87/remove_methodJosé Valim2011-05-081-2/+3
|\ \ \ | | | | | | | | Better use #remove_possible_method here
| * | | Better use #remove_possible_method hereSebastian Martinez2011-05-081-2/+3
| | |/ | |/|
* | | indifferent access should recurse Hash subclassesDavid Lee2011-05-081-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes Hash subclasses convert to HWIA by default for nested objects of subclasses of Hash, but allows certain subclasses to prevent nested conversion by introducing Hash#nested_under_indifferent_access that subclasses can overwrite. ActiveSupport::OrderedHash is one such subclass that overwrites +nested_under_indifferent_access+, since implicitly converting it to HWIA would remove the ordering of keys and values in Ruby 1.8. This change is necessary because commit ce9456e broke nested indifferent access conversion for all subclasses of Hash.
* | | Revert "Merge pull request #275 from pk-amooma/master"José Valim2011-05-071-2/+2
| | | | | | | | | | | | | | | | | | | | | Several AP tests fail after this change. This reverts commit aaf01cd53718c8aa5b69ac056b997e6dd9893777, reversing changes made to 9cc18c52faeebaad6a76bd62cdca1c6b9f96afed.
* | | Merge pull request #286 from jasoncodes/marshal_subsecJosé Valim2011-05-071-0/+1
|\ \ \ | | | | | | | | Fix marshal round-tripping of fractional seconds (Time#subsec).
| * | | Fix marshal round-tripping of fractional seconds (Time#subsec).Jason Weathered2011-04-171-0/+1
| | | |
* | | | Merge pull request #275 from pk-amooma/masterJosé Valim2011-05-071-2/+2
|\ \ \ \ | | | | | | | | | | properly escape "'" to "'" for XML
| * | | | for escaping HTML can be treated as normal XMLPhilipp Kempgen (Amooma)2011-04-141-2/+2
| | | | |
| * | | | properly escape "'" to "'" for XML/HTML (BTW Erubis does that as well)Philipp Kempgen (Amooma)2011-04-141-2/+2
| | | | |
* | | | | Merge pull request #349 from bradley178/masterJosé Valim2011-05-071-1/+2
|\ \ \ \ \ | |_|_|/ / |/| | | | Hash.from_xml chokes on empty CDATA
| * | | | Fix bug with empty CDATA not being handled in Hash.from_xmlBradley Harris2011-04-291-1/+2
| | | | |
* | | | | Use #remove_possible_method insteadSebastian Martinez2011-05-041-1/+1
|/ / / /
* | | | fixed a small bug with Array#from core_extJosh Kalderimis2011-04-271-1/+1
| | | |
* | | | using @tenderlove's suggested implementation to speed things upJared McFarland2011-04-271-1/+1
| | | |
* | | | fixing Array#from to return consistent resultsJared McFarland2011-04-261-2/+2
| | | |
* | | | Grammar fixes for Object#in? documentation.Cheah Chu Yeow2011-04-221-2/+2
| | | |
* | | | NilClass is a singletonAkira Matsuda2011-04-201-1/+1
| | | |
* | | | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-194-25/+112
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: railties/guides/source/ajax_on_rails.textile railties/guides/source/generators.textile
| * | | | remove unwanted Example headers as per the guidelines, s/instaces of ↵Xavier Noria2011-04-191-21/+36
| | | | | | | | | | | | | | | | | | | | NilClass/nil/ and friends, completes some rdocs
| * | | | commit copy-edit: simplifies blank? rdoc and revises formattingXavier Noria2011-04-191-24/+23
| | | | |
| * | | | Revert "Formated docs"Xavier Noria2011-04-191-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reason: "To be blank" and "to be empty" belongs to our everyday terminology, they go in regular font. This reverts commit 280a8709923d2bf707ec4d82ac1e5cb14941da3d.
| * | | | Formated docsSebastian Martinez2011-04-181-9/+9
| | | | |
| * | | | oops fixed typoSebastian Martinez2011-04-181-1/+1
| | | | |
| * | | | Fixed docs for NilClass#trySebastian Martinez2011-04-181-8/+8
| | | | |
| * | | | Formatting docsSebastian Martinez2011-04-172-11/+11
| | | | |
| * | | | Docs for +duplicable?+Sebastian Martinez2011-04-171-4/+28
| | | | |
| * | | | Docs for NilClass#trySebastian Martinez2011-04-171-1/+13
| | | | |
| * | | | Formatting examplesSebastian Martinez2011-04-171-6/+12
| | | | |