aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* fix typo again (Thanks Phillip Oertel)Vijay Dev2011-11-081-1/+1
|
* Merge pull request #3549 from luckydev/rmethodAaron Patterson2011-11-071-0/+29
|\ | | | | remove_method tests and changes
| * added remove_method core_ext testsAnand2011-11-071-0/+29
| |
* | Merge pull request #3541 from dvyjones/fix-datetime-warningsAaron Patterson2011-11-062-16/+16
|\ \ | | | | | | Removed argument throwing warnings when running tests
| * | Removed argument throwing warnings when running tests.Henrik Hodne2011-11-062-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | The last argument to DateTime.new/civil is the Julian day number for when the calendar reform occured. DateTime ignores it if it's 0, and sets it to the default of DateTime::ITALY instead, so we could just leave it out. This also removes the warnings while running the ActiveSupport tests (there still are some for the setup though).
* | | fix typoVijay Dev2011-11-061-1/+1
|/ /
* / Added the test case for #3537Pavan Kumar Sunkara2011-11-061-0/+1
|/
* Merge pull request #3537 from dvyjones/refactor-pluralize-singularizeJosé Valim2011-11-061-16/+18
|\ | | | | Refactored pluralize and singularize into a common method
| * Refactored pluralize and singularize into a common method.Henrik Hodne2011-11-061-16/+18
| | | | | | | | See diff discussion on rails/#3536.
* | fixes typoXavier Noria2011-11-051-1/+1
| |
* | implements AS::Notifications.subscribed, which provides subscriptions to ↵Xavier Noria2011-11-053-0/+63
|/ | | | events while a block runs
* expands the documentation of AS::NotificationsXavier Noria2011-11-051-14/+46
|
* make class name consistent with the filenameVijay Dev2011-11-051-1/+1
|
* Synchronize the gemspecs since CHANGELOG has been renamed to CHANGELOG.mdFranck Verrot2011-11-041-1/+1
|
* Convert CHANGELOGs to Markdown format.Jon Leighton2011-11-042-1571/+1571
| | | | | | | | | | | | | Reasons: * Markdown reads well as plain text, but can also be formatted. * It will make it easier for people to read on the web as Github formats the Markdown nicely. * It will encourage a level of consistency when people are writing CHANGELOG entries. The script used to perform the conversion is at https://gist.github.com/1339263
* Refactor ActiveSupport::Cache::FileStore. used method and deleted duplicate ↵kennyj2011-10-301-3/+4
| | | | code.
* fix a document for :compress_threshold. DEFAULT_COMPRESS_LIMIT is 16K.kennyj2011-10-301-1/+1
|
* fixes a typo (thanks to Alexey Vakhov)Xavier Noria2011-10-301-1/+1
|
* Merge pull request #3464 from kennyj/avoid_to_call_twiceSantiago Pastorino2011-10-291-8/+5
|\ | | | | avoided to call `Marshal.dump` twice
| * avoided to call twicekennyj2011-10-301-8/+5
| |
* | defines Module#qualified_const_(defined?|get|set) and String#deconstantizeXavier Noria2011-10-299-13/+228
| | | | | | | | | | | | | | | | | | | | 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_cacheSantiago Pastorino2011-10-291-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 ↵kennyj2011-10-301-1/+1
| | | | | | | | isn't exist
* | removed reference to SynchronizedMemoryStore and CompressedMemCacheStore ↵kennyj2011-10-301-2/+0
|/ | | | (the remaining code from 9cafc28874)
* let demodulize do less work, and add testsXavier Noria2011-10-292-1/+5
| | | | This is also faster on 1.9.
* Revert "Merge pull request #3395 from bdurand/fix_file_store_cleanup"José Valim2011-10-252-52/+3
| | | | | | | Tests were failing on Travis-CI. This reverts commit 79d01a8f16e20c556a086a2f07e3ccb4400f9819, reversing changes made to b838570bd69ff13d677fb43e79f10d6f3168c696.
* Unused variable removedArun Agrawal2011-10-241-1/+1
|
* Merge pull request #3395 from bdurand/fix_file_store_cleanupJosé Valim2011-10-212-3/+52
|\ | | | | Fix ActiveSupport::Cache::FileStore.cleanup to actually work.
| * Fix ActiveSupport::Cache::FileStore.cleanup to actually work.Brian Durand2011-10-212-3/+52
| |
* | Fix threading issues with BufferedLogger.Brian Durand2011-10-212-8/+89
|/
* Checking blank if tag might coming nil or blankArun Agrawal2011-10-212-1/+7
| | | In log it should not show the empty array.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-201-3/+3
|\
| * Fixed misleading docs for String#to_formatted_s(:db)Martin Svalin2011-10-201-3/+3
| |
* | Ensure TaggegLogging is thread safe.José Valim2011-10-192-14/+51
| |
* | Programatically define the log level methods and use the Logger constants ↵David Heinemeier Hansson2011-10-191-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 Hansson2011-10-194-0/+110
| | | | | | | | production concerns
* | Merge pull request #3151 from zenprogrammer/pluralize_without_countJosé Valim2011-10-172-7/+22
|\ \ | |/ |/| Added include_count parameter to pluralize.
| * Modified String#pluralize to take an optional count parameter.Ryan Oblak2011-09-282-7/+22
| |
* | Fixed test_nonexisting_method_with_arguments to revert commit 29a5aeaYasuo Honda2011-10-061-1/+1
| |
* | Revert "don't raise NoMethodError the tried method doesn't exists"José Valim2011-10-062-3/+1
| | | | | | | | This reverts commit 29a5aeaae976bf8432d57ec996c7c81932a39de6.
* | ruby193: String#prepend is also unsafeAkira Matsuda2011-10-051-1/+1
| |
* | override unsafe methods only if defined on StringAkira Matsuda2011-10-051-10/+12
| |
* | to_formatted_s is an instance method for a Range not an ArrayAyrton De Craene2011-10-041-1/+1
| |
* | Merge pull request #2801 from jeremyevans/patch-1Jeremy Kemper2011-10-032-1/+4
|\ \ | | | | | | Fix obviously breakage of Time.=== for Time subclasses
| * | Add tests for fixes to Time.===Jeremy Evans2011-09-071-0/+3
| | |
| * | Edited activesupport/lib/active_support/core_ext/time/calculations.rb via GitHubJeremy Evans2011-09-011-1/+1
| | |
* | | Rescuable spelling errorChristian Höltje2011-10-031-1/+1
| | |
* | | Merge pull request #3174 from phuibonhoa/masterJosé Valim2011-10-022-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 Huibonhoa2011-10-021-4/+5
| | | | | | | | | | | | | | | | method.
| * | | Added fix so that file store does not raise an exception when cache dir does ↵Philippe Huibonhoa2011-09-292-0/+8
| | |/ | |/| | | | | | | not exist yet. This can happen if a delete_matched is called before anything is saved in the cache.