aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
Commit message (Collapse)AuthorAgeFilesLines
* Tests tag the Rails log with the current test class and test caseJeremy Kemper2012-09-261-0/+7
|
* Add logger.push_tags and .pop_tags to complement logger.taggedJeremy Kemper2012-09-261-0/+14
|
* Add changelog entry and docs about class delegation using the symbol :classCarlos Antonio da Silva2012-09-201-5/+24
| | | | See #7613. [ci skip]
* Date.beginning_of_week thread local and beginning_of_week application config ↵gregolsen2012-09-181-0/+2
| | | | option added (default is Monday)
* set up config_accessor with a default value by blockLarry Lv2012-09-171-0/+13
| | | | | | | | | | | | | | | | | | * ActiveSupport::Configurable should allow config_accessor to take default value by block, just like cattr_accessor. class User include ActiveSupport::Configurable config_accessor :hair_colors do [:brown, :black, :blonde, :red] end end User.hair_colors # => [:brown, :black, :blonde, :red] * remove trailing whitespaces in configurable.rb and its test file. * Update ActiveSupport CHANGELOG.
* Deprecate ActiveSupport::Benchmarkable#silence.Steve Klabnik2012-09-151-0/+4
| | | | | | | Due to its lack of thread safety, we're deprecating this, and it will be removed in Rails 4.1. Fixes #4060.
* Allow passing block to deep_merge and deep_merge!Pranas Kiziela2012-09-131-0/+3
| | | | | Hash#merge accepts block that you can use to customize how hash values are merged. This change makes merge and deep_merge compatible.
* Copy-edit deprecation relared documentation [ci skip]Rafael Mendonça França2012-09-131-16/+15
|
* Change ActiveSupport::Deprecation to class.Piotr Niełacny2012-09-131-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | ActiveSupport::Deprecation is now a class rather than a module. You can get instance of ActiveSupport::Deprecation calling #instance method. ActiveSupport::Deprecation.instance But when you need to get new object od ActiveSupport::Deprecation you need to just call #new. @instance = ActiveSupport::Deprecation.new Since you can create a new object, you can change the version and the name of the library where the deprecator concerned. ActiveSupport::Deprecation.new('2.0', 'MyGem') If you need use another deprecator instance you can select it in the options of deprecate method. deprecate :method, :deprecator => deprecator_instance Documentation has been updated.
* Revert "Changelog entry for PR #7560"Bogdan Gusiev2012-09-101-19/+0
| | | | | This reverts commit ca80067bbe4662c60b933188ad3769605742e812. Entry already added in 895233
* Changelog entry for PR #7560Bogdan Gusiev2012-09-101-0/+19
|
* &#39 dates back to SGML when &#x27 was introduced in HTML 4.0Kalys Osmonov2012-09-091-0/+2
|
* Fix Active Support changelog formatting [ci skip]Carlos Antonio da Silva2012-09-071-2/+2
|
* Add Changelog entry for #7560: deprecate #filter in AS::Callbacks [ci skip]Carlos Antonio da Silva2012-09-071-0/+22
|
* Extend HashWithIndifferentAccess#update to take an optional blockLeo Cassarani2012-09-051-0/+6
| | | | | | | | | | | | | When a block is passed into the method, it will be invoked for each duplicated key, with the key in question and the two values as arguments. The value for the duplicated key in the receiver will be set to the return value of the block. This behaviour matches Ruby's long-standing implementation of Hash#update and is intended to provide a more consistent interface. HashWithIndifferentAccess#merge is also affected by the change, as it uses #update internally.
* CHANGELOGs are now per branchXavier Noria2012-08-281-1724/+1
| | | | | | | | | | Changes in old branches needed to be manually synched in CHANGELOGs of newer ones. This has proven to be brittle, sometimes one just forgets this manual step. With this commit we switch to CHANGELOGs per branch. When a new major version is cut from master, the CHANGELOGs in master start being blank. A link to the CHANGELOG of the previous branch allows anyone interested to follow the history.
* Add CHANGELOG entry for #3578 [ci skip]Rafael Mendonça França2012-08-211-0/+6
|
* Replace deprecated `memcache-client` gem with `dalli` in ↵Guillermo Iguaran2012-08-171-0/+4
| | | | | | ActiveSupport::Cache::MemCacheStore memcache-client was deprecated in favour of dalli in 2010.
* Sync CHANGELOGs [ci skip]Rafael Mendonça França2012-08-111-0/+27
|
* Fallback to :en locale instead of handling a constant with defaultsCarlos Antonio da Silva2012-08-111-0/+5
| | | | | | | | Action Pack already comes with a default locale fine for :en, that is always loaded. We can just fallback to this locale for defaults, if values for the current locale cannot be found. Closes #4420, #2802, #2890.
* Bring back changelog entries for Active SupportCarlos Antonio da Silva2012-08-111-0/+18
| | | | Removed in 0228a73b1094a3e19ad291d2ce4789890c09578a, pull request #7310.
* Add html_escape note to CHANGELOGMark Turner2012-08-091-8/+1
|
* Deprecate ActiveSupport::JSON::VariableErich Menge2012-08-071-0/+3
| | | | | | | | | | Reason: ActiveSupport::JSON::Variable is not used anymore internally. It was deprecated in 3-2-stable but we reverted all the deprecation for point releases. See #6536 and #6546. Conflicts: activesupport/lib/active_support/json/variable.rb
* defines String#indent [closes #7263] [Xavier Noria & Ace Suares]Xavier Noria2012-08-071-0/+2
|
* Update activesupport/CHANGELOG.mdJosé Valim2012-07-311-0/+2
|
* Add Object#try! with the old NoMethodError raising behaviorDavid Heinemeier Hansson2012-07-271-1/+1
|
* will now return nil instead of raise a NoMethodError if the receiving ↵David Heinemeier Hansson2012-07-271-0/+2
| | | | object does not implement the method
* Update 4.0 Release Notes with changelogs [ci skip]Carlos Antonio da Silva2012-07-021-3/+3
| | | | | | | Also fix some wrong formatting. Related discussion: https://github.com/rails/rails/commit/ab72040b74f742b6676b2d2a5dd029bfdca25a7a#commitcomment-1525256
* Make Time#change work with offsets other than UTC or localAndrew White2012-07-011-0/+2
| | | | | Use Time.new to create times where the current offset is not zero or not in the local time zone - closes #4847 and #6651.
* AS::Callbacks: deprecate monkey patch codeBogdan Gusiev2012-06-261-0/+2
| | | | | Deprecate usage of filter object with #before and #after methods as around callback
* Add prev_quarter and next_quarter method in Time/Date/DateTimeparanoiase Kang2012-06-201-0/+2
|
* removes the obsolete require_association method from dependenciesXavier Noria2012-06-101-0/+2
| | | | | | | | This is an obsolete method from the very early days, apparently it was used circa 2004 because STI support was not smart enough. This method is not public interface, and we are heading a major version, so removal seems right.
* add instance_accessor option to ActiveSupport::Configurable#config_accessorFrancesco Rodriguez2012-06-051-0/+12
| | | | | | | | | | Changes: * Add `instance_accessor` option to opt out of the instance writer and instance reader methods. * Raises a NameError if the name of the attribute is not valid. * Update documentation and tests. * Add CHANGELOG entry in activesupport.
* Sync CHANGLOG with the 3-2-stable branchRafael Mendonça França2012-06-011-4/+7
|
* Remove deprecated ActiveSupport::JSON::Variable.Erich Menge2012-05-301-2/+7
|
* Moving NumberHelpers from ActionView to ActiveSupportAndrew Mutz2012-05-271-0/+4
|
* Add Hash#deep_transform_keys and Hash#deep_transform_keys! Also convert ↵Mark McSpadden2012-05-231-1/+1
| | | | deep_*_keys to use deep_transform_keys.
* Adding deep versions of stringify_keys and symbolize_keys (plain and bang) ↵Lucas Húngaro2012-05-231-1/+5
| | | | for nested hashes
* Add Hash#transform_keys and Hash#transform_keys! and refactor *_keys methods ↵Mark McSpadden2012-05-231-0/+2
| | | | to use them.
* changed xml type datetime to dateTime, fixes #6328Angelo capilleri2012-05-231-0/+2
| | | | | | | | | XmlMini define the xml 'datatime', but according to http://www.w3.org/TR/xmlschema-2/#dateTime could be better change this to 'dateTime' with upper case letter 'T. So 'DateTime' and 'Time' are redefined from 'datetime' to 'dateTime' add the changing to the changelog
* Add instance_accessor option to class_attributeAlexey Vakhov2012-05-221-0/+2
|
* Add CHANGELOG entry for constantize - closes #6165.Andrew White2012-05-191-0/+2
|
* copy-edits a recent CHANGELOG entry [ci skip]Xavier Noria2012-05-121-1/+1
|
* Object#try can't call private methodsVasiliy Ermolovich2012-05-121-0/+2
|
* AS::Callbacks#run_callbacks remove key argumentFrancesco Rodriguez2012-05-101-0/+2
|
* Consistent CHANGELOG entry indentation.Mark J. Titorenko2012-05-091-22/+22
|
* Add CHANGELOG section for unreleased Rails 3.2.4; document addition of ↵Mark J. Titorenko2012-05-091-0/+11
| | | | #beginning_of_hour and #end_of_hour to Time and DateTime core extensions.
* Updated CHANGELOG entry for `deep_dup`Piotr Sarnacki2012-05-061-0/+2
|
* BigDecimal string wrapping in JSON serialization can now be opted-out, fixes ↵David FRANCOIS2012-05-021-0/+3
| | | | #6033
* Improve changelog of new :silence deprecation behaviorCarlos Antonio da Silva2012-04-301-1/+1
|