aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge pull request #6064 from gazay/fix_guides_for_as_core_extXavier Noria2012-05-071-0/+12
|\ \ \ \ | |_|/ / |/| | | Fix guides for as core ext
| * | | Added tests for comparsion operator for RangeAlexey Gaziev2012-05-071-0/+12
| | | |
* | | | Keep all methods in object/deep_dupPiotr Sarnacki2012-05-061-2/+1
| | | |
* | | | Nice logic for deep_dup in railsAlexey Gaziev2012-05-062-15/+54
| | | |
* | | | Merge pull request #6169 from marcandre/respond_to_missingJosé Valim2012-05-053-0/+18
|\ \ \ \ | | | | | | | | | | Respond to missing
| * | | | Use respond_to_missing for TimeWithZoneMarc-Andre Lafortune2012-05-051-0/+1
| | | | |
| * | | | Use respond_to_missing? for CharsMarc-Andre Lafortune2012-05-051-0/+9
| | | | |
| * | | | Use respond_to_missing? for OrderedOptionsMarc-Andre Lafortune2012-05-051-0/+8
| | | | |
* | | | | Merge pull request #6156 from mjtko/feature-beginning_of_hourJeremy Kemper2012-05-043-0/+30
|\ \ \ \ \ | | | | | | | | | | | | Beginning and end of hour support for Time and DateTime
| * | | | | added beginning_of_hour support to core_ext calculations for Time and DateTimeMark J. Titorenko2012-05-043-0/+30
| | | | | |
* | | | | | enable tests for beginning_of_* and end_of_* within time zone tests; enable ↵Mark J. Titorenko2012-05-041-8/+8
|/ / / / / | | | | | | | | | | | | | | | test for future_with_time_current_as_time_with_zone; fix beginning_of_month test.
* | | | | Merge pull request #4452 from tapajos/e5425c8f68fbb720fcbf4b14e1f154ac27dbbbedAaron Patterson2012-05-031-0/+7
|\ \ \ \ \ | | | | | | | | | | | | Fix cache (FileStore) clear to keep .gitkeep.
| * | | | | Cache (FileStore) clear should keep .gitkeepMarcos Tapajos2012-01-131-0/+7
| | | | | |
* | | | | | BigDecimal string wrapping in JSON serialization can now be opted-out, fixes ↵David FRANCOIS2012-05-021-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | #6033
* | | | | | JSON: encode BigDecimal NaN/Infinity as null.Sebi Burkhard2012-05-011-0/+1
| | | | | |
* | | | | | Merge pull request #2532 from ↵Piotr Sarnacki2012-04-301-0/+3
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | hasclass/as_json__encode_infinite_and_nan_floats_as_null JSON: Encode infinite or NaN floats as `null` to generate valid JSON.
| * | | | | JSON: Encode infinite or NaN floats as null to generate valid JSON.Sebi Burkhard2011-08-151-0/+3
| | | | | |
* | | | | | Merge pull request #5177 from cap10morgan/fix-gh-issue-4374José Valim2012-04-301-1/+3
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | fix inflector bug where -ice gets singularized into -ouse
| * | | | | fix inflector bug where -ice gets pluralized into -ouseWes Morgan2012-02-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | This should happen for mouse or louse, but not slice or pumice.
* | | | | | Merge pull request #6044 from gazay/tests_for_string_truncate_w_regexp_separatorJosé Valim2012-04-291-0/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | Tests for regexp separator in String#truncate
| * | | | | | Tests for regexp separator in String#truncateAlexey Gaziev2012-04-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/rails/rails/commit/5a7513593f64e0ff7e4de1ee37bac5eeddfae270
* | | | | | | Add test for default silence and stderr deprecation behaviorsCarlos Antonio da Silva2012-04-281-0/+20
|/ / / / / /
* | | | | | Optimize the performance of #delegateDaniel Schierbeck2012-04-121-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the use of #__send__ in order to boost performance. This also means that you can no longer delegate to private methods on the target object.
* | | | | | adds a new test case for titleizeXavier Noria2012-04-081-0/+1
| | | | | |
* | | | | | revises the regexp used in titleizeXavier Noria2012-04-071-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The regexp used in titleize matches saxon genitive and other contractions, only to call capitalize on the captured text and have the apostrophe upcased which yields the apostrophe itself. It is more clear that the regexp matches just what it has to match.
* | | | | | the file update checker now also detects removed filesXavier Noria2012-04-031-2/+2
| | | | | |
* | | | | | no more deprecation required.Arun Agrawal2012-03-311-2/+0
| | | | | |
* | | | | | No more BufferedLogger so it can be LoggerTestArun Agrawal2012-03-311-1/+1
| | | | | |
* | | | | | warning removed: (...) interpreted as grouped expressionArun Agrawal2012-03-311-1/+1
| | | | | |
* | | | | | Merge pull request #4911 from Floppy/masterAaron Patterson2012-03-301-0/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | Reduce FILENAME_MAX_SIZE in ActiveSupport::Cache::FileStore
| * | | | | | Change FILENAME_MAX_SIZE in FileStore to 228.James Smith2012-02-061-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In order that temp filenames generated from it will fit in 255 chars. See https://github.com/rails/rails/issues/4907
* | | | | | | validate attribute names in class and module attribute accessorsDmitry Plashchynski2012-03-302-0/+28
| | | | | | |
* | | | | | | String#titleize works properly with smart quotes, closes #5584Vasiliy Ermolovich2012-03-261-1/+3
| | | | | | |
* | | | | | | fix HashWithIndifferentAccess.[] methodSergey Nartimov2012-03-231-0/+9
| |_|_|_|/ / |/| | | | |
* | | | | | oops, forgot to commit the tests! :bomb:Aaron Patterson2012-03-231-0/+67
| | | | | |
* | | | | | deprecate Proc#bind that can cause symbol memory leakSergey Nartimov2012-03-221-5/+7
| | | | | |
* | | | | | bigdecimal can be duped on Ruby 2.0Aaron Patterson2012-03-201-2/+10
| | | | | |
* | | | | | Add missing requirekennyj2012-03-201-0/+1
| | | | | |
* | | | | | Provide access to logger instance within TaggedLogging blocksFND2012-03-191-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this improves encapsulation, simplifying occurrences like the following: Rails.logger.tagged("DEBUG") { Rails.logger.debug(msg) } ... by removing the need to rely on (i.e. repeat) outer variables: Rails.logger.tagged("DEBUG") { |logger| logger.debug(msg) }
* | | | | | remove some mocha stubsAaron Patterson2012-03-161-6/+11
| | | | | |
* | | | | | Remove deprecation from AS::Deprecation behavior, some minor cleanupsCarlos Antonio da Silva2012-03-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor log subscriber, use select! to avoid a new object * Remove deprecation messages related to AS::Deprecation behavior This was added about 2 years ago for Rails 3: https://github.com/rails/rails/commit/d4c7d3fd94e5a885a6366eaeb3b908bb58ffd4db * Remove some not used requires * Refactor delegate to avoid string conversions and if statements inside each block
* | | | | | fixed - warning: assigned but unused variable - checkerSandeep2012-03-161-1/+1
| | | | | |
* | | | | | escape commas in paths before globbing to avoid infinite hang in Dir[]Jon Rowe2012-03-151-0/+15
| | | | | |
* | | | | | Allow retrieve_cache_key to work on collections such as ActiveRecord::Relation.Erich Menge2012-03-121-0/+4
| | | | | |
* | | | | | Remove warning of unused variableRafael Mendonça França2012-03-081-1/+1
| | | | | |
* | | | | | Merge pull request #5287 from nashby/hash-slice-extractAaron Patterson2012-03-081-0/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | refactor Hash#slice and Hash#extract!
| * | | | | | refactor Hash#slice and Hash#extract!Vasiliy Ermolovich2012-03-061-0/+7
| | | | | | |
* | | | | | | Ensure load hooks can be called more than once with different contexts.José Valim2012-03-061-0/+29
|/ / / / / /
* | | | | | remove usages of AS::OrderedHashVishnu Atrai2012-03-032-3/+3
| | | | | |
* | | | | | Merge branch 'master-security'Aaron Patterson2012-03-011-8/+30
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master-security: Ensure [] respects the status of the buffer. delete vulnerable AS::SafeBuffer#[] use AS::SafeBuffer#clone_empty for flushing the output_buffer add AS::SafeBuffer#clone_empty fix output safety issue with select options Conflicts: actionpack/lib/action_view/helpers/tags/base.rb