Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | 1 | -2/+11 | |
| | | | | | | | | | | | | | | 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 | |||||
* | Added #to_i to DateTime in ActiveSupport so #to_yaml works correctly on ↵ | Serguei Filimonov | 2009-12-15 | 1 | -2/+13 | |
| | | | | 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] | |||||
* | 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 | 3 | -363/+407 | |
| | | | | | | | | | | | | | | | | | | | | | * 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 | 2 | -2/+2 | |
| | ||||||
* | 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 | 1 | -22/+39 | |
| | | | | than having them concurrently pull | |||||
* | Notifications: extract central Notifier, cordon off the internal Fanout ↵ | Jeremy Kemper | 2009-11-28 | 3 | -132/+147 | |
| | | | | implementation, and segregate instrumentation concerns | |||||
* | Remark that Listener is an implementation detail | Jeremy Kemper | 2009-11-28 | 1 | -1/+2 | |
| | ||||||
* | Expose a simple Queue#wait to block until all notifications are drained | Jeremy Kemper | 2009-11-28 | 1 | -2/+7 | |
| | ||||||
* | Revert "Create SyncListener. Since they do not rely on Thread, they can be ↵ | Jeremy Kemper | 2009-11-28 | 1 | -58/+34 | |
| | | | | | | | | used on Google App Engine." Take a step back on this API direction. This reverts commit 8104f65c3225453d13307c3c2733c2a8f99e491a. | |||||
* | Revert "macruby: no format_datetime or msg2str" | Jeremy Kemper | 2009-11-24 | 1 | -2/+2 | |
| | | | | | | Obviated by fix in macruby trunk. This reverts commit 6d91e7dca163ef55dde319452b21b767e8a0df33. | |||||
* | Fixes remote errors in isolation tests | Yehuda Katz | 2009-11-23 | 1 | -0/+15 | |
| | ||||||
* | Create SyncListener. Since they do not rely on Thread, they can be used on ↵ | José Valim | 2009-11-23 | 1 | -34/+58 | |
| | | | | | | Google App Engine. Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | |||||
* | macruby: no format_datetime or msg2str | Jeremy Kemper | 2009-11-21 | 1 | -2/+2 | |
| | ||||||
* | Check whether another lib has implemented ruby 1.9 string interp syntax | Jeremy Kemper | 2009-11-18 | 1 | -1/+1 | |
| | ||||||
* | Add TimeZone dependency | Yehuda Katz | 2009-11-14 | 1 | -0/+2 | |
| | ||||||
* | Repair time dependencies | Jeremy Kemper | 2009-11-14 | 4 | -12/+4 | |
| | ||||||
* | Loosen optional gem deps from ~> to >= | Jeremy Kemper | 2009-11-14 | 1 | -1/+1 | |
| | ||||||
* | Consolidate date & time landscape: require 'active_support/time' | Jeremy Kemper | 2009-11-14 | 5 | -28/+20 | |
| | ||||||
* | Notifications: queue.drained? for testability in place of brittle sleeps | Jeremy Kemper | 2009-11-13 | 1 | -9/+7 | |
| | ||||||
* | Ruby 1.9.2: disallow explicit coercion via method_missing. Only give ↵ | Jeremy Kemper | 2009-11-13 | 2 | -3/+11 | |
| | | | | friendly nil errors for Array and Active Record methods. | |||||
* | Rescue handlers should never need array wrapping. Bug if so. | Jeremy Kemper | 2009-11-13 | 1 | -2/+1 | |
| | ||||||
* | Prefer Array.wrap to Array() | Jeremy Kemper | 2009-11-13 | 1 | -1/+2 | |
| | ||||||
* | Ruby 1.9.2: work around Array allowing method_missing for to_ary | Jeremy Kemper | 2009-11-13 | 1 | -4/+3 | |
| | ||||||
* | Rdoc for changes introduced in e2ed1a1ca, 36058f450. | David Vrensk | 2009-11-12 | 1 | -0/+5 | |
| | | | | | | [#3451 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Revert "the REXML security fix is not needed for Ruby >= 1.8.7" | Jeremy Kemper | 2009-11-09 | 2 | -0/+45 | |
| | | | | | | Still required on older 1.8.7 patchlevels. This reverts commit a48f49e56bf53e0a2386da898576ef12d5258358. | |||||
* | the REXML security fix is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 2 | -45/+0 | |
| | ||||||
* | Enumerable#none? is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -9/+0 | |
| | ||||||
* | Integer#even? and Integer#odd? are not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 4 | -19/+7 | |
| | ||||||
* | String#each_char is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 2 | -14/+0 | |
| | ||||||
* | String#start_with? and String#end_with? are not needed for Ruby >= 1.8.7, ↵ | Xavier Noria | 2009-11-09 | 1 | -14/+0 | |
| | | | | leaves their plural aliases though | |||||
* | String#bytesize is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 3 | -8/+0 | |
| | ||||||
* | Object#tap is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 3 | -19/+0 | |
| | ||||||
* | Symbol#to_proc is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 3 | -17/+0 | |
| | ||||||
* | Object#instance_variable_defined? is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -7/+0 | |
| | ||||||
* | Merge branch 'master' of github.com:rails/rails | Jeremy Kemper | 2009-11-09 | 15 | -2/+1345 | |
|\ | ||||||
| * | Revert "Bundle I18n 0.2.0." | Yehuda Katz | 2009-11-09 | 15 | -2/+1345 | |
| | | | | | | | | This reverts commit 83f329f5f30567a10bc96410da230bf986db8ad4. | |||||
* | | Merge commit 'brynary/fix-master-warnings' | Jeremy Kemper | 2009-11-09 | 1 | -0/+1 | |
|\ \ | |/ |/| | ||||||
| * | Fix Ruby warning: method redefined; discarding old breakpoint | Bryan Helmkamp | 2009-11-09 | 1 | -0/+1 | |
| | |