Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Added X-Request-Id tracking and TaggedLogging to easily log that and other ↵ | David Heinemeier Hansson | 2011-10-19 | 4 | -0/+110 | |
| | | | | | | | | | | | | production concerns | |||||
| * | | Merge pull request #3151 from zenprogrammer/pluralize_without_count | José Valim | 2011-10-17 | 2 | -7/+22 | |
| |\ \ | | |/ | |/| | Added include_count parameter to pluralize. | |||||
| | * | Modified String#pluralize to take an optional count parameter. | Ryan Oblak | 2011-09-28 | 2 | -7/+22 | |
| | | | ||||||
* | | | Don't unnecessarily use String eval. | Jose and Yehuda | 2011-10-15 | 1 | -2/+2 | |
|/ / | ||||||
* | | Fixed test_nonexisting_method_with_arguments to revert commit 29a5aea | Yasuo Honda | 2011-10-06 | 1 | -1/+1 | |
| | | ||||||
* | | Revert "don't raise NoMethodError the tried method doesn't exists" | José Valim | 2011-10-06 | 2 | -3/+1 | |
| | | | | | | | | This reverts commit 29a5aeaae976bf8432d57ec996c7c81932a39de6. | |||||
* | | ruby193: String#prepend is also unsafe | Akira Matsuda | 2011-10-05 | 1 | -1/+1 | |
| | | ||||||
* | | override unsafe methods only if defined on String | Akira Matsuda | 2011-10-05 | 1 | -10/+12 | |
| | | ||||||
* | | to_formatted_s is an instance method for a Range not an Array | Ayrton De Craene | 2011-10-04 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #2801 from jeremyevans/patch-1 | Jeremy Kemper | 2011-10-03 | 2 | -1/+4 | |
|\ \ | | | | | | | Fix obviously breakage of Time.=== for Time subclasses | |||||
| * | | Add tests for fixes to Time.=== | Jeremy Evans | 2011-09-07 | 1 | -0/+3 | |
| | | | ||||||
| * | | Edited activesupport/lib/active_support/core_ext/time/calculations.rb via GitHub | Jeremy Evans | 2011-09-01 | 1 | -1/+1 | |
| | | | ||||||
* | | | Rescuable spelling error | Christian Höltje | 2011-10-03 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #3174 from phuibonhoa/master | José Valim | 2011-10-02 | 2 | -0/+9 | |
|\ \ \ | | | | | | | | | Fixed file store to handle delete_matched being called before cache dir is created. | |||||
| * | | | Improved testing so that it tests the real functionality and not the private ↵ | Philippe Huibonhoa | 2011-10-02 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | | method. | |||||
| * | | | Added fix so that file store does not raise an exception when cache dir does ↵ | Philippe Huibonhoa | 2011-09-29 | 2 | -0/+8 | |
| | |/ | |/| | | | | | | | not exist yet. This can happen if a delete_matched is called before anything is saved in the cache. | |||||
* | | | Set the default options value for as_json in the encoder object. | José Valim | 2011-09-30 | 2 | -3/+3 | |
| | | | ||||||
* | | | Fixing `as_json` method for ActiveRecord models. | Nicolás Hock Isaza | 2011-09-29 | 1 | -1/+1 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | When you've got an AR Model and you override the `as_json` method, you should be able to add default options to the renderer, like this: class User < ActiveRecord::Base def as_json(options = {}) super(options.merge(:except => [:password_digest])) end end This was not possible before this commit. See the added test case. | |||||
* | | remove superfluous to_s in ERB::Util.html_escape | Alexey Vakhov | 2011-09-24 | 1 | -1/+1 | |
| | | ||||||
* | | Minor doc fix to String#constantize | Ryan Oblak | 2011-09-23 | 1 | -3/+3 | |
| | | ||||||
* | | Update CHANGELOG for safe_constantize. | José Valim | 2011-09-23 | 2 | -1/+6 | |
| | | ||||||
* | | Use safe_constantize where possible. | José Valim | 2011-09-23 | 1 | -3/+1 | |
| | | ||||||
* | | Ensure that constantize just rescues NameError that applies to the constant ↵ | José Valim | 2011-09-23 | 2 | -4/+26 | |
| | | | | | | | | being currently loaded. | |||||
* | | Added ActiveSupport::Inflector.safe_constantize and String#safe_constantize; ↵ | Ryan Oblak | 2011-09-23 | 5 | -21/+106 | |
| | | | | | | | | refactored common constantize tests into ConstantizeTestCases | |||||
* | | No need to create a range object | Santiago Pastorino | 2011-09-22 | 1 | -3/+3 | |
| | | ||||||
* | | Merge pull request #3096 from phuibonhoa/master | Santiago Pastorino | 2011-09-22 | 2 | -10/+18 | |
|\ \ | | | | | | | FileStore key_file_path does not properly limit filenames to 255 characters | |||||
| * | | Updated existing test that fails with this fix ↵ | Philippe Huibonhoa | 2011-09-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | (8d63678d1406c5518d437709af0fde717c0248d7). Before the fix the test was giving a false positive, because file_store.key_file_path would return an empty filename (i.e. test/tmp_cache/4D0/F4D rather than test/tmp_cache/4D0/F4D/xxxx…). Even though the fix referenced above divides the filename into directories to prevent it from being too long, it seems that 1000 characters will always raise an error, so reducing the key size to 900). | |||||
| * | | Fixed issue in file store where it could create a filename that was too long ↵ | Philippe Huibonhoa | 2011-09-21 | 2 | -9/+17 | |
| | | | | | | | | | | | | for the file system. (https://github.com/rails/rails/issues/3072) | |||||
* | | | fix incorrect comment | Vijay Dev | 2011-09-22 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix test to reflect use of to_param for keys | brainopia | 2011-09-18 | 1 | -8/+8 | |
|/ / | ||||||
* | | Merge pull request #3049 from brainopia/fix_to_query_edge_case | Santiago Pastorino | 2011-09-17 | 2 | -1/+10 | |
|\ \ | | | | | | | Fix Hash#to_query edge case with html_safe string on 1.8 ruby | |||||
| * | | Fix Hash#to_query edge case with html_safe string on 1.8 ruby | brainopia | 2011-09-16 | 2 | -1/+10 | |
| | | | ||||||
* | | | Proper lines numbers for stack trace info | Santiago Pastorino | 2011-09-16 | 1 | -1/+1 | |
|/ / | ||||||
* | | Fix typo in deprecation notice | Claudio Poli | 2011-09-16 | 1 | -1/+1 | |
| | | ||||||
* | | Fix typo in deprecation warning. | Peter Suschlik | 2011-09-16 | 1 | -1/+1 | |
| | | ||||||
* | | Test deprecation warning when not using an options hash as second parameter. | Willem van Bergen | 2011-09-15 | 2 | -2/+14 | |
| | | ||||||
* | | Use an options hash to specify digest/cipher algorithm and a serializer for ↵ | Willem van Bergen | 2011-09-15 | 4 | -20/+26 | |
| | | | | | | | | MessageVerifier and MessageEncryptor. | |||||
* | | Add some documentation for the new serializer property of MessageVerifier ↵ | Willem van Bergen | 2011-09-15 | 1 | -0/+5 | |
| | | | | | | | | and MessageEncryptor. | |||||
* | | Implement API suggestions of pull request. | Willem van Bergen | 2011-09-15 | 4 | -18/+34 | |
| | | ||||||
* | | Fixed tests so that they will also run properly in other timezones. | Willem van Bergen | 2011-09-15 | 2 | -4/+4 | |
| | | ||||||
* | | Custom serializers and deserializers in MessageVerifier and MessageEncryptor. | Willem van Bergen | 2011-09-15 | 4 | -5/+30 | |
| | | | | | | | | | | By default, these classes use Marshal for serializing and deserializing messages. Unfortunately, the Marshal format is closely associated with Ruby internals and even changes between different interpreters. This makes the resulting message very hard to impossible to unserialize messages generated by these classes in other environments like node.js. This patch solves this by allowing you to set your own custom serializer and deserializer lambda functions. By default, it still uses Marshal to be backwards compatible. | |||||
* | | update 3.1 release date in changelogs | Vijay Dev | 2011-09-14 | 1 | -1/+1 | |
| | | ||||||
* | | Fix a typo in date | Semyon Perepelitsa | 2011-09-12 | 1 | -1/+1 | |
| | | ||||||
* | | revert the changes from c60995f3 - related to marking sub,gsub as ↵ | Vijay Dev | 2011-09-09 | 1 | -20/+1 | |
| | | | | | | | | unavailable to use with safe strings | |||||
* | | delete the CHANGELOG entry re SafeBuffer and sub/gsub, since it has been ↵ | Xavier Noria | 2011-09-08 | 1 | -2/+0 | |
| | | | | | | | | reverted | |||||
* | | Revert removing gsub and sub from safe buffer. | José Valim | 2011-09-08 | 5 | -63/+45 | |
| | | ||||||
* | | mention the issue number for future reference | Xavier Noria | 2011-09-08 | 1 | -1/+1 | |
| | | ||||||
* | | registers removal of sub and friends for safe strings in the CHANGELOG | Xavier Noria | 2011-09-08 | 1 | -0/+2 | |
| | | ||||||
* | | this should have gone with the previous commit | Xavier Noria | 2011-09-08 | 2 | -6/+6 | |
| | | ||||||
* | | copy-edits a couple of exception messages | Xavier Noria | 2011-09-08 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | "Safe Buffer" should either be the constant with the class name, or go in lower case. I've chosen to follow the same terminology that is used in the AS core extensiong guide, "safe string", though "safe buffer" is also used elsewhere, we should pick one. |