aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* Replace the placeholder base_hook API with on_load. To specify some code thatwycats2010-03-294-25/+13
| | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end
* Revert "Hash#symbolize_keys(!) optimizations"Jeremy Kemper2010-03-291-1/+1
| | | | | | | | Was slower in common case. [#3891 state:open] This reverts commit 2060977b767061a42eb8db2d5c3a30d205a94123.
* Provide a better error if the parsed REXML document has no root [#3803 ↵wycats2010-03-281-1/+7
| | | | state:resolved]
* Ruby 1.9.2: marshaling round-trips Time#zoneJeremy Kemper2010-03-286-41/+67
|
* Drop expires argument from call to @data in MemCacheStore so it works with ↵Vladimir Andrijevik2010-03-282-1/+7
| | | | | memcache-client and memcached gems, as advertised [#3672 state:resolved] Signed-off-by: wycats <wycats@gmail.com>
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-282-0/+2
|
* Time zone tests were right all along.José Valim2010-03-281-4/+4
|
* Actually check the value of the ivarwycats2010-03-271-4/+2
|
* Ruby's marshaling of Time instances doesn't respect the zone [#4282 ↵Santiago Pastorino2010-03-271-2/+2
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* LINE on class_eval need + 1, also removed comments [#4281 state:committed]Santiago Pastorino2010-03-272-44/+47
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* flatten not needed hereSantiago Pastorino2010-03-271-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove stray instance variable to resolve serialization problem [#3769 ↵wycats2010-03-271-3/+9
| | | | state:resolved] (ht: Joe Rafaniello)
* 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-273-1/+54
| | | | 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-274-11/+30
| | | Signed-off-by: wycats <wycats@gmail.com>
* Merge branch 'master' into docrailswycats2010-03-2633-54/+125
|\
| * 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-262-1/+12
| | | | | | | | | | | | encoding attribute is absent, the data is considered unencoded. [#2966 state:resolved]
| * Use latest I18n (0.3.6).José Valim2010-03-231-1/+1
| |
| * Remove test ordering bugEvan Phoenix2010-03-221-8/+14
| | | | | | | | | | Don't reuse classes with class attributes when testing different use cases of class attributes.
| * 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-192-1/+17
| | | | | | | | this makes remove_method in Module#delegate fail. Add a test case and fix the bug.
| * Make dependencies_test pass running standalone [#4215 state:resolved]Santiago Pastorino and Sebastian Martinez2010-03-181-1/+1
| | | | | | | | Signed-off-by: wycats <wycats@gmail.com>
| * Added missing requires abstract_unit and activesupport to the loadpath of ↵Santiago Pastorino and Sebastian Martinez2010-03-184-2/+6
| | | | | | | | | | | | ts_isolated [#4215 state:committed] Signed-off-by: wycats <wycats@gmail.com>
| * Fixed require lineSebastian Martinez2010-03-181-1/+1
| | | | | | | | Signed-off-by: wycats <wycats@gmail.com>
| * 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-172-4/+4
| |/
| * 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-172-14/+6
| |
| * Fix some more warnings on 1.9wycats2010-03-173-3/+12
| |
| * 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>
| * Allow memcache-client 1.8.0Jeremy Kemper2010-03-151-1/+1
| |
* | 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-1251-224/+308
|\| | | | | | | | | | | | | 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-112-3/+3
| |
| * 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-112-0/+8
| |
| * Optimize and clean up how details key get expired.José Valim2010-03-101-1/+1
| |
| * 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-082-12/+48
| | | | | | | | 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-0710-101/+46
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * Load RAILS_VERSION relative to the gemspec file.Stefan Penner2010-03-061-1/+1
| |