Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Limit Array#extract_options! to directl instances of Hash and HWIA. Add ↵ | wycats | 2010-03-27 | 1 | -0/+34 |
| | | | | 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 Hendrick | 2010-03-27 | 2 | -1/+13 |
| | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Add support for a type=binary with an optional encoding=base64. If the ↵ | Josh Franklin | 2010-03-26 | 1 | -1/+3 |
| | | | | | | encoding attribute is absent, the data is considered unencoded. [#2966 state:resolved] | ||||
* | Remove test ordering bug | Evan Phoenix | 2010-03-22 | 1 | -8/+14 |
| | | | | | Don't reuse classes with class attributes when testing different use cases of class attributes. | ||||
* | Singleton classes returns parent's methods with instance_methods(false) and ↵ | José Valim | 2010-03-19 | 1 | -0/+14 |
| | | | | 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 Martinez | 2010-03-18 | 1 | -1/+1 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Added missing requires abstract_unit and activesupport to the loadpath of ↵ | Santiago Pastorino and Sebastian Martinez | 2010-03-18 | 4 | -2/+6 |
| | | | | | | ts_isolated [#4215 state:committed] Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Fixed require line | Sebastian Martinez | 2010-03-18 | 1 | -1/+1 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Mark bang instrumentations as something that you shuold not be listening to. | José Valim | 2010-03-17 | 1 | -3/+3 |
| | |||||
* | Any reason we can't just use the slow 1.8 path for transliteration in 1.9? | wycats | 2010-03-17 | 1 | -12/+4 |
| | |||||
* | Fix some more warnings on 1.9 | wycats | 2010-03-17 | 2 | -3/+10 |
| | |||||
* | Be sure to pass through args to to_yaml | Jeremy Kemper | 2010-03-11 | 1 | -1/+1 |
| | |||||
* | OutputBuffer#to_yaml should return string yaml, not some custom class dump | Jeremy Kemper | 2010-03-11 | 1 | -0/+4 |
| | |||||
* | class_attribute gets instance methods which delegate to but may override ↵ | Jeremy Kemper | 2010-03-08 | 1 | -10/+25 |
| | | | | 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, | wycats | 2010-03-07 | 1 | -0/+2 |
| | | | | | | | | | | | | 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 Mathysen | 2010-03-05 | 1 | -3/+6 |
| | | | | | | | | 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> | ||||
* | Optimize AS::Notifications to remember which subscribers don't match and not ↵ | Carlhuda | 2010-03-01 | 1 | -2/+29 |
| | | | | run them. This will allow notifications that are only useful in dev or testing to run efficiently in production. | ||||
* | You can unsubscribe a subscriber | Carlhuda | 2010-03-01 | 1 | -1/+13 |
| | |||||
* | fix up activesupport test load paths | Joshua Peek | 2010-02-28 | 1 | -0/+3 |
| | |||||
* | no more interpreted as grouped expression warnings on array_ext_test | Santiago Pastorino | 2010-02-26 | 1 | -2/+2 |
| | |||||
* | metaclass deprecated in 2.3.6 | Jeremy Kemper | 2010-02-25 | 1 | -7/+0 |
| | |||||
* | Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice. | Jeremy Kemper | 2010-02-25 | 1 | -6/+10 |
| | |||||
* | Revert "Fix test load paths for those not using bundler" | Carlhuda | 2010-02-23 | 1 | -4/+1 |
| | | | | | | This reverts commit eec2d301d4ce9df9c71c1a5aa63053eb970b6818. This commit broke tests. You cannot have a file called "bundler" on the load path. | ||||
* | Fix streaming by having it create a File object, which can be handled by ↵ | Carlhuda | 2010-02-23 | 1 | -0/+4 |
| | | | | Rack servers as appropriate | ||||
* | Fix test ordering bug related to introducing masked Name class | Yehuda Katz | 2010-02-19 | 1 | -14/+6 |
| | |||||
* | Merge master. | José Valim | 2010-02-17 | 5 | -3/+21 |
|\ | |||||
| * | Clear the attribute after done | Yehuda Katz | 2010-02-16 | 1 | -0/+2 |
| | | |||||
| * | CI has a bunch of duplicate load paths | Joshua Peek | 2010-02-15 | 1 | -1/+2 |
| | | |||||
| * | Make sure AS test env doesn't have duplicate libs in load path | Joshua Peek | 2010-02-15 | 3 | -2/+14 |
| | | |||||
| * | Fix test load paths for those not using bundler | Joshua Peek | 2010-02-15 | 1 | -1/+4 |
| | | |||||
* | | Rename Rails::Subscriber to Rails::LogSubscriber | Prem Sichanugrist | 2010-02-16 | 1 | -3/+3 |
|/ | |||||
* | Simplify dependencies.rb some. Remove alias of Kernel::Foo to Object::Foo as ↵ | Yehuda Katz | 2010-02-14 | 1 | -11/+6 |
| | | | | it was not used and breaks Ruby semantics. | ||||
* | moves Class#reachable? to Module#reachable?, bases implementation on ↵ | Xavier Noria | 2010-02-11 | 1 | -0/+41 |
| | | | | anonymous? and constantize, and adds test coverage | ||||
* | defines Module#anonymous? | Xavier Noria | 2010-02-11 | 1 | -0/+14 |
| | |||||
* | Since require_dependency cannot be cleared, remove the dependencies | Yehuda Katz | 2010-02-10 | 1 | -0/+5 |
| | |||||
* | Fix a JSON ordering issue | Yehuda Katz | 2010-02-10 | 1 | -3/+7 |
| | |||||
* | No need to emulate default Ruby behavior in initialize | Yehuda Katz | 2010-02-10 | 1 | -3/+0 |
| | |||||
* | Don't rely on @message in Error classes being available for use | Yehuda Katz | 2010-02-10 | 1 | -4/+1 |
| | |||||
* | Reinstate Object.subclasses_of and Class#descendents for plugin compat. | Jeremy Kemper | 2010-02-09 | 2 | -0/+79 |
| | | | | This reverts commits 7d312e54bad9c39634c137caec07dfc8df471650, 5f981ff0294ba45aa44ad15aa063970b29aeec44, f85f5dfc8ffefff174b695c6363211d342f77a57, 245bfafe335ff883f7a096eab95ac22fe2848679, and ec7c642f5fe60afc857aa64f1a9b4c2be56f9d70 | ||||
* | removes Module#as_load_path, which is no longer used | Xavier Noria | 2010-02-07 | 2 | -10/+0 |
| | |||||
* | removes Module#included_in_classes, which is no longer used | Xavier Noria | 2010-02-07 | 1 | -7/+0 |
| | |||||
* | Fixed html_safe test cases which weren't testing correctly | Santiago Pastorino and José Ignacio Costa | 2010-02-05 | 1 | -17/+20 |
| | | | | | | [#3845 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Automatically prefer Yajl or JSON backend over Yaml, if available | Jeremy Kemper | 2010-02-05 | 1 | -1/+1 |
| | |||||
* | Add yajl-ruby as a JSON parsing backend | Brian Lopez | 2010-02-05 | 1 | -0/+1 |
| | | | | | | [#2666 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Remove instrument! and require thread from AS::Notifications. | José Valim | 2010-02-04 | 1 | -17/+1 |
| | |||||
* | Revert "failing tests in multibyte_chars_test.rb fixed". The bug is in Ruby ↵ | José Valim | 2010-02-02 | 1 | -11/+11 |
| | | | | | | 1.9.1 p376, not in AS test suite. This reverts commit bf1f70d8776e28f9181faefc4914059b4ad26b99. | ||||
* | failing tests in multibyte_chars_test.rb fixed | Santiago Pastorino | 2010-02-01 | 1 | -11/+11 |
| | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | Introduce class_attribute to declare inheritable class attributes. Writing ↵ | Jeremy Kemper | 2010-02-01 | 1 | -0/+47 |
| | | | | 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. | ||||
* | Deleted all references to ActionView::SafeBuffer in favor of ↵ | Santiago Pastorino | 2010-01-31 | 1 | -0/+41 |
| | | | | | | ActiveSupport::SafeBuffer Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | For performance reasons, you can no longer call html_safe! on Strings. ↵ | Yehuda Katz | 2010-01-31 | 1 | -33/+34 |
| | | | | | | | | | | | | Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe. |