Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ci skip] remove references to `Numeric#from_now` | yuuji.yaginuma | 2014-12-03 | 1 | -18/+0 |
| | |||||
* | Remove a reference to Ruby 1.9 in Guides | claudiob | 2014-11-28 | 1 | -1/+1 |
| | | | | | | | [ci skip] Now that Rails requires Ruby >= 2.0 there is no need to document Ruby 1.9. | ||||
* | Minor English fixes in docs [ci skip] | George Millo | 2014-11-17 | 1 | -1/+1 |
| | |||||
* | The code was not up-to-date | Akira Matsuda | 2014-10-25 | 1 | -9/+7 |
| | |||||
* | As of Unicode 6.3, Mongolian Vowel Separator is not whitespace | Matthew Draper | 2014-09-15 | 1 | -1/+1 |
| | | | | | Ruby 2.2 knows this, and no longer matches it with [[:space:]], so it's not a good candidate for testing String#squish. | ||||
* | :scissors: and from #16803 [ci skip] | Zachary Scott | 2014-09-04 | 1 | -1/+1 |
| | |||||
* | Document that method objects are not `duplicable?` | Peter Jaros | 2014-09-04 | 1 | -1/+1 |
| | |||||
* | copy edit AS core ext changes [ci skip] | Vijay Dev | 2014-09-03 | 1 | -10/+9 |
| | |||||
* | [ci skip] document truncate_words | Rashmi Yadav | 2014-08-24 | 1 | -0/+33 |
| | |||||
* | [ci skip ]Document transform_values && transform_values! | Rashmi Yadav | 2014-08-23 | 1 | -0/+14 |
| | |||||
* | Merge pull request #16097 from nishantmodak/correct_md | Zachary Scott | 2014-07-08 | 1 | -2/+2 |
|\ | | | | | correct markdown usage [ci skip] | ||||
| * | correct markdown usage [ci skip] | Nishant Modak | 2014-07-09 | 1 | -2/+2 |
| | | |||||
* | | Only reference time specific methods in the time section [ci skip] | Sean Griffin | 2014-07-05 | 1 | -2/+2 |
| | | |||||
* | | Remove *all* references to `Time.yesterday` [ci skip] | Sean Griffin | 2014-07-05 | 1 | -1/+1 |
| | | |||||
* | | `Time.today` -> `Date.today` in guides. [ci skip] | Sean Griffin | 2014-07-05 | 1 | -1/+1 |
|/ | | | | | Removed mentions of non-existent methods, also added a mention for `Date.current`, which is analagous to `Time.current`. Closes #16061. | ||||
* | Rename Posts to Articles in Guides, continuation of 2d446e77 / #13774 [ci skip] | John Kelly Ferguson | 2014-05-21 | 1 | -2/+2 |
| | |||||
* | Replace first person point of view on guides. | Hendy Tanata | 2014-05-16 | 1 | -3/+3 |
| | | | | [skip ci] | ||||
* | Remove falsy deprecation note in AS guides [ci skip] | Genadi Samokovarov | 2014-05-13 | 1 | -1/+1 |
| | | | This is no longer true as @jeremy removed the deprecation in 7a5601c. | ||||
* | typo [ci skip] | Xavier Noria | 2014-05-06 | 1 | -1/+1 |
| | |||||
* | several enhancements to humanize [closes #12288] | Xavier Noria | 2014-05-06 | 1 | -7/+22 |
| | | | | | | | | | | * Strips leading underscores. * Changes some unnecessary gsub!s to sub!s. * Replaces some anchors ^, $ with \A, \z. * Documents that human inflection rules are applied. * Documents that words are downcased except acronyms. * Adds an example with an acronym. * Rewords docs. | ||||
* | [ci skip] builtin -> built-in | Akshay Vishnoi | 2014-04-20 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2014-04-18 | 1 | -3/+3 |
|\ | |||||
| * | Use path where extensions are defined, not used | Steven Harman | 2014-04-11 | 1 | -3/+3 |
| | | | | | | | | | | | | | | For consistency with all other documentation, point to where these core extensions are defined, not where the example code comes from. [ci skip] | ||||
* | | Add more test case for #demodulize, Improve documentation | Akshay Vishnoi | 2014-04-11 | 1 | -0/+3 |
| | | |||||
* | | [ci skip] Remove false documentation | Akshay Vishnoi | 2014-04-11 | 1 | -14/+1 |
|/ | |||||
* | Improve collision explanation for Hash#transform_keys. | Hendy Tanata | 2014-02-28 | 1 | -3/+3 |
| | | | | | | | Based on comments at https://github.com/rails/docrails/commit/42417b0013819e573be9ffc5402e179003156e8e#commitcomment-5527251 [skip ci] | ||||
* | Fix code alignment in duplicable? guide. | Hendy Tanata | 2014-02-27 | 1 | -2/+2 |
| | | | | [skip ci] | ||||
* | Improve guide for Hash#transform_keys and related methods. | Hendy Tanata | 2014-02-27 | 1 | -6/+15 |
| | | | | [skip ci] | ||||
* | fix guide active_support_core_extensions. add Note to String#indent [ci skip] | tbpgr | 2014-02-14 | 1 | -0/+2 |
| | |||||
* | Adding Hash#compact and Hash#compact! methods | tinogomes | 2014-01-09 | 1 | -0/+10 |
| | | | | | | | | | | | * Adding Hash#compact and Hash#compact! methods * Using Ruby 1.9 syntax on documentation * Updating guides for `Hash#compact` and `Hash#compact!` methods * Updating CHANGELOG for ActiveSupport * Removing unecessary protected method and lambda for `Hash#compact` implementations * Performing `Hash#compact` implementation - https://gist.github.com/tinogomes/8332883 * fixing order position * Fixing typo | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-12-20 | 1 | -1/+1 |
|\ | |||||
| * | Remove Rdoc formatting from markdown [ci skip] | Harshad Sabne | 2013-11-29 | 1 | -1/+1 |
| | | | | | | Use markdown formatting instead | ||||
* | | Remove note about removed local_constant_names method from guides [ci skip] | Carlos Antonio da Silva | 2013-12-02 | 1 | -1/+1 |
| | | |||||
* | | Remove dead comment from AS extensions guide [ci skip] | Carlos Antonio da Silva | 2013-12-02 | 1 | -2/+0 |
| | | |||||
* | | Fix note about class attribute accessors deprecated file [ci skip] | Carlos Antonio da Silva | 2013-12-02 | 1 | -1/+1 |
| | | |||||
* | | Unify cattr and mattr accessors declarations | Genadi Samokovarov | 2013-12-02 | 1 | -2/+2 |
| | | |||||
* | | [ci skip] Removing some gender sensitive object pronouns | Tejas Dinkar | 2013-12-02 | 1 | -1/+1 |
|/ | |||||
* | Merge remote-tracking branch 'docrails/master' | Xavier Noria | 2013-11-24 | 1 | -7/+7 |
|\ | | | | | | | | | | | Conflicts: activesupport/lib/active_support/core_ext/hash/deep_merge.rb activesupport/lib/active_support/core_ext/hash/keys.rb | ||||
| * | [ci skip] Replace #=> with # => | Alex Johnson | 2013-11-12 | 1 | -7/+7 |
| | | |||||
* | | Unify `cattr_*` interface: allow to pass a block to `cattr_reader`. | Alexey Chernenkov | 2013-11-15 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | Example: class A cattr_reader(:defr) { 'default_reader_value' } end A.defr # => 'default_reader_value' | ||||
* | | Make it clear that require 'active_support' is required [ci-skip] | Godfrey Chan | 2013-11-13 | 1 | -1/+4 |
|/ | |||||
* | Add +capitalize+ option to Inflector.humanize | claudiob | 2013-11-06 | 1 | -0/+6 |
| | | | | | | | So strings can be humanized without being capitalized: 'employee_salary'.humanize # => "Employee salary" 'employee_salary'.humanize(capitalize: false) # => "employee salary" | ||||
* | AS guide: errata | Xavier Noria | 2013-10-31 | 1 | -1/+1 |
| | |||||
* | Merge pull request #12203 from chancancode/eager_load_json | Jeremy Kemper | 2013-10-30 | 1 | -4/+2 |
|\ | | | | | Eagerload active_support/json/encoding in active_support/core_ext/object/to_json | ||||
| * | Moved all JSON core extensions into core_ext/object/json | Godfrey Chan | 2013-09-13 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TL;DR The primary driver is to remove autoload surprise. This is related to #12106. (The root cause for that ticket is that json/add defines Regexp#to_json among others, but here I'll reproduce the problem without json/add.) Before: >> require 'active_support/core_ext/to_json' => true >> //.as_json NoMethodError: undefined method `as_json' for //:Regexp from (irb):3 from /Users/godfrey/.rvm/rubies/ruby-2.0.0-p195/bin/irb:16:in `<main>' >> //.to_json => "\"(?-mix:)\"" >> //.as_json => "(?-mix:)" After: >> require 'active_support/core_ext/to_json' => true >> //.as_json => "(?-mix:)" This is because ActiveSupport::JSON is autoloaded the first time Object#to_json is called, which causes additional core extentions (previously defined in active_support/json/encoding.rb) to be loaded. When someone require 'active_support/core_ext', the expectation is that it would add certain methods to the core classes NOW. The previous behaviour causes additional methods to be loaded the first time you call `to_json`, which could cause nasty surprises and other unplesant side-effects. This change moves all core extensions in to core_ext/json. AS::JSON is still autoloaded on first #to_json call, but since it nolonger include the core extensions, it should address the aforementioned bug. *Requiring core_ext/object/to_json now causes a deprecation warnning* | ||||
* | | Revert "Merge pull request #12480 from iwiznia/master" | Jeremy Kemper | 2013-10-11 | 1 | -15/+0 |
| | | | | | | | | | | This reverts commit e5f5a838b96a362534d9bb60d02334439ed9784c, reversing changes made to d7567f3290a50952494e9213556a1f283a6cf3a0. | ||||
* | | flatten and flatten! methods for ActiveSupport::Duration | Ionatan Wiznia | 2013-10-11 | 1 | -0/+15 |
| | | |||||
* | | Removed doc of diff method [ci skip] | Rashmi Yadav | 2013-09-13 | 1 | -38/+0 |
| | | |||||
* | | Updated guides with latest method [ci skip] | Rashmi Yadav | 2013-09-13 | 1 | -2/+2 |
| | | |||||
* | | Updated the file path [ci skip] | Rashmi Yadav | 2013-09-13 | 1 | -4/+4 |
| | |