Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cache.rb requires active_support/core_ext/string/inflections because it uses ↵ | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | | | | camelize | ||||
* | requires active_support/inflector/methods ↵ | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | | | | active_support/core_ext/string/inflections in local_cache.rb because it uses underscore | ||||
* | requires active_support/core_ext/array/extract_options in mem_cache_store.rb ↵ | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | | | | because it uses extract_options! | ||||
* | requires active_support/gzip in CompressedMemCacheStore because it uses ↵ | Xavier Noria | 2010-01-01 | 1 | -0/+2 |
| | | | | ActiveSupport::Gzip | ||||
* | requires active_support/core_ext/hash/keys in benchmarkable because it uses ↵ | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | | | | assert_valid_keys | ||||
* | make sure returning is available for the libxml extension | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | |||||
* | delegating_attributes.rb does not use duplicable | Xavier Noria | 2010-01-01 | 1 | -1/+0 |
| | |||||
* | require cgi to reopen it, not technically needed but makes sense | Xavier Noria | 2010-01-01 | 1 | -0/+2 |
| | |||||
* | Fixed some bugs and fixed some tests in new SAX-based XmlMini backends. | Willem van Bergen | 2010-01-01 | 5 | -17/+20 |
| | | | | | | [#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 | 2 | -0/+278 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Added SAX-based parser for XmlMini, using Nokogiri. | Willem van Bergen | 2010-01-01 | 2 | -0/+298 |
| | | | | 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 | 4 | -112/+95 |
| | | | | | | | | XmlMini backends [#3641 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Simplify repair_validations on AR and make it work with new callbacks. | José Valim | 2010-01-01 | 1 | -1/+1 |
| | |||||
* | Fix inheritance issue with new callbacks. | José Valim | 2010-01-01 | 3 | -20/+94 |
| | |||||
* | Allow ActiveSupport's isolation tests to run with MiniTest on 1.9 | Carl Lerche | 2009-12-30 | 2 | -141/+189 |
| | |||||
* | Get rid of DeprecatedCallbacks in ActiveRecord::Associations and finally ↵ | José Valim | 2009-12-30 | 2 | -285/+0 |
| | | | | remove it. | ||||
* | Setup and teardown now use new callbacks. | José Valim | 2009-12-30 | 3 | -32/+52 |
| | |||||
* | Silence some trivial warnings: shadowed local vars, indentation mismatches | Jeremy Kemper | 2009-12-28 | 1 | -4/+4 |
| | |||||
* | Added Object#presence that returns the object if it's #present? otherwise ↵ | David Heinemeier Hansson | 2009-12-27 | 3 | -4/+29 |
| | | | | returns nil [DHH/Colin Kelley] | ||||
* | Fixes some problems with getting a new app working | Yehuda Katz | 2009-12-27 | 1 | -0/+2 |
| | |||||
* | String#exclude? core extension: inverse of #include? | Jeremy Kemper | 2009-12-27 | 3 | -1/+15 |
| | |||||
* | Merge branch 'master' of github.com:rails/rails | David Heinemeier Hansson | 2009-12-27 | 4 | -18/+51 |
|\ | |||||
| * | Remove ActionView inline logging to ActiveSupport::Notifications and create ↵ | José Valim | 2009-12-26 | 2 | -18/+15 |
| | | | | | | | | 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 | 2 | -0/+36 |
| | | | | | | | | this without the performance hit and make Fixnum safe by default. | ||||
* | | Fix the i18n dependency problem | David Heinemeier Hansson | 2009-12-27 | 4 | -3/+4 |
|/ | |||||
* | Fix whiny_nil tests, improve error messages and make CI happy. | José Valim | 2009-12-25 | 1 | -6/+7 |
| | |||||
* | Move i18n to Gemfile. | José Valim | 2009-12-25 | 14 | -1344/+1 |
| | |||||
* | This code was needed to work around ↵ | Yehuda Katz | 2009-12-24 | 1 | -4/+1 |
| | | | | http://redmine.ruby-lang.org/issues/show/2494. Since that bug is now closed in Ruby, we can remove it. | ||||
* | Simplify and improve the performance of output_safety | Yehuda Katz | 2009-12-24 | 1 | -22/+6 |
| | |||||
* | Instead of marking raw text in templates as safe, and then putting them ↵ | Yehuda Katz | 2009-12-24 | 1 | -0/+1 |
| | | | | through String#<< which checks if the String is safe, use safe_concat, which uses the original (internal) String#<< and leaves the safe flag as is. Results in a significant performance improvement. | ||||
* | Fix ActiveSupport::JSON encoding of control characters [\x00-\x1f] | Dwayne Litzenberger | 2009-12-23 | 2 | -3/+14 |
| | | | | | | | | | | | | | | 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> | ||||
* | Flip deferrable autoload convention | Joshua Peek | 2009-12-22 | 2 | -30/+33 |
| | |||||
* | Missing acts_like dependency | Yehuda Katz | 2009-12-20 | 1 | -0/+1 |
| | |||||
* | Fixes Dependency bug in ActiveSupport | Yehuda Katz | 2009-12-20 | 2 | -0/+2 |
| | |||||
* | :to => redirect() can take a String using 1.9-style interpolation or proc ↵ | Yehuda Katz | 2009-12-20 | 1 | -0/+1 |
| | | | | that takes the path parameters as a Hash | ||||
* | Hush AS test suite | Joshua Peek | 2009-12-16 | 1 | -1/+0 |
| | |||||
* | 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 | 2 | -2/+17 |
| | | | | ActiveRecord models with DateTime attributes. | ||||
* | Add Enumerable#exclude? to bring parity to Enumerable#include? and avoid if ↵ | David Heinemeier Hansson | 2009-12-14 | 3 | -0/+12 |
| | | | | !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. | ||||
* | Extract descendents a bit so it can take advantage of Rubinius' __subclasses__. | Yehuda Katz | 2009-12-13 | 2 | -34/+45 |
| | |||||
* | Allow autoloads to opt out of eager loading | Joshua Peek | 2009-12-12 | 1 | -4/+16 |
| | |||||
* | Ruby 1.9.2: explicitly raise NoMethodError for explicit coercion attempts. ↵ | Jeremy Kemper | 2009-12-06 | 1 | -1/+1 |
| | | | | Calling super gives us NameErrors. | ||||
* | Should fix a few Sam Ruby fails. | Yehuda Katz | 2009-12-03 | 2 | -32/+32 |
| | |||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 6 | -363/+491 |
| | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | Quick fix for not escaping []s (not ideal) | Joshua Peek | 2009-12-02 | 1 | -1/+1 |
| | |||||
* | Failing tests for to_param/to_query not escaping "[]" | Joshua Peek | 2009-12-02 | 3 | -6/+6 |
| | |||||
* | Remove concat before overriding it | Joshua Peek | 2009-12-01 | 1 | -6/+7 |
| | |||||
* | Notifications: synchronous fanout queue pushes events to subscribers rather ↵ | Jeremy Kemper | 2009-11-29 | 2 | -22/+49 |
| | | | | than having them concurrently pull | ||||
* | Notifications: extract central Notifier, cordon off the internal Fanout ↵ | Jeremy Kemper | 2009-11-28 | 4 | -290/+259 |
| | | | | implementation, and segregate instrumentation concerns |