Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Bundle I18n 0.2.0. | José Valim | 2009-11-09 | 1 | -1/+1 | |
|/ | ||||||
* | Ruby 1.9.2: work around changes to flatten and nil.to_str | Jeremy Kemper | 2009-11-08 | 1 | -1/+2 | |
| | ||||||
* | Since we require 1.8.7 we don't need to shim instance_exec anymore | Yehuda Katz | 2009-11-07 | 1 | -27/+0 | |
| | ||||||
* | Break up inflector to reduce the dependency burden on dependency-les methods ↵ | Yehuda Katz | 2009-11-07 | 1 | -0/+2 | |
| | | | | like constantize. | |||||
* | Clarify date/time dependencies | Jeremy Kemper | 2009-11-02 | 2 | -0/+2 | |
| | ||||||
* | Consolidate Object#to_param and #to_query core extensions | Jeremy Kemper | 2009-11-02 | 9 | -67/+76 | |
| | ||||||
* | Ruby 1.9.2: rational.rb is deprecated | Jeremy Kemper | 2009-11-02 | 1 | -1/+1 | |
| | ||||||
* | Ruby 1.9.2: URI.escape is obsolete | Jeremy Kemper | 2009-11-02 | 1 | -1/+2 | |
| | ||||||
* | Allow :instance_reader to be given to superclass_delegating_accessor as well. | José Valim | 2009-11-01 | 1 | -21/+39 | |
| | ||||||
* | First pass at cleaning up action caching | Yehuda Katz | 2009-10-28 | 1 | -0/+6 | |
| | ||||||
* | Array.wrap(struct) needs to return the wrapped struct | Yehuda Katz | 2009-10-28 | 1 | -12/+7 | |
| | ||||||
* | This is all that's needed in 1.8.7+ | Yehuda Katz | 2009-10-28 | 1 | -10/+11 | |
| | ||||||
* | Replace decaying routing internals w/ rack-mount | Joshua Peek | 2009-10-19 | 1 | -22/+0 | |
| | ||||||
* | Missed cherry-pick from 2e37effd7203cad84459661e11db2be44586cb4f | Jeremy Kemper | 2009-10-19 | 1 | -0/+1 | |
| | ||||||
* | Unify class_inheritable_accessor and extlib_inheritable_accessor and allow ↵ | José Valim | 2009-10-17 | 2 | -13/+23 | |
| | | | | responder to be set in the class level. | |||||
* | Switch to on-by-default XSS escaping for rails. | Michael Koziarski | 2009-10-08 | 2 | -1/+45 | |
| | | | | | | | | | | | | This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration. | |||||
* | Restore split between require-time and runtime load path mungery. Simplifies ↵ | Jeremy Kemper | 2009-09-24 | 3 | -3/+3 | |
| | | | | vendor requires. | |||||
* | Rollback AS bundler work and improve activation of vendored dependencies | Joshua Peek | 2009-09-13 | 3 | -3/+3 | |
| | ||||||
* | require reporting before attempting to "shush" | Joshua Peek | 2009-09-13 | 1 | -0/+2 | |
| | ||||||
* | Shush, rexml | Jeremy Kemper | 2009-09-13 | 1 | -2/+2 | |
| | ||||||
* | Duplicating the options hash in Date#advance to prevent modification of the ↵ | Jay Pignata | 2009-08-31 | 1 | -0/+1 | |
| | | | | | | original [#1133 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Correct Regexp#un/optionalize assertions and fix uncovered failures | Jeffrey Hardy | 2009-08-26 | 1 | -0/+2 | |
| | | | | | | [#3102 state:incomplete] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Ruby 1.9: fix Time#beginning_of_day inaccuracy due to subtracting a Float | Jeremy Kemper | 2009-08-22 | 1 | -1/+2 | |
| | ||||||
* | Allow superclass_delegating_accessor to take a block for initial set. | Yehuda Katz | 2009-08-11 | 1 | -3/+4 | |
| | ||||||
* | Got overhead down from 127 to 85. All tests pass: | Yehuda Katz | 2009-08-11 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Tentatively replaced HeaderHash with SimpleHeaderHash, which does not preserve case but does handle converting Arrays to Strings in to_hash. This requires further discussion. * Moved default_charset to ActionDispatch::Response to avoid having to hop over to ActionController. Ideally, this would be a constant on AD::Response, but some tests expect to be able to change it dynamically and I didn't want to change them yet. * Completely override #initialize from Rack::Response. Previously, it was creating a HeaderHash, and then we were creating an entirely new one. There is no way to call super without incurring the overhead of creating a HeaderHash. * Override #write from Rack::Response. Its implementation tracks Content-Length, and doing so adds additional overhead that could be mooted if other middleware changes the body. It is more efficiently done at the top-level server. * Change sending_file to an instance_variable instead of header inspection. In general, if a state is important, it should be set as a property of the response not reconstructed later. * Set the Etag to @body instead of .body. AS::Cache.expand_cache_key handles Arrays fine, and it's more efficient to let it handle the body parts, since it is not forced to create a joined String. * If we detect the default cache control case, just set it, rather than setting the constituent parts and then running the normal (expensive) code to generate the string. | |||||
* | Allow delegating to nil, because the method might actually exist on it | Bryan Helmkamp | 2009-08-10 | 1 | -4/+9 | |
| | ||||||
* | Support deep-merging HashWithIndifferentAccess. | Andrew Moreland | 2009-08-09 | 1 | -4/+5 | |
| | | | | | | [#2732 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Fix that Hash#to_xml and Array#to_xml shouldn't modify their options hashes ↵ | David Burger | 2009-08-09 | 2 | -0/+2 | |
| | | | | | | [#672 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Remove unnecessary &block from Range#sum and add tests for (num..float).sum | Pratik Naik | 2009-08-09 | 1 | -1/+1 | |
| | ||||||
* | Optimize Range#sum only for integers [#2489] | José Valim | 2009-08-09 | 1 | -2/+3 | |
| | ||||||
* | Setting usec (and nsec for Ruby 1.9) on Time#end_of_* methods [#1255 ↵ | Hugo Peixoto | 2009-08-09 | 1 | -8/+8 | |
| | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Optimize Range#sum to use arithmetic progression when a block is not given ↵ | José Valim | 2009-08-09 | 1 | -0/+9 | |
| | | | | | | [#2489]. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Temporary fix to get our LoadError monkey-patch working with newer JRuby. We ↵ | Yehuda Katz | 2009-08-09 | 1 | -1/+2 | |
| | | | | should probably remove MissingSourceFile and just monkey-patch LoadError instead of overriding LoadError.new. | |||||
* | Enumerable#sum now works will all enumerables, even if they don't respond to ↵ | Marc-Andre Lafortune | 2009-08-08 | 1 | -4/+2 | |
| | | | | | | | | :size [#2489 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Extract String#bytesize shim | Jeremy Kemper | 2009-08-01 | 2 | -3/+7 | |
| | ||||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 4 | -4/+4 | |
| | ||||||
* | * don't include String#% for Ruby 1.9 | Sven Fuchs | 2009-07-18 | 1 | -73/+79 | |
| | | | | | | | | | | * raise a KeyError exception for missing named interpolation args (like Ruby 1.9 does) * raise an ArgumentError when mixing named and unnamed placeholders (like Ruby 1.9 does) * improve docs and comply a bit more w/ Rails names/conventions [#2870 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | ActiveSupport Hash optimizations [#2902 state:resolved] | Lourens Naude | 2009-07-15 | 3 | -3/+3 | |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | |||||
* | Ruby 1.9 style String interpolation support for lower ruby versions. Thanks ↵ | Lawrence Pit | 2009-07-07 | 2 | -0/+88 | |
| | | | | | | to code from Masao Mutoh's GetText gem. [#2870 state:resolved] Signed-off-by: Yehuda Katz <wycats@yehuda-katzs-macbookpro41.local> | |||||
* | Friendlier runtime exception if delegatee is nil | Jeremy Kemper | 2009-06-18 | 1 | -3/+9 | |
| | ||||||
* | Delegated methods report the expected file/line in backtraces | Jeremy Kemper | 2009-06-18 | 1 | -2/+3 | |
| | ||||||
* | Move model naming into ActiveModel | Joshua Peek | 2009-06-17 | 2 | -26/+0 | |
| | ||||||
* | Require missing file in AS | Yehuda Katz + Carl Lerche | 2009-06-15 | 1 | -0/+2 | |
| | ||||||
* | moves reopening of core classes to add generic stuff from Action Pack to ↵ | Xavier Noria | 2009-06-13 | 5 | -0/+43 | |
| | | | | | | | | AS/core_ext and adds tests [#2798 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Bytes calculation speed up | Luca Guidi | 2009-06-13 | 1 | -8/+15 | |
| | | | | | | [#2800 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | uses Object#metaclass and Object#class_eval in a few spots | Xavier Noria | 2009-06-12 | 1 | -1/+1 | |
| | | | | | | [#2797 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Add #element and #collection to ModelName | Jeremy Kemper | 2009-06-08 | 1 | -3/+5 | |
| | ||||||
* | Don't rely on Rails.logger | Jeremy Kemper | 2009-06-08 | 1 | -2/+4 | |
| | ||||||
* | String #to_time and #to_datetime: handle fractional seconds [#864 ↵ | Jason Frey (Fryguy) | 2009-06-07 | 1 | -2/+6 | |
| | | | | state:resolved] | |||||
* | Simplify callbacks to use less metaprogramming | Yehuda Katz | 2009-06-02 | 1 | -2/+4 | |
| |