Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Get rails tests running on bundler 0.9 | Carl Lerche | 2010-01-31 | 1 | -9/+1 |
| | |||||
* | deOMGifying Railties, Active Support, and Action Pack | Mikel Lindsaar | 2010-01-31 | 5 | -15/+15 |
| | |||||
* | superclass_delegating_accessor rewritten to serve as the base for many other ↵ | Yehuda Katz | 2010-01-29 | 1 | -34/+0 |
| | | | | kinds of accessors (step 1 of unification) | ||||
* | Ensure test sets json time format flag | Jeremy Kemper | 2010-01-28 | 1 | -1/+4 |
| | |||||
* | Time#- with a DateTime argument behaves the same as with a Time argument, ↵ | Geoff Buesing | 2010-01-27 | 1 | -0/+4 |
| | | | | i.e. returns the difference between self and arg as a Float [#3476 status:resolved] | ||||
* | Adding custom yaml (de-)serialization for OrderedHash | Gregor Schmidt | 2010-01-27 | 1 | -0/+24 |
| | | | | | | [#3608 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Merge remote branch 'fxn/master' | Jeremy Kemper | 2010-01-26 | 2 | -140/+0 |
|\ | |||||
| * | removes Object#extended_by | Xavier Noria | 2010-01-26 | 1 | -7/+0 |
| | | |||||
| * | removes unused method Object#extend_with_included_modules_from | Xavier Noria | 2010-01-26 | 1 | -15/+0 |
| | | |||||
| * | deletes no void files removal.rb and class_test.rb | Xavier Noria | 2010-01-26 | 2 | -21/+0 |
| | | |||||
| * | removes unused method Class#remove_class | Xavier Noria | 2010-01-26 | 1 | -17/+0 |
| | | |||||
| * | removes unused Object#subclasses_of | Xavier Noria | 2010-01-26 | 1 | -49/+0 |
| | | |||||
| * | removes unused Class#remove_subclasses | Xavier Noria | 2010-01-26 | 1 | -21/+0 |
| | | |||||
| * | removes unused method Class#subclasses | Xavier Noria | 2010-01-26 | 1 | -10/+0 |
| | | |||||
* | | Remove deprecated behavior since 2.3. | José Valim and Mikel Lindsaar | 2010-01-24 | 1 | -17/+1 |
| | | |||||
* | | Add uniq_by and uniq_by! to Array. | José Valim and Mikel Lindsaar | 2010-01-24 | 1 | -3/+23 |
|/ | |||||
* | Default to sync instrumentation. | José Valim | 2010-01-21 | 1 | -17/+1 |
| | |||||
* | Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵ | Yehuda Katz | 2010-01-19 | 1 | -0/+15 |
| | | | | nil!) | ||||
* | Fix bug that causes TimeZone.seconds_to_utc_offset to returns wrong offset ↵ | Prem Sichanugrist | 2010-01-19 | 1 | -0/+6 |
| | | | | | | when hour < 0 and not in hundreds [#3741 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add ActionDispatch::Notifications middleware. | José Valim | 2010-01-17 | 1 | -0/+16 |
| | |||||
* | Use backtrace cleaner for dev mode exception page | Joshua Peek | 2010-01-16 | 1 | -69/+0 |
| | |||||
* | Yield the payload notifications for further modification (like adding the ↵ | José Valim | 2010-01-15 | 1 | -2/+2 |
| | | | | result). | ||||
* | Add instrument! to notifications which adds the result to the payload. | José Valim | 2010-01-14 | 1 | -1/+11 |
| | |||||
* | Do not send notifications when instrumentation raise an error. | José Valim | 2010-01-13 | 1 | -7/+4 |
| | |||||
* | Remove unneeded reliance on super -> method_missing quirk | Jeremy Kemper | 2010-01-07 | 1 | -0/+25 |
| | |||||
* | instrumenter should be accessible from ActiveSupport::Notifications. | José Valim | 2010-01-06 | 1 | -7/+10 |
| | |||||
* | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -1/+0 |
| | |||||
* | Expose Instrumenter id in Notifications. | José Valim | 2010-01-04 | 1 | -0/+4 |
| | |||||
* | Skip isolation test tests until they work | Jeremy Kemper | 2010-01-02 | 1 | -3/+3 |
| | |||||
* | Let Integer#multiple_of? accept zero as argument | Xavier Noria | 2010-01-02 | 1 | -0/+5 |
| | | | | | | [#2982 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fixed some bugs and fixed some tests in new SAX-based XmlMini backends. | Willem van Bergen | 2010-01-01 | 3 | -9/+12 |
| | | | | | | [#3636 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Added SAX-based parser for XmlMini, using LibXML | Willem van Bergen | 2010-01-01 | 1 | -0/+194 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Added SAX-based parser for XmlMini, using Nokogiri. | Willem van Bergen | 2010-01-01 | 1 | -0/+216 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Code cleanup, bugfixes and speed improvements for the Nokogiri and LibXML ↵ | Willem van Bergen | 2010-01-01 | 2 | -2/+47 |
| | | | | | | | | XmlMini backends [#3641 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix inheritance issue with new callbacks. | José Valim | 2010-01-01 | 1 | -0/+35 |
| | |||||
* | Allow ActiveSupport's isolation tests to run with MiniTest on 1.9 | Carl Lerche | 2009-12-30 | 1 | -123/+143 |
| | |||||
* | Setup and teardown now use new callbacks. | José Valim | 2009-12-30 | 1 | -4/+5 |
| | |||||
* | Added Object#presence that returns the object if it's #present? otherwise ↵ | David Heinemeier Hansson | 2009-12-27 | 1 | -2/+7 |
| | | | | returns nil [DHH/Colin Kelley] | ||||
* | String#exclude? core extension: inverse of #include? | Jeremy Kemper | 2009-12-27 | 1 | -0/+7 |
| | |||||
* | Remove ActionView inline logging to ActiveSupport::Notifications and create ↵ | José Valim | 2009-12-26 | 1 | -12/+10 |
| | | | | ActionController::Base#log_event, so everything can be logged within one listener. Also expose log_process_action as a hook for different modules to include their own information during the action processing. This allow ActiveRecord to hook and any other ORM. Finally, this commit changes 'Processing' and 'Rendering' in logs to 'Processed' and 'Rendered' because at the point it's logged, everying already happened. | ||||
* | String#<< should work for any object which responds to :to_str, so enable ↵ | José Valim | 2009-12-26 | 1 | -0/+24 |
| | | | | this without the performance hit and make Fixnum safe by default. | ||||
* | Fix whiny_nil tests, improve error messages and make CI happy. | José Valim | 2009-12-25 | 1 | -6/+7 |
| | |||||
* | Fix ActiveSupport::JSON encoding of control characters [\x00-\x1f] | Dwayne Litzenberger | 2009-12-23 | 1 | -1/+3 |
| | | | | | | | | | | | | | | According to RFC 4627, only the following Unicode code points are allowed unescaped in JSON: unescaped = %x20-21 / %x23-5B / %x5D-10FFFF However, ActiveSupport::JSON did not escape the range %x00-1f. This caused parse errors when trying to decode the resulting output. [#3345 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Add test for TimeWithZone#to_i with wrapped DateTime | Geoff Buesing | 2009-12-15 | 1 | -0/+6 |
| | |||||
* | Added #to_i to DateTime in ActiveSupport so #to_yaml works correctly on ↵ | Serguei Filimonov | 2009-12-15 | 1 | -0/+4 |
| | | | | ActiveRecord models with DateTime attributes. | ||||
* | Add Enumerable#exclude? to bring parity to Enumerable#include? and avoid if ↵ | David Heinemeier Hansson | 2009-12-14 | 1 | -0/+5 |
| | | | | !x.include?/else calls [DHH] | ||||
* | Modify backtrace test to take implementations with slightly different ↵ | Yehuda Katz | 2009-12-13 | 1 | -1/+1 |
| | | | | backtrace output into consideration. | ||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 3 | -0/+84 |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | ||||
* | Failing tests for to_param/to_query not escaping "[]" | Joshua Peek | 2009-12-02 | 1 | -4/+4 |
| |