aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
Commit message (Collapse)AuthorAgeFilesLines
* Don't write to /dev/null on mingw. [#3921 state:resolved] (ht: Patrick ↵wycats2010-03-271-1/+1
| | | | Daryll Glandien)
* Limit Array#extract_options! to directl instances of Hash and HWIA. Add ↵wycats2010-03-272-1/+20
| | | | extractable_options? to Hash so that subclasses of Hash can opt-into extractable behavior. This fixes an issue where respond_with wasn't working with subclasses of Hash that were provided by other libraries (such as CouchDB or Mashie) [#4145 state:resolved]
* 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-2620-23/+69
|\
| * Move application configuration to the application configuration object, ↵José Valim2010-03-261-4/+2
| | | | | | | | remove railtie_name and engine_name and allow to set the configuration object.
| * Ensure to reference the proper TZInfo namespace [#4268 state:resolved].José Valim2010-03-261-2/+2
| |
| * 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
| |
| * Merge branch 'master' of gitproxy:rails/railsJosé Valim2010-03-171-1/+2
| |\
| | * Require AS singleton_class code in AS output_safetysnusnu2010-03-171-1/+2
| | | | | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | Mark bang instrumentations as something that you shuold not be listening to.José Valim2010-03-171-1/+1
| |/
| * fixing activemodel tests. [#4210 state:resolved]Aaron Patterson2010-03-171-0/+1
| | | | | | | | Signed-off-by: wycats <wycats@gmail.com>
| * 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>
| * Any reason we can't just use the slow 1.8 path for transliteration in 1.9?wycats2010-03-171-2/+2
| |
| * 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-179-10/+29
| | | | | | | | warnings are in dependencies.
| * Eliminate warnings for AM on 1.8wycats2010-03-163-2/+13
| |
| * Improve performance of multibyte utils.James Golick2010-03-161-1/+1
| | | | | | | | | | | | | | Switch from using String#match to using String#=~. There's no need to generate a MatchData for each iteration since we're not using it. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | 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-1233-166/+181
|\| | | | | | | | | | | | | 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
| |
| * Disprefer JSONGem decoder since it only decodes JSON objectsJeremy Kemper2010-03-091-1/+1
| |
| * 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-078-101/+41
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * Removed the + sign as an accepted character from the parameterize method, as ↵Stijn Mathysen2010-03-051-1/+1
| | | | | | | | | | | | | | | | a + sign is interpreted by the browser as a space, possibly resulting in a "ArgumentError: illegal character in key" [#4080 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Allow deprecation messages with or without a final period.Jeremy Kemper2010-03-051-1/+2
| |
| * Move InheritableOptions into ActiveSupportCarlhuda2010-03-031-0/+6
| |
| * Inflection dependency, [#4067 status:resolved]Jason King2010-03-031-1/+3
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * whiny nil shouldn't depend on Active Record [#4092 status:resolved]windock2010-03-031-1/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Update versions of all components to normalize them to new formatBryan Helmkamp2010-03-021-2/+3
| |
| * Optimize AS::Notifications to remember which subscribers don't match and not ↵Carlhuda2010-03-012-4/+13
| | | | | | | | run them. This will allow notifications that are only useful in dev or testing to run efficiently in production.
| * You can unsubscribe a subscriberCarlhuda2010-03-012-3/+12
| |
| * AS::Subscriber is not a LogSubscriberCarlhuda2010-03-011-2/+2
| |
| * Hash#symbolize_keys(!) optimizationsLourens Naudé2010-03-011-1/+1
| | | | | | | | | | | | [#3891 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Escape the file name (who knows when a "(" might appear in a filename!)Yehuda Katz2010-02-271-1/+1
| |
| * Remove the noisy lines involving AS::Dependencies from the NameError stack ↵Yehuda Katz2010-02-271-0/+3
| | | | | | | | trace if a constant cannot be found.
| * 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-256-19/+22
| |
| * Commented metaprogramming turned out to be noisier not clearerJeremy Kemper2010-02-252-12/+12
| |
| * Woops, forgot to actually add active_support/core_ext/file/path.rbCarlhuda2010-02-231-0/+5
| |
| * Fix streaming by having it create a File object, which can be handled by ↵Carlhuda2010-02-231-0/+1
| | | | | | | | Rack servers as appropriate
| * Rename engines_load_path to railties_load_path.José Valim2010-02-201-2/+2
| |
| * require publicize_conversion_method to ensure to_date and to_datetime became ↵Santiago Pastorino2010-02-191-0/+1
| | | | | | | | public before redefining them (avoid warnings)