aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* Test to allow Range including DateTime and DateTime::Infinitygsphanikumar2013-01-141-0/+6
| | | | Closes #8587
* remove_possible_method -> remove_methodNihad Abbasov2013-01-111-2/+2
| | | | Date#to_time and Date#xmlschema methods defined in Ruby 1.9.3
* Updating Array access docs more consistentMatt Bridges2013-01-101-4/+4
| | | | [ci skip]
* extract PerformanceTest into rails-performance_tests gemYves Senn2013-01-106-740/+8
|
* adding missing requiresAaron Patterson2013-01-091-1/+3
|
* adding start / finish on the instrumenter, adding tests for the classAaron Patterson2013-01-092-6/+67
|
* Merge pull request #8859 from tehgeekmeister/masterVijay Dev2013-01-091-2/+2
|\ | | | | Fix a typo in a test.
| * s/messqage/message/ in message_encryptor_test.rbEzekiel Smithburg2013-01-091-2/+2
| |
* | CVE-2013-0156: Safe XML params parsing. Doesn't allow symbols or yaml.Jeremy Kemper2013-01-083-10/+52
| |
* | Revert "Merge branch 'master-sec'"Jeremy Kemper2013-01-083-52/+10
| | | | | | | | | | This reverts commit 88cc1688d0cb828c17706b41a8bd27870f2a2beb, reversing changes made to f049016cd348627bf8db0d72382d7580bf802a79.
* | Merge branch 'master-sec'Aaron Patterson2013-01-083-10/+52
|\ \ | | | | | | | | | | | | | | | * master-sec: CVE-2013-0156: Safe XML params parsing. Doesn't allow symbols or yaml. * Strip nils from collections on JSON and XML posts. [CVE-2013-0155] * dealing with empty hashes. Thanks Damien Mathieu
| * | CVE-2013-0156: Safe XML params parsing. Doesn't allow symbols or yaml.Jeremy Kemper2013-01-083-10/+52
| |/
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-01-097-8/+25
|\ \ | |/ |/| | | | | Conflicts: guides/source/getting_started.md
| * Correct method notation for #acts_like? [ci skip]Doug Yun2013-01-071-4/+4
| |
| * Instance_variable_names are strings. That is the most important information IMOAkira Matsuda2013-01-081-1/+1
| |
| * prefer american spelling of 'behavior'Gosha Arinich2013-01-072-2/+2
| |
| * `Model.all` alone does nothingAkira Matsuda2013-01-041-1/+1
| |
| * Add documentation for BacktraceCleaner#remove_filters!Matthew Stopa2013-01-021-0/+3
| |
| * Add more documentation to TimeWithZoneMatthew Stopa2013-01-011-0/+14
| | | | | | | | [ci skip]
* | Revert some warning removals related to Ruby 2.0Carlos Antonio da Silva2013-01-072-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These warnings were actually a bug in Ruby 2.0, the accessors should not be raising such warnings, they are only meant for ivars. - Revert "fix warnings in Ruby 2.0" This reverts commit 26702a6d3461f4a1c75165030b96886514ecb877. - Revert "Merge pull request #8282 from arunagw/warning_removed_for_ruby2" This reverts commit f63d6544e45e78cda29c0c56fbdf3d9e1f405340, reversing changes made to 3a890681fad8218305585036abed6d7463a44e41.
* | Namespace HashWithIndifferentAccessAkira Matsuda2013-01-071-1/+1
| |
* | Require 'active_support/core_ext/module/aliasing' in the infinite_comparable ↵Diogo Mafra2013-01-061-0/+1
| | | | | | | | module
* | Remove unnecessary begin..rescue..end, use only rescueAkira Matsuda2013-01-065-39/+30
| |
* | deprecate `assert_blank` and `assert_present`.Yves Senn2013-01-055-20/+36
| | | | | | | | | | They don't add any benefits over `assert object.blank?` and `assert object.present?`
* | Move changelog entry in railties to the topCarlos Antonio da Silva2013-01-041-3/+3
| | | | | | | | Other minor changelog improvements [ci skip]
* | added marshal_load and marshal_dump for ProxyTestResult. Behavior of ↵SHIBATA Hiroshi2013-01-051-2/+10
| | | | | | | | method_missing with Marshal.dump and Marshal.load is changing in ruby 2.0.0 later.
* | Better error message for String#to_dateKelly Stannard2013-01-043-5/+10
| | | | | | | | | | | | | | | | | | | | I did this because to_date gives a very unhelpful error message if you do not pass in a correct date. In the process I think this cleans up the code nicely and even better it tends to be slightly faster than the current implementation. Benchmark https://gist.github.com/4440875
* | Set the default timezone after the initialization since the configurationRafael Mendonça França2013-01-041-14/+16
| | | | | | | | | | | | now lives in the application initializers. Fix #8711
* | Refactor infinite comparable definition a bitCarlos Antonio da Silva2013-01-041-15/+19
| |
* | Remove unnecessary requiresRafael Mendonça França2013-01-031-2/+0
| |
* | Remove assert_nothing_raisedRafael Mendonça França2013-01-036-67/+49
| |
* | Added ability to compare date/time with infinitybUg2013-01-0417-7/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Date, DateTime, Time and TimeWithZone can now be compared to infinity, so it's now possible to create ranges with one infinite bound and date/time object as another bound. Ex.: @range = Range.new(Date.today, Float::INFINITY) Also it's possible to check inclusion of date/time in range with conversion. Ex.: @range.include?(Time.now + 1.year) # => true @range.include?(DateTime.now + 1.year) # => true Ability to create date/time ranges with infinite bound is required for handling postgresql range types.
* | Merge pull request #8705 from amparo-luna/change_update_attributes_to_updateGuillermo Iguaran2013-01-031-1/+1
|\ \ | | | | | | Rename update_attributes method to update
| * | Change docs to use update instead of update_attributesAmparo Luna + Guillermo Iguaran2013-01-031-1/+1
| | |
* | | Changelog improvements [ci skip]Carlos Antonio da Silva2013-01-021-2/+2
| | |
* | | missing changelog entry for #8682Akira Matsuda2013-01-021-0/+4
|/ /
* | remove meaningless AS::FrozenObjectErrorAkira Matsuda2013-01-022-4/+0
| |
* | remove unnecessary always-nil var from #compactGosha Arinich2013-01-011-1/+1
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-01-011-0/+21
|\
| * copy edits [ci skip]Vijay Dev2013-01-011-4/+3
| |
| * Add documentation for TimeWithZone methodsMatthew Stopa2012-12-311-3/+19
| |
| * Add documentation for the TimeWithZone#dst? method.Matthew Stopa2012-12-311-0/+6
| | | | | | | | [ci skip]
* | Updated copyright notices for 2013Andrew Nesbitt2012-12-312-2/+2
| |
* | Only call MiniTest.autorun if the dependecy is presentRafael Mendonça França2012-12-314-16/+12
| |
* | Alias refute methods to assert_not and perfer assert_not on testsRafael Mendonça França2012-12-313-4/+13
| |
* | Remove unneeded testsRafael Mendonça França2012-12-311-22/+0
| | | | | | | | These tests are needed only if we are using MiniTest::Spec
* | Add active_support/testing/autorunRafael Mendonça França2012-12-313-2/+7
| | | | | | | | | | minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails
* | Inherit from MiniTest::Unit::TestCase instead of MiniTest::SpecRafael Mendonça França2012-12-311-8/+2
| |
* | Revert "minitest provides "it" and "describe""Rafael Mendonça França2012-12-312-19/+42
| | | | | | | | | | | | | | | | | | | | This reverts commit 22bc12ec374b8bdeb3818ca0a3eb787dd3ce39d8. REASON: We will remove the MiniTest::Spec from Rails and we need these methods again Conflicts: activesupport/lib/active_support/test_case.rb
* | Test that assert_not returns true. Use assert_raises instead of doing ↵Jeremy Kemper2012-12-281-17/+7
|/ | | | begin/rescue/else.