Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Merge pull request #3537 from dvyjones/refactor-pluralize-singularize | José Valim | 2011-11-06 | 1 | -16/+18 | |
| |\ \ \ | | | | | | | | | | | Refactored pluralize and singularize into a common method | |||||
| | * | | | Refactored pluralize and singularize into a common method. | Henrik Hodne | 2011-11-06 | 1 | -16/+18 | |
| | | | | | | | | | | | | | | | | | | | | See diff discussion on rails/#3536. | |||||
| * | | | | fixes typo | Xavier Noria | 2011-11-05 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | implements AS::Notifications.subscribed, which provides subscriptions to ↵ | Xavier Noria | 2011-11-05 | 1 | -0/+41 | |
| |/ / / | | | | | | | | | | | | | events while a block runs | |||||
| * | / | expands the documentation of AS::Notifications | Xavier Noria | 2011-11-05 | 1 | -14/+46 | |
| | |/ | |/| | ||||||
| * | | Refactor ActiveSupport::Cache::FileStore. used method and deleted duplicate ↵ | kennyj | 2011-10-30 | 1 | -3/+4 | |
| | | | | | | | | | | | | code. | |||||
| * | | fix a document for :compress_threshold. DEFAULT_COMPRESS_LIMIT is 16K. | kennyj | 2011-10-30 | 1 | -1/+1 | |
| | | | ||||||
| * | | fixes a typo (thanks to Alexey Vakhov) | Xavier Noria | 2011-10-30 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge pull request #3464 from kennyj/avoid_to_call_twice | Santiago Pastorino | 2011-10-29 | 1 | -8/+5 | |
| |\ \ | | | | | | | | | avoided to call `Marshal.dump` twice | |||||
| | * | | avoided to call twice | kennyj | 2011-10-30 | 1 | -8/+5 | |
| | | | | ||||||
| * | | | defines Module#qualified_const_(defined?|get|set) and String#deconstantize | Xavier Noria | 2011-10-29 | 5 | -13/+112 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit also implements a faster version of #demodulize I was unable to isolate with git add --patch. Not a big fan of the name #deconstantize. It complements #demodulize getting rid of the rightmost constant, hence the name, but it is unrelated to the well-known #constantize. So unsure. Could not come with anything better, please feel free to rename. | |||||
| * | | | Merge pull request #3463 from kennyj/fix_document_for_cache | Santiago Pastorino | 2011-10-29 | 1 | -1/+1 | |
| |\ \ \ | | |/ / | |/| | | fix a document for race_condition_ttl. ActiveSupport::Cache::MemoryCache isn't exist. | |||||
| | * | | fix a document for race_condition_ttl. ActiveSupport::Cache::MemoryCache ↵ | kennyj | 2011-10-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | isn't exist | |||||
| * | | | removed reference to SynchronizedMemoryStore and CompressedMemCacheStore ↵ | kennyj | 2011-10-30 | 1 | -2/+0 | |
| |/ / | | | | | | | | | | (the remaining code from 9cafc28874) | |||||
| * / | let demodulize do less work, and add tests | Xavier Noria | 2011-10-29 | 1 | -1/+3 | |
| |/ | | | | | | | This is also faster on 1.9. | |||||
| * | Revert "Merge pull request #3395 from bdurand/fix_file_store_cleanup" | José Valim | 2011-10-25 | 1 | -18/+3 | |
| | | | | | | | | | | | | | | Tests were failing on Travis-CI. This reverts commit 79d01a8f16e20c556a086a2f07e3ccb4400f9819, reversing changes made to b838570bd69ff13d677fb43e79f10d6f3168c696. | |||||
| * | Merge pull request #3395 from bdurand/fix_file_store_cleanup | José Valim | 2011-10-21 | 1 | -3/+18 | |
| |\ | | | | | | | Fix ActiveSupport::Cache::FileStore.cleanup to actually work. | |||||
| | * | Fix ActiveSupport::Cache::FileStore.cleanup to actually work. | Brian Durand | 2011-10-21 | 1 | -3/+18 | |
| | | | ||||||
| * | | Fix threading issues with BufferedLogger. | Brian Durand | 2011-10-21 | 1 | -8/+36 | |
| |/ | ||||||
| * | Checking blank if tag might coming nil or blank | Arun Agrawal | 2011-10-21 | 1 | -1/+2 | |
| | | | | | | In log it should not show the empty array. | |||||
| * | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-10-20 | 1 | -3/+3 | |
| |\ | ||||||
| | * | Fixed misleading docs for String#to_formatted_s(:db) | Martin Svalin | 2011-10-20 | 1 | -3/+3 | |
| | | | ||||||
| * | | Ensure TaggegLogging is thread safe. | José Valim | 2011-10-19 | 1 | -13/+22 | |
| | | | ||||||
| * | | Programatically define the log level methods and use the Logger constants ↵ | David Heinemeier Hansson | 2011-10-19 | 1 | -23/+8 | |
| | | | | | | | | | | | | instead (SyslogLogger didnt define them as I expected) | |||||
| * | | Added X-Request-Id tracking and TaggedLogging to easily log that and other ↵ | David Heinemeier Hansson | 2011-10-19 | 2 | -0/+69 | |
| | | | | | | | | | | | | production concerns | |||||
| * | | Merge pull request #3151 from zenprogrammer/pluralize_without_count | José Valim | 2011-10-17 | 1 | -3/+14 | |
| |\ \ | | |/ | |/| | Added include_count parameter to pluralize. | |||||
| | * | Modified String#pluralize to take an optional count parameter. | Ryan Oblak | 2011-09-28 | 1 | -3/+14 | |
| | | | ||||||
* | | | Don't unnecessarily use String eval. | Jose and Yehuda | 2011-10-15 | 1 | -2/+2 | |
|/ / | ||||||
* | | Revert "don't raise NoMethodError the tried method doesn't exists" | José Valim | 2011-10-06 | 1 | -2/+0 | |
| | | | | | | | | 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 | 1 | -1/+1 | |
|\ \ | | | | | | | Fix obviously breakage of Time.=== for Time subclasses | |||||
| * | | Edited activesupport/lib/active_support/core_ext/time/calculations.rb via GitHub | Jeremy Evans | 2011-09-01 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #3174 from phuibonhoa/master | José Valim | 2011-10-02 | 1 | -0/+1 | |
|\ \ \ | | | | | | | | | Fixed file store to handle delete_matched being called before cache dir is created. | |||||
| * | | | Added fix so that file store does not raise an exception when cache dir does ↵ | Philippe Huibonhoa | 2011-09-29 | 1 | -0/+1 | |
| | |/ | |/| | | | | | | | 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 | 1 | -1/+4 | |
| | | ||||||
* | | 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 | 1 | -4/+20 | |
| | | | | | | | | being currently loaded. | |||||
* | | Added ActiveSupport::Inflector.safe_constantize and String#safe_constantize; ↵ | Ryan Oblak | 2011-09-23 | 2 | -3/+43 | |
| | | | | | | | | 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 | 1 | -9/+8 | |
|\ \ | | | | | | | FileStore key_file_path does not properly limit filenames to 255 characters | |||||
| * | | Fixed issue in file store where it could create a filename that was too long ↵ | Philippe Huibonhoa | 2011-09-21 | 1 | -9/+8 | |
| | | | | | | | | | | | | for the file system. (https://github.com/rails/rails/issues/3072) | |||||
* | | | fix incorrect comment | Vijay Dev | 2011-09-22 | 1 | -1/+1 | |
|/ / | ||||||
* | | Merge pull request #3049 from brainopia/fix_to_query_edge_case | Santiago Pastorino | 2011-09-17 | 1 | -1/+1 | |
|\ \ | | | | | | | 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 | 1 | -1/+1 | |
| | | |