Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BigDecimal string wrapping in JSON serialization can now be opted-out, fixes ↵ | David FRANCOIS | 2012-05-02 | 1 | -0/+11 |
| | | | | #6033 | ||||
* | JSON: encode BigDecimal NaN/Infinity as null. | Sebi Burkhard | 2012-05-01 | 1 | -0/+1 |
| | |||||
* | Merge pull request #2532 from ↵ | Piotr Sarnacki | 2012-04-30 | 1 | -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 Burkhard | 2011-08-15 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #5177 from cap10morgan/fix-gh-issue-4374 | José Valim | 2012-04-30 | 1 | -1/+3 |
|\ \ | | | | | | | fix inflector bug where -ice gets singularized into -ouse | ||||
| * | | fix inflector bug where -ice gets pluralized into -ouse | Wes Morgan | 2012-02-25 | 1 | -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_separator | José Valim | 2012-04-29 | 1 | -0/+6 |
|\ \ \ | | | | | | | | | Tests for regexp separator in String#truncate | ||||
| * | | | Tests for regexp separator in String#truncate | Alexey Gaziev | 2012-04-29 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | https://github.com/rails/rails/commit/5a7513593f64e0ff7e4de1ee37bac5eeddfae270 | ||||
* | | | | Add test for default silence and stderr deprecation behaviors | Carlos Antonio da Silva | 2012-04-28 | 1 | -0/+20 |
|/ / / | |||||
* | | | Optimize the performance of #delegate | Daniel Schierbeck | 2012-04-12 | 1 | -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 titleize | Xavier Noria | 2012-04-08 | 1 | -0/+1 |
| | | | |||||
* | | | revises the regexp used in titleize | Xavier Noria | 2012-04-07 | 1 | -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 files | Xavier Noria | 2012-04-03 | 1 | -2/+2 |
| | | | |||||
* | | | no more deprecation required. | Arun Agrawal | 2012-03-31 | 1 | -2/+0 |
| | | | |||||
* | | | No more BufferedLogger so it can be LoggerTest | Arun Agrawal | 2012-03-31 | 1 | -1/+1 |
| | | | |||||
* | | | warning removed: (...) interpreted as grouped expression | Arun Agrawal | 2012-03-31 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #4911 from Floppy/master | Aaron Patterson | 2012-03-30 | 1 | -0/+10 |
|\ \ \ | | | | | | | | | Reduce FILENAME_MAX_SIZE in ActiveSupport::Cache::FileStore | ||||
| * | | | Change FILENAME_MAX_SIZE in FileStore to 228. | James Smith | 2012-02-06 | 1 | -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 accessors | Dmitry Plashchynski | 2012-03-30 | 2 | -0/+28 |
| | | | | |||||
* | | | | String#titleize works properly with smart quotes, closes #5584 | Vasiliy Ermolovich | 2012-03-26 | 1 | -1/+3 |
| | | | | |||||
* | | | | fix HashWithIndifferentAccess.[] method | Sergey Nartimov | 2012-03-23 | 1 | -0/+9 |
| | | | | |||||
* | | | | oops, forgot to commit the tests! :bomb: | Aaron Patterson | 2012-03-23 | 1 | -0/+67 |
| | | | | |||||
* | | | | deprecate Proc#bind that can cause symbol memory leak | Sergey Nartimov | 2012-03-22 | 1 | -5/+7 |
| | | | | |||||
* | | | | bigdecimal can be duped on Ruby 2.0 | Aaron Patterson | 2012-03-20 | 1 | -2/+10 |
| | | | | |||||
* | | | | Add missing require | kennyj | 2012-03-20 | 1 | -0/+1 |
| | | | | |||||
* | | | | Provide access to logger instance within TaggedLogging blocks | FND | 2012-03-19 | 1 | -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 stubs | Aaron Patterson | 2012-03-16 | 1 | -6/+11 |
| | | | | |||||
* | | | | Remove deprecation from AS::Deprecation behavior, some minor cleanups | Carlos Antonio da Silva | 2012-03-16 | 1 | -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 - checker | Sandeep | 2012-03-16 | 1 | -1/+1 |
| | | | | |||||
* | | | | escape commas in paths before globbing to avoid infinite hang in Dir[] | Jon Rowe | 2012-03-15 | 1 | -0/+15 |
| | | | | |||||
* | | | | Allow retrieve_cache_key to work on collections such as ActiveRecord::Relation. | Erich Menge | 2012-03-12 | 1 | -0/+4 |
| | | | | |||||
* | | | | Remove warning of unused variable | Rafael Mendonça França | 2012-03-08 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #5287 from nashby/hash-slice-extract | Aaron Patterson | 2012-03-08 | 1 | -0/+7 |
|\ \ \ \ | | | | | | | | | | | refactor Hash#slice and Hash#extract! | ||||
| * | | | | refactor Hash#slice and Hash#extract! | Vasiliy Ermolovich | 2012-03-06 | 1 | -0/+7 |
| | | | | | |||||
* | | | | | Ensure load hooks can be called more than once with different contexts. | José Valim | 2012-03-06 | 1 | -0/+29 |
|/ / / / | |||||
* | | | | remove usages of AS::OrderedHash | Vishnu Atrai | 2012-03-03 | 2 | -3/+3 |
| | | | | |||||
* | | | | Merge branch 'master-security' | Aaron Patterson | 2012-03-01 | 1 | -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 | ||||
| * | | | | Ensure [] respects the status of the buffer. | José Valim | 2012-02-29 | 1 | -4/+23 |
| | | | | | |||||
| * | | | | delete vulnerable AS::SafeBuffer#[] | Akira Matsuda | 2012-02-20 | 1 | -6/+0 |
| | | | | | |||||
| * | | | | add AS::SafeBuffer#clone_empty | Akira Matsuda | 2012-02-20 | 1 | -0/+9 |
| | | | | | |||||
* | | | | | Merge pull request #4284 from mattdbridges/time_calculation_aliases | Xavier Noria | 2012-02-28 | 3 | -0/+58 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | Added aliases for prev_year, prev_month, and prev_week in Time and Date calculations | ||||
| * | | | | Adding :last_week, :last_month, and :last_year aliases to Time and Date | Matt Bridges | 2012-02-21 | 3 | -0/+58 |
| | | | | | | | | | | | | | | | | | | | | core extensions | ||||
* | | | | | decouples the implementation of the inflector from its test suite | Xavier Noria | 2012-02-24 | 1 | -73/+66 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trying alternative implementations of the inflections is hard because the suite is coupled with the current one, setting ivars by hand etc. This commit relies on initialize_dup, as long as you maintain that one you can tweak the implementation. | ||||
* | | | | | AS::Callbacks: deprecate rescuable option | Bogdan Gusiev | 2012-02-22 | 1 | -8/+1 |
| |/ / / |/| | | | |||||
* | | | | fixes a regression introduced by 532cd4, and a bogus test in AP the ↵ | Xavier Noria | 2012-02-10 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | regression uncovered | ||||
* | | | | Merge pull request #4719 from markmcspadden/singularize_words_that_end_in_ss | Xavier Noria | 2012-02-10 | 1 | -0/+8 |
|\ \ \ \ | | | | | | | | | | | Add Inflection test (and fixes) to ensure singularizing a singular actually give you the correct singular in more cases | ||||
| * | | | | Add Inflection test (and fixes) to ensure singularizing a singular actually ↵ | Mark McSpadden | 2012-01-27 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | give you the correct singular in more cases | ||||
* | | | | | make Range#overlaps? accept Range of Time | Shigeya Suzuki | 2012-02-09 | 1 | -0/+12 |
| | | | | | |||||
* | | | | | Merge pull request #4878 from vijaydev/ordinal-2072 | Xavier Noria | 2012-02-07 | 2 | -0/+11 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | PR #2072 with docs | ||||
| * | | | | Document Integer#ordinal available in PR #2072. | Vijay Dev | 2012-02-04 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | Also remove an unasserted line in the tests. |