aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
Commit message (Collapse)AuthorAgeFilesLines
* Raise when multiple included blocks are definedMike Dillon2013-05-161-0/+6
|
* Fix typo: require -> requiresRafael Mendonça França2013-05-121-1/+1
| | | | [ci skip]
* Add CHANGELOG entry for #10576Rafael Mendonça França2013-05-121-0/+7
| | | | [ci skip]
* Give credits to all the envolved people [ci skip]Rafael Mendonça França2013-05-101-1/+1
|
* Added escaping of U+2028 and U+2029 inside the json encoder.Mario Caropreso2013-05-091-0/+6
| | | | | | | | | | | U+2028 and U+2029 are allowed inside strings in JSON (as all literal Unicode characters) but JavaScript defines them as newline seperators. Because no literal newlines are allowed in a string, this causes a ParseError in the browser. We work around this issue by replacing them with the escaped version. The resulting JSON is still valid and can be parsed in the browser. This commit has been coauthored with Viktor Kelemen @yikulju
* add changelog entry for fix-10502-skip-object-filterSean Walbran2013-05-071-0/+5
|
* Allow fetching multiple values from the cache at onceDaniel Schierbeck2013-05-061-1/+13
| | | | | Add a simple API for fetching a list of entries from the cache, where any missing entries are computed by a supplied block.
* rails/master is now 4.1.0.betaRafael Mendonça França2013-04-291-509/+2
|
* Move CHANGELOG entry to topRafael Mendonça França2013-04-221-4/+4
| | | | [ci skip]
* Merge pull request #10096 from benofsky/fix_skipping_object_callback_filtersRafael Mendonça França2013-04-211-0/+3
|\ | | | | Fixes skipping object callback filters
| * Fixes skipping object callback filtersBen McRedmond2013-04-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows you to skip callbacks that are defined by objects, e.g. for `ActionController`: skip_after_filter MySpecialFilter Previously this didn't work due to a bug in how Rails compared callbacks in `Callback#matches?`. When a callback is compiled, if it's an object filter (i.e. not a method, proc, etc.), `Callback` now defines a method on `@klass` that is derived from the class name rather than `@callback_id`. So, when `skip_callback` tries to find the appropriate callback to remove, `Callback` can regenerate the method name for the filter object and return the correct value for `Callback#matches?`.
* | Extract a base class from ActiveSupport::LogSubscriberDaniel Schierbeck2013-04-161-0/+6
| | | | | | | | | | | | Adds a ActiveSupport::Subscriber base class that LogSubscriber inherits from. By inheriting from Subscriber, other kinds of subscribers can take advantage of the event attachment system.
* | use unified and clean formatting in CHANGELOGS. [ci skip]Yves Senn2013-04-121-2/+2
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-04-111-3/+3
|\ \ | | | | | | | | | | | | Conflicts: guides/source/action_mailer_basics.md
| * | Merge branch 'master' of github.com:rails/railsVijay Dev2013-03-301-1/+12
| |\|
| * | Revert "Using American English spellings over British style spellings"Vijay Dev2013-03-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 573df1cf2a5d5d1f288c8a4a5d76194675141832. Reason: changelog edits aren't allowed in docrails. [ci skip]
* | | Fix markdown formattingAgis Anastasopoulos2013-04-061-1/+1
| | |
* | | Add option to Class#class_attribute for skipping the query methodAgis-2013-04-061-0/+6
| | |
* | | `fast_xs` support has been removed. Use 'String#encode(xml: :attr)`.Aaron Patterson2013-04-051-0/+2
| | |
* | | Revert "Merge pull request #10034 from ↵Rafael Mendonça França2013-04-041-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | benofsky/fix_skipping_object_callback_filters" This reverts commit c79c6980647eb76bfa52178711fb04ba7e9d403b, reversing changes made to ba4c27479add60b783a0e623c8a5d176c1dc9043. This broke all the tests. See https://travis-ci.org/rails/rails/builds/6061839
* | | Fixes skipping object callback filtersBen McRedmond2013-04-041-0/+3
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | This allows you to skip callbacks that are defined by objects, e.g. for `ActionController`: skip_after_filter MySpecialFilter Previously this didn't work due to a bug in how Rails compared callbacks in `Callback#matches?`. When a callback is compiled, if it's an object filter (i.e. not a method, proc, etc.), `Callback` now defines a method on `@klass` that is derived from the class name rather than `@callback_id`. So, when `skip_callback` tries to find the appropriate callback to remove, `Callback` can regenerate the method name for the filter object and return the correct value for `Callback#matches?`.
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-03-301-3/+3
|\| | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb activerecord/test/cases/adapter_test.rb guides/source/testing.md [ci skip]
| * Using American English spellings over British style spellingsPrathamesh Sonpatki2013-03-211-3/+3
| |
* | Merge pull request #9523 from ↵Rafael Mendonça França2013-03-271-0/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | stopdropandrew/Instrumenter#instrument-yields-payload ActiveSupport::Notifications::Instrumenter#instrument should yield Conflicts: activesupport/CHANGELOG.md
| * | ActiveSupport::Notifications::Instrumenter#instrument should yieldstopdropandrew2013-03-021-1/+6
| | | | | | | | | | | | its payload the same way that ActiveSupport::Notifications does. Fix spelling in test name.
* | | `TimeWithZone` raises `NoMethodError` in proper context.Yves Senn2013-03-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #9772. `TimeWithZone` delegates everything to the wrapped `Time` object using `method_missing`. The result is that `NoMethodError` error will be raised in the context of `Time` which leads to a misleading debug output.
* | | Revert "Merge pull request #8156 from fredwu/acronym_fix-master"Steve Klabnik2013-03-161-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 867dc1700f32aae6f98c4651bd501597e6b52bc0, reversing changes made to 9a421aaa8285cf2a7ecb1af370748b0337818930. This breaks anyone who's using ForceSSL: https://travis-ci.org/rails-api/rails-api/jobs/5556065 Please see comments on #8156 for some discussion.
* | | revises the CHANGELOG entry from 26aa265 [ci skip]Xavier Noria2013-03-161-2/+3
| | |
* | | Added Inflector#underscore fix to the changelogFred Wu2013-03-171-0/+4
| |/ |/|
* | CHANGELOG entry for improved singularizing of singulars.Yves Senn2013-03-061-1/+14
|/ | | | | | Closes #9559. The actual patch was added with #4719
* Move AS CHANGELOG entry up.Steve Klabnik2013-02-261-2/+3
| | | | I merged b883706 but forgot to move the entry past beta1.
* Merge pull request #9329 from chuckbjones/fix-cache-delete-rcSteve Klabnik2013-02-261-0/+2
|\ | | | | Fix deletion of empty directories
| * Fix deletion of empty directories:Charles Jones2013-02-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. When comparing the directory to delete against the top level cache_path, use File.realpath to make sure we aren't comparing two unequal strings that point to the same path. This occurs, for example, when cache_path has a trailing slash, which it does in the default Rails configuration. Since the input to delete_empty_directories never has a trailing slash, the comparison will never be true and the top level cache directory (and above) may be deleted. However… 2. File.delete raises EPERM when trying to delete a directory, so no directories have ever been deleted. Changing the code to Dir.delete fixes that.
* | Update CHANGELOGSRafael Mendonça França2013-02-261-0/+3
|/
* Preparing for 4.0.0.beta1 releaseDavid Heinemeier Hansson2013-02-251-1/+1
|
* Keep second fraction when DateTime#change is called.Chris Baynes2013-02-251-0/+5
|
* Add more information to the CHANGELOG entry [ci skip]Rafael Mendonça França2013-02-241-0/+12
|
* Added `ActiveSupport::TimeWithZone#to_r` for `Time#at` compatibility.stopdropandrew2013-02-241-0/+4
|
* did a pass over the AS changelog [ci skip]Xavier Noria2013-02-241-55/+61
|
* Changelog improvements, use 1.9 style hash in examples [ci skip]Carlos Antonio da Silva2013-02-221-13/+12
|
* Address edge case for number_to_human with units option.hoffm2013-02-221-0/+13
| | | | | | ActiveSupport::NumberHelper#number_to_human now returns the number unaltered when the units hash does not contain the needed key, e.g. when the number provided is less than the largest key provided.
* Added beginning_of_minute support to core_ext calculations for Time and DateTimeGagan Awhad2013-02-211-0/+4
|
* moves the new :nsec date format to the Active Support changelog [ci skip]Xavier Noria2013-02-201-0/+4
|
* added compress options for gzipBeyond2013-02-101-0/+5
| | | | | | added test for compress options of gzip update changelog
* Update changelog from #9128 with author nameCarlos Antonio da Silva2013-02-061-2/+4
| | | | And improve AS changelog a bit [ci skip]
* Modify TimeWithZone#as_json to return 3DP of sub-second accuracy by default, ↵James Harton2013-01-311-0/+5
| | | | since it's allowed by the spec and is very useful.
* Move AS changelog entry to the top, improve AP changelog a bitCarlos Antonio da Silva2013-01-281-2/+2
| | | | [ci skip]
* Improve String#squish whitespaces matchingAntoine Lyset2013-01-221-0/+2
|
* Standardise the return value of `to_time`Andrew White2013-01-211-1/+5
| | | | | | | | | | | | | | | | | | | | | | This commit standardises the return value of `to_time` to an instance of `Time` in the local system timezone, matching the Ruby core and standard library behavior. The default form for `String#to_time` has been changed from :utc to :local but research seems to suggest the latter is the more common form. Also fix an edge condition with `String#to_time` where the string has a timezone offset in it and the mode is :local. e.g: # Before: >> "2000-01-01 00:00:00 -0500".to_time(:local) => 2000-01-01 05:00:00 -0500 # After: >> "2000-01-01 00:00:00 -0500".to_time(:local) => 2000-01-01 00:00:00 -0500 Closes #2453
* extract PerformanceTest into rails-performance_tests gemYves Senn2013-01-101-0/+8
|