aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
Commit message (Collapse)AuthorAgeFilesLines
* fixing inconsistency with cattr_reader and matter_reader [#4172 state:resolved]Kabari Hendrick2010-03-272-10/+17
| | | Signed-off-by: wycats <wycats@gmail.com>
* Merge branch 'master' into docrailswycats2010-03-2611-8/+54
|\
| * Add support for a type=binary with an optional encoding=base64. If the ↵Josh Franklin2010-03-261-0/+9
| | | | | | | | | | | | encoding attribute is absent, the data is considered unencoded. [#2966 state:resolved]
| * avoid active_support/core_ext/time/conversions.rb warningsSantiago Pastorino2010-03-211-0/+1
| | | | | | | | | | | | [#4250 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Singleton classes returns parent's methods with instance_methods(false) and ↵José Valim2010-03-191-1/+3
| | | | | | | | this makes remove_method in Module#delegate fail. Add a test case and fix the bug.
| * AS datetime conversions now require AS time conversionssnusnu2010-03-181-0/+1
| |
| * Require AS singleton_class code in AS output_safetysnusnu2010-03-171-1/+2
| | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Move require closer to homeJeremy Kemper2010-03-171-0/+1
| |
| * fixing activerecord tests [#4205 state:resolved]Aaron Patterson2010-03-171-2/+2
| | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Fix some more warnings on 1.9wycats2010-03-171-0/+2
| |
| * Remove some 1.9 warnings (resulting in some fixed bugs). Remaining AM ↵wycats2010-03-175-5/+23
| | | | | | | | warnings are in dependencies.
| * Eliminate warnings for AM on 1.8wycats2010-03-163-2/+13
| |
* | Merge remote branch 'mainstream/master'Pratik Naik2010-03-151-5/+1
|\|
| * to_str works hereJeremy Kemper2010-03-151-5/+1
| |
* | Merge remote branch 'mainstream/master'Pratik Naik2010-03-1214-123/+71
|\| | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb railties/lib/rails/configuration.rb railties/lib/rails/log_subscriber.rb
| * Be sure to pass through args to to_yamlJeremy Kemper2010-03-111-2/+2
| |
| * Write strings to fragment cache, not outputbuffersJeremy Kemper2010-03-111-1/+5
| |
| * OutputBuffer#to_yaml should return string yaml, not some custom class dumpJeremy Kemper2010-03-111-0/+4
| |
| * class_attribute gets instance methods which delegate to but may override ↵Jeremy Kemper2010-03-081-2/+23
| | | | | | | | their class values as you'd expect. Disable instance writer methods with :instance_writer => false.
| * Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-072-92/+1
| | | | | | | | | | | | | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook
| * Inflection dependency, [#4067 status:resolved]Jason King2010-03-031-1/+3
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Hash#symbolize_keys(!) optimizationsLourens Naudé2010-03-011-1/+1
| | | | | | | | | | | | [#3891 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * metaclass deprecated in 2.3.6Jeremy Kemper2010-02-252-15/+0
| |
| * Missed singleton_classJeremy Kemper2010-02-251-0/+13
| |
| * Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-254-16/+19
| |
| * Commented metaprogramming turned out to be noisier not clearerJeremy Kemper2010-02-251-3/+3
| |
| * Woops, forgot to actually add active_support/core_ext/file/path.rbCarlhuda2010-02-231-0/+5
| |
| * require publicize_conversion_method to ensure to_date and to_datetime became ↵Santiago Pastorino2010-02-191-0/+1
| | | | | | | | public before redefining them (avoid warnings)
| * Use FileUtils.mv instead of rename to copy in case of cross-device linksJeremy Kemper2010-02-181-1/+2
| |
* | Merge remote branch 'mainstream/master'Pratik Naik2010-02-1415-74/+115
|\| | | | | | | | | | | | | | | Conflicts: railties/README railties/guides/source/active_support_core_extensions.textile railties/guides/source/getting_started.textile railties/lib/generators/rails/app/templates/README
| * adds a few missing requires in AS object.rb and module.rbXavier Noria2010-02-142-0/+6
| | | | | | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
| * fixes Module#anonymous? for 1.9Xavier Noria2010-02-111-2/+6
| |
| * moves Class#reachable? to Module#reachable?, bases implementation on ↵Xavier Noria2010-02-113-6/+14
| | | | | | | | anonymous? and constantize, and adds test coverage
| * defines Module#anonymous?Xavier Noria2010-02-112-1/+21
| |
| * Reinstate object/extending require too for Object.subclasses_ofJeremy Kemper2010-02-091-0/+1
| |
| * Reinstate Object.subclasses_of and Class#descendents for plugin compat.Jeremy Kemper2010-02-093-0/+70
| | | | | | | | This reverts commits 7d312e54bad9c39634c137caec07dfc8df471650, 5f981ff0294ba45aa44ad15aa063970b29aeec44, f85f5dfc8ffefff174b695c6363211d342f77a57, 245bfafe335ff883f7a096eab95ac22fe2848679, and ec7c642f5fe60afc857aa64f1a9b4c2be56f9d70
| * removes Module#as_load_path, which is no longer usedXavier Noria2010-02-072-26/+0
| |
| * removes Module#included_in_classes, which is no longer usedXavier Noria2010-02-072-31/+0
| |
| * Fix doc typo and update fast_xs URL. Thanks to Dmitrii Golub.Jeremy Kemper2010-02-072-2/+2
| |
| * Merge remote branch 'fxn/master'Jeremy Kemper2010-02-062-8/+0
| |\
| | * removes Kernel#daemonize, which is no longer usedXavier Noria2010-02-062-8/+0
| | |
| * | fix usage examples and more to use new invocationsRomD2010-02-061-1/+1
| |/ | | | | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
| * Making SafeBuffer << an alias for concat methodSantiago Pastorino2010-02-051-5/+2
| | | | | | | | | | | | [#3848 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | removes p calls in rdoc examplesXavier Noria2010-02-061-8/+8
| |
* | reformats an example in the rdoc of delegateXavier Noria2010-02-061-2/+7
| |
* | Merge branch 'master' of git://github.com/rails/railsMikel Lindsaar2010-02-021-1/+1
|\| | | | | | | | | | | | | | | Conflicts: activemodel/README activemodel/lib/active_model/errors.rb activemodel/lib/active_model/serialization.rb railties/guides/source/3_0_release_notes.textile
| * Merge branch 'master' of git://github.com/rails/railsMikel Lindsaar2010-02-022-21/+121
| |\
| * | Updating copyright dates on all licensesMikel Lindsaar2010-02-011-1/+1
| | |
* | | Merge remote branch 'mainstream/master'Pratik Naik2010-02-012-21/+121
|\ \ \ | | |/ | |/|
| * | Introduce class_attribute to declare inheritable class attributes. Writing ↵Jeremy Kemper2010-02-011-0/+36
| | | | | | | | | | | | an attribute on a subclass behaves just like overriding the superclass reader method. Unifies and replaces most usage of cattr_accessor, class_inheritable_attribute, superclass_delegating_attribute, and extlib_inheritable_attribute.