aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* sync __run_callbacks with ruby-trunkSokolov Yura2012-02-141-1/+1
| | | | | | https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/34580 In this revision behavior of respond_to? had changed: now to ask about protected method one should pass second argument `true`
* remove unnecessary require core_ext/string/encodingSergey Nartimov2012-02-145-5/+0
|
* prefer tr to gsub for replacing charactersXavier Noria2012-02-121-2/+2
|
* inflection regexp are meant to be applied onceXavier Noria2012-02-121-2/+2
|
* removes redundant argumentXavier Noria2012-02-121-1/+1
|
* boosts inflectionsXavier Noria2012-02-121-1/+1
| | | | | The impact of this change has been measured pluralizing the entire /usr/share/dict/words, showing a 6x speedup
* say unshift when you mean unshift (modulus prepend)Xavier Noria2012-02-111-3/+5
|
* fixes a regression introduced by 532cd4, and a bogus test in AP the ↵Xavier Noria2012-02-102-2/+4
| | | | regression uncovered
* Merge pull request #4719 from markmcspadden/singularize_words_that_end_in_ssXavier Noria2012-02-102-6/+15
|\ | | | | 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 McSpadden2012-01-272-6/+15
| | | | | | | | give you the correct singular in more cases
* | Merge pull request #4985 from shigeya/range_overlaps_to_use_coverAaron Patterson2012-02-102-1/+13
|\ \ | | | | | | make Range#overlaps? accept Range of Time
| * | make Range#overlaps? accept Range of TimeShigeya Suzuki2012-02-092-1/+13
| | |
* | | Bump tzinfo. 0.3.31 was released on November 6, 2011.kennyj2012-02-101-1/+1
| | |
* | | Fix GH #4909. Dependency on TZInfo move from AR to AS.kennyj2012-02-101-0/+1
| | |
* | | Replaced OrderedHash usage with Ruby 1.9 HashUddhava2012-02-091-3/+1
|/ /
* | Merge pull request #4878 from vijaydev/ordinal-2072Xavier Noria2012-02-075-10/+51
|\ \ | | | | | | PR #2072 with docs
| * | Document Integer#ordinal available in PR #2072.Vijay Dev2012-02-042-1/+2
| | | | | | | | | | | | Also remove an unasserted line in the tests.
| * | Add ActiveSupport::Inflector.ordinal and Integer#ordinalTim Gildea2012-02-044-10/+50
| | |
* | | Optional start_day argument for Time#all_week.kennyj2012-02-062-3/+4
| | | | | | | | | | | | Closes #4883
* | | AS::Callbacks: remove unused codeBogdan Gusiev2012-02-051-17/+13
|/ /
* | remove unasserted line in testVijay Dev2012-02-041-1/+0
| |
* | AS::Callbacks: rip out per_key option.Bogdan Gusiev2012-02-044-49/+46
| |
* | Merge pull request #4866 from bogdan/terminate_after_callbacksJosé Valim2012-02-042-1/+8
|\ \ | | | | | | AS::Callbacks#define_callbacks: add :terminate_after_callbacks option
| * | AS::Callbacks: :skip_after_callbacks_if_terminated optionBogdan Gusiev2012-02-032-1/+8
| | |
* | | Merge pull request #4865 from bogdan/deprecate_per_keyJosé Valim2012-02-031-2/+2
|\ \ \ | | | | | | | | AC::Callbacks: remove usage of :per_key option from filters
| * | | AC::Callbacks: remove usage of :per_key option from filtersBogdan Gusiev2012-02-031-2/+2
| |/ /
* | | Merge pull request #4863 from norman/unicodeVijay Dev2012-02-031-0/+2
|\ \ \ | | | | | | | | Added note about new Unicode version.
| * | | Added note about new Unicode version.Norman Clarke2012-02-031-0/+2
| | | |
* | | | Merge pull request #4862 from norman/unicodeJosé Valim2012-02-033-1/+1
|\| | | | | | | | | | | Update Unicode database to recently-released 6.1.
| * | | Update Unicode database to recently-released 6.1.Norman Clarke2012-02-033-1/+1
| |/ / | | | | | | | | | http://www.geek.com/articles/geek-pick/unicode-6-1-released-complete-with-emoji-characters-and-a-pile-of-poo-2012022/
* / / Verbose output for tests.Arun Agrawal2012-02-031-0/+1
|/ / | | | | | | | | See #3892
* | Merge pull request #3892 from arunagw/verbose_rake_testJosé Valim2012-02-021-1/+0
|\ \ | | | | | | No Verbose the output for test.
| * | No verbose the output for tests.Arun Agrawal2012-02-011-1/+0
| | |
* | | Merge pull request #4784 from semaperepelitsa/constantizeAaron Patterson2012-02-011-1/+1
|\ \ \ | | | | | | | | A little constantize update
| * | | There is an "inherit" option on const_get too, why not use it?Semyon Perepelitsa2012-01-311-1/+1
| | | |
* | | | revise docs [ci skip]Vijay Dev2012-02-011-1/+1
| | | |
* | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-011-0/+14
|\ \ \ \ | |_|/ / |/| | |
| * | | [ci skip] More docs for ActiveSupport::MessageEncryptorDaniel Fone2012-01-261-0/+14
| | | |
* | | | Build fix when running isolated testArun Agrawal2012-02-011-0/+1
| | | |
* | | | Move escaping regexps to constantsCarlos Antonio da Silva2012-02-011-2/+4
| | | |
* | | | Move escape_once logic to ERB::Util, where it belongs toCarlos Antonio da Silva2012-02-012-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | All the logic is based on the HTML_ESCAPE constant available in ERB::Util, so it seems more logic to have the entire method there and just delegate the helper to use it.
* | | | Added as_json method for multibyte stringsDmitriy Vorotilin2012-02-012-0/+7
| |/ / |/| |
* | | merge MRI performance methods into one fileSergey Nartimov2012-01-302-56/+26
| | |
* | | Replaced all 'for' loops with Enumerable#eachNathan Broadbent2012-01-301-4/+4
| | |
* | | Inline the prefix assignment so it doesnt look so daftDavid Heinemeier Hansson2012-01-271-2/+1
| | |
* | | Revert "Fix expanding cache key for single element arrays"David Heinemeier Hansson2012-01-272-16/+8
| |/ |/| | | | | | | | | This reverts commit abe915f23777efe10f17d611bf5718ca855a0704. This broke all existing keys and it's wrong anyway. The array is just there as a convenience option for building the string. It's intentional that [ "stuff"] and "stuff" generates the same key.
* | safe_constantize should handle wrong constant name NameErrors Fixes #4710Alex Tambellini2012-01-262-3/+4
| |
* | global variables may not be set depending on the match. fixes #4703Aaron Patterson2012-01-262-1/+8
| |
* | Add release date of Rails 3.2.0 to documentationclaudiob2012-01-261-1/+1
| |
* | Deprecate DateTime.local_offsetbrainopia2012-01-254-17/+22
|/