Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | Updated with latest method [ci skip] | Rashmi Yadav | 2013-09-13 | 1 | -4/+5 |
|/ | |||||
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2013-09-13 | 1 | -1/+1 |
|\ | |||||
| * | `implemention` => `implementation` | Vipul A M | 2013-09-03 | 1 | -1/+1 |
| | | |||||
* | | Use Ruby on Rails Coding Conventions for code examples in the guides | Paul Nikitochkin | 2013-09-06 | 1 | -5/+5 |
|/ | | | | | | | | * Indent after private/protected * Ruby >= 1.9 syntax for hashes * Prefer method { do_stuff } instead of method{do_stuff} for single-line blocks. [ci skip] | ||||
* | Revert "Merge branch 'master' of github.com:rails/docrails" | Vijay Dev | 2013-08-17 | 1 | -14/+51 |
| | | | | | | | This reverts commit 70d6e16fbad75b89dd1798ed697e7732b8606fa3, reversing changes made to ea4db3bc078fb3093ecdddffdf4f2f4ff3e1e8f9. Seems to be a code merge done by mistake. | ||||
* | Added new line [ci skip] | Rashmi Yadav | 2013-08-14 | 1 | -0/+1 |
| | |||||
* | Added docs for 'remove' method [ci skip] | Rashmi Yadav | 2013-08-14 | 1 | -0/+11 |
| | |||||
* | Typo fix | Mikhail Dieterle | 2013-07-28 | 1 | -1/+1 |
| | |||||
* | Using markdown-style code quotes | Mikhail Dieterle | 2013-07-28 | 1 | -2/+2 |
| | |||||
* | Removed doc of removed method diff [ci skip] | Rashmi Yadav | 2013-07-24 | 1 | -38/+0 |
| | |||||
* | Updated guides with latest method [ci skip] | Rashmi Yadav | 2013-07-24 | 1 | -2/+2 |
| | |||||
* | fixed file name references [ci skip] | Rashmi Yadav | 2013-07-24 | 1 | -4/+4 |
| | |||||
* | Updated guides with latest method [ci skip] | Rashmi Yadav | 2013-07-23 | 1 | -4/+5 |
| | | | for blank? | ||||
* | copy editing AS guide [ci skip] | Vijay Dev | 2013-06-14 | 1 | -19/+4 |
| | |||||
* | Describe ActiveSupport core extensions for BigDecimal, JSON support, and ↵ | Jeff Cohen | 2013-06-08 | 1 | -1/+65 |
| | | | | instance variable names. | ||||
* | Consistent use of one space only after punctuation | Sunny Ripert | 2013-05-28 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-05-12 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: activesupport/lib/active_support/callbacks.rb | ||||
| * | ruby -> Ruby | Prathamesh Sonpatki | 2013-05-12 | 1 | -1/+1 |
| | | |||||
* | | Revert the guide after removing varargs from `in?`. | Brian Morearty | 2013-05-01 | 1 | -2/+1 |
|/ | |||||
* | more naming fixes. | Yves Senn | 2013-04-30 | 1 | -3/+5 |
| | | | | | | | | * it's Action Mailer not ActionMailer * it's Action Pack not ActionPack * it's Active Support not ActiveSupport /cc @fxn | ||||
* | it's Active Record not ActiveRecord | Yves Senn | 2013-04-30 | 1 | -1/+3 |
| | | | | /cc @fxn | ||||
* | Changed grammar for better readability | Prathamesh Sonpatki | 2013-04-14 | 1 | -1/+1 |
| | |||||
* | Add option to Class#class_attribute for skipping the query method | Agis- | 2013-04-06 | 1 | -0/+2 |
| | |||||
* | localised => localized | Prathamesh Sonpatki | 2013-03-25 | 1 | -1/+1 |
| | |||||
* | do some typo fixing | Vipul A M | 2013-03-14 | 1 | -1/+1 |
| | |||||
* | Added documentation for beginning_of_minute and end_of_minute to Active ↵ | Gagan Awhad | 2013-02-22 | 1 | -1/+19 |
| | | | | Support Core Extensions guide | ||||
* | Improve String#squish whitespaces matching | Antoine Lyset | 2013-01-22 | 1 | -0/+2 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-01-09 | 1 | -21/+2 |
|\ | | | | | | | | | Conflicts: guides/source/getting_started.md | ||||
| * | undecorated_table_name was moved and refactored | Akira Matsuda | 2013-01-04 | 1 | -3/+2 |
| | | |||||
| * | Ruby 1.8 support had gone | Akira Matsuda | 2013-01-04 | 1 | -18/+0 |
| | | | | | | | | instance_variable_names remains for internal use, but it's not that useful for the users anymore | ||||
* | | delegate to :class rather than 'self.class' | Gosha Arinich | 2013-01-06 | 1 | -1/+1 |
| | | |||||
* | | ERB::Util::h is no longer generated in scaffold | Ryunosuke SATO | 2013-01-05 | 1 | -3/+3 |
|/ |