- 01 3月, 2014 1 次提交
-
-
由 Hendy Tanata 提交于
Based on comments at https://github.com/rails/docrails/commit/42417b0013819e573be9ffc5402e179003156e8e#commitcomment-5527251 [skip ci]
-
- 28 2月, 2014 2 次提交
-
-
由 Hendy Tanata 提交于
[skip ci]
-
由 Hendy Tanata 提交于
[skip ci]
-
- 14 2月, 2014 1 次提交
-
-
由 tbpgr 提交于
-
- 10 1月, 2014 1 次提交
-
-
由 tinogomes 提交于
* 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
-
- 03 12月, 2013 4 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Genadi Samokovarov 提交于
-
- 02 12月, 2013 1 次提交
-
-
由 Tejas Dinkar 提交于
-
- 29 11月, 2013 1 次提交
-
-
由 Harshad Sabne 提交于
Use markdown formatting instead
-
- 15 11月, 2013 1 次提交
-
-
由 Alexey Chernenkov 提交于
Example: class A cattr_reader(:defr) { 'default_reader_value' } end A.defr # => 'default_reader_value'
-
- 14 11月, 2013 1 次提交
-
-
由 Godfrey Chan 提交于
-
- 12 11月, 2013 1 次提交
-
-
由 Alex Johnson 提交于
-
- 07 11月, 2013 1 次提交
-
-
由 claudiob 提交于
So strings can be humanized without being capitalized: 'employee_salary'.humanize # => "Employee salary" 'employee_salary'.humanize(capitalize: false) # => "employee salary"
-
- 31 10月, 2013 1 次提交
-
-
由 Xavier Noria 提交于
-
- 12 10月, 2013 1 次提交
-
-
由 Jeremy Kemper 提交于
This reverts commit e5f5a838, reversing changes made to d7567f32.
-
- 11 10月, 2013 1 次提交
-
-
由 Ionatan Wiznia 提交于
-
- 14 9月, 2013 4 次提交
-
-
由 Rashmi Yadav 提交于
-
由 Rashmi Yadav 提交于
-
由 Rashmi Yadav 提交于
-
由 Rashmi Yadav 提交于
-
- 13 9月, 2013 1 次提交
-
-
由 Godfrey Chan 提交于
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*
-
- 07 9月, 2013 1 次提交
-
-
由 Paul Nikitochkin 提交于
* 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]
-
- 03 9月, 2013 1 次提交
-
-
由 Vipul A M 提交于
-
- 18 8月, 2013 1 次提交
-
- 15 8月, 2013 2 次提交
-
-
由 Rashmi Yadav 提交于
-
由 Rashmi Yadav 提交于
-
- 28 7月, 2013 2 次提交
-
-
由 Mikhail Dieterle 提交于
-
由 Mikhail Dieterle 提交于
-
- 24 7月, 2013 4 次提交
-
-
由 Rashmi Yadav 提交于
-
由 Rashmi Yadav 提交于
-
由 Rashmi Yadav 提交于
-
由 Rashmi Yadav 提交于
for blank?
-
- 14 6月, 2013 1 次提交
-
-
由 Vijay Dev 提交于
-
- 09 6月, 2013 1 次提交
-
-
由 Jeff Cohen 提交于
-
- 28 5月, 2013 1 次提交
-
-
由 Sunny Ripert 提交于
-
- 12 5月, 2013 1 次提交
-
-
由 Prathamesh Sonpatki 提交于
-
- 01 5月, 2013 2 次提交
-
-
由 Brian Morearty 提交于
-
由 Yves Senn 提交于
* it's Action Mailer not ActionMailer * it's Action Pack not ActionPack * it's Active Support not ActiveSupport /cc @fxn
-