aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | added missing requireGonçalo Silva2011-03-251-0/+2
| | | | | |
| * | | | | removed leftovers from the copy-paste from mriGonçalo Silva2011-03-251-9/+0
| | | | | |
| * | | | | rubinius returns "rbx" for RUBY_ENGINE, not "rubinius"Gonçalo Silva2011-03-251-2/+2
| | | | | |
| * | | | | added basic structure for RubiniusGonçalo Silva2011-03-253-6/+68
| | | | | |
| * | | | | divide the ruby interpreter into mri and yarv for improved modularityGonçalo Silva2011-03-253-70/+145
| | | | | |
| * | | | | renamed "mri" to "ruby", for consistency with RUBY_ENGINEGonçalo Silva2011-03-254-2/+2
| | | | | |
| * | | | | check whether the user is using a supported ruby interpreter for benchmarkingGonçalo Silva2011-03-251-1/+7
| | | | | |
| * | | | | using number_helper to pretty print some results Gonçalo Silva2011-03-252-19/+16
| | | | | |
| * | | | | extracted more generic methods, added a note for methods that need to be ↵Gonçalo Silva2011-03-252-48/+87
| | | | | | | | | | | | | | | | | | | | | | | | overridden by each implementation
| * | | | | initial separation of RubyProf-specific codeGonçalo Silva2011-03-252-218/+241
| | | | | |
| * | | | | ruby-prof only makes sense in an MRI contextGonçalo Silva2011-03-251-5/+7
| | | | | |
| * | | | | move "check for ruby-prof" from AD/testing/performance_test to ↵Gonçalo Silva2011-03-241-308/+310
| | | | | | | | | | | | | | | | | | | | | | | | AS/testing/performance, where it is actually required
| * | | | | check if RubyProf's WALL_TIME and PROCESS_TIME are available before using ↵Gonçalo Silva2011-03-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | them (similarly to other constants)
* | | | | | 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.
* | | | | | Optimize parts of HashWithIndifferentAccessDavid Lee2011-05-171-2/+10
| | | | | |
* | | | | | 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
| | | | | |
* | | | | | securerandom ships with 1.8.7+, so just use itAaron Patterson2011-05-131-202/+3
| | | | | |
* | | | | | 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
* | | | | | | add missing require for ordered_hash dependencyCorin Langosch2011-05-111-0/+1
| | | | | | |
* | | | | | | make sure log file is written in binary mode. fixes #497Aaron Patterson2011-05-101-0/+2
| | | | | | |
* | | | | | | Fix failing test.José Valim2011-05-091-1/+1
| | | | | | |
* | | | | | | xml_mini.rb:_dasherize() replacement 20 to 25% fasterMike Howard2011-05-091-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | | | | | adds code examples for negative ordinalizeVijay Dev2011-05-081-1/+3
| | | | | | |
* | | | | | | 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-083-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Merge pull request #430 from dlee/methodoverrideJosé Valim2011-05-081-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Logs should show overridden method; Issue 426
| * | | | | | | Logs should show overridden method; Issue 426David Lee2011-05-071-0/+1
| | | | | | | |
* | | | | | | | Fix failing xml mini test.José Valim2011-05-081-1/+4
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | 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.
* | | | | | | xml_mini_test.rb now runs.José Valim2011-05-071-0/+1
| | | | | | |
* | | | | | | ordinalize negative numbers patchJason2011-05-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applied patch by Amir Manji https://github.com/rails/rails/issues/437#issuecomment-1116045 Signed-off-by: Jason <jasonmichaelroth@gmail.com>
* | | | | | | 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