- 12 4月, 2015 1 次提交
-
-
由 Robin Dupret 提交于
-
- 11 4月, 2015 2 次提交
-
-
由 Jon Atack 提交于
-
由 Zachary Scott 提交于
-
- 28 3月, 2015 1 次提交
-
-
由 Jon Atack 提交于
In the AR Associations Guide, this PR fixes: - The counter_cache declaration is now shown only in the `belongs_to` association. - The docs stated that the counter_cache declaration needs to be on the `has_many` side; now corrected to the `belongs_to` side. - Split the custom column explanation out to a separate paragraph. - Simplify the NOTE because it is true both with and without a custom column name.
-
- 19 3月, 2015 2 次提交
-
-
由 Akshay Vishnoi 提交于
-
由 Akshay Vishnoi 提交于
-
- 02 3月, 2015 2 次提交
-
-
由 Steve Lounsbury 提交于
-
由 Steve Lounsbury 提交于
-
- 25 2月, 2015 1 次提交
-
-
由 Robin Dupret 提交于
-
- 22 2月, 2015 1 次提交
-
-
由 Josef Šimánek 提交于
Deprecate `required` option in favor of `optional` for belongs_to.
-
- 18 2月, 2015 1 次提交
-
-
由 Konstantinos Rousis 提交于
-
- 10 2月, 2015 1 次提交
-
-
由 Juanito Fatas 提交于
-
- 01 2月, 2015 1 次提交
-
-
由 Andrey Nering 提交于
-
- 29 1月, 2015 1 次提交
-
-
由 Juanito Fatas 提交于
-
- 14 1月, 2015 1 次提交
-
-
由 Vipul A M 提交于
- Changed `IN` to `ON` in all note sentences in guides.
-
- 29 12月, 2014 1 次提交
-
-
由 Robin Dupret 提交于
-
- 24 12月, 2014 1 次提交
-
-
由 Xavier Noria 提交于
References #18148.
-
- 16 12月, 2014 1 次提交
-
-
由 Steve Lounsbury 提交于
You need to specify the counter_cache option on the has_many side of the association when using a custom counter cache column. This is documented on the has_many association here: http://apidock.com/rails/ActiveRecord/Associations/ClassMethods/has_many [ci skip]
-
- 15 12月, 2014 1 次提交
-
-
由 Zachary Scott 提交于
-
- 28 11月, 2014 1 次提交
-
-
由 Aaron Huang 提交于
-
- 23 9月, 2014 1 次提交
-
-
由 Girish S 提交于
fixes issue #16698
-
- 08 9月, 2014 1 次提交
-
-
由 Juanito Fatas 提交于
Follow up of #16722. https://github.com/rails/rails/pull/16722 also normalize all instance gained methods’ sentence.
-
- 27 8月, 2014 2 次提交
- 25 7月, 2014 1 次提交
-
-
由 Matt Warren 提交于
missed one migration script in last commit remove some empty lines using the belongs_to index option to be more concise
-
- 09 7月, 2014 1 次提交
-
-
由 Nishant Modak 提交于
-
- 22 5月, 2014 1 次提交
-
-
由 John Kelly Ferguson 提交于
-
- 13 4月, 2014 1 次提交
-
-
由 Juanito Fatas 提交于
-
- 31 1月, 2014 1 次提交
-
-
由 Rohit Paul Kuruvilla 提交于
Updated association_basics.md to include how to write migrations for self joins Update association_basics.md Corrected the update Update association_basics.md Typo fix Changed :employee to :manager
-
- 29 11月, 2013 1 次提交
-
-
由 Kuldeep Aggarwal 提交于
removed unnecessary test case and improved test case for belongs_to having invalid options
-
- 17 10月, 2013 1 次提交
-
-
由 Juanito Fatas 提交于
Also clean up some trailing spaces on line 1143-1146.
-
- 25 9月, 2013 1 次提交
-
-
由 Ofer Nave 提交于
Based on the instructions further down in section 3.3.2.
-
- 24 9月, 2013 1 次提交
-
-
由 Rafael Mendonça França 提交于
[ci skip]
-
- 23 8月, 2013 1 次提交
-
-
由 Xavier Noria 提交于
-
- 12 8月, 2013 1 次提交
-
-
由 Ilya Vorontsov 提交于
Added comment to a guide about necessity of `:dependent` option for associations with NOT NULL constraint
-
- 03 8月, 2013 1 次提交
-
-
由 Gaurish Sharma 提交于
Done the following changes: 1. Replace uniq call in example with autosave as uniq is not supported on has_and_belongs_to_many 2. Add :readonly option to list of supported call as per [EdgeApi](http://edgeapi.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#method-i-has_and_belongs_to_many)
-
- 11 7月, 2013 1 次提交
-
-
由 Daniel Dawson 提交于
-
- 01 7月, 2013 1 次提交
-
-
由 Cristian Planas 提交于
-
- 15 6月, 2013 2 次提交
-
-
由 Mikhail Dieterle 提交于
-
由 Mikhail Dieterle 提交于
-