- 31 1月, 2016 1 次提交
-
-
由 Mikhail Dieterle 提交于
-
- 19 1月, 2016 3 次提交
-
-
由 amitkumarsuroliya 提交于
-
由 amitkumarsuroliya 提交于
fixes #21500
- 18 1月, 2016 1 次提交
-
-
由 James Doyley 提交于
The current example add_index :person_articles, :article, unique: true Does not work, the `:article` column does not exist as it will be a join table (based on the prior example) so should use :article_id The documentation seems to suggest that it will allow an article to be added only once to a person via the join table, what actually occurs is that it only allows the article to be added to one person, at which point it should be a `belongs_to` association. Also changed the new example to use readings based on the prior example
-
- 17 12月, 2015 1 次提交
-
-
由 Genadi Samokovarov 提交于
This is a pass over the documentation which fills the missing gaps of `ApplicationRecord`. [ci skip]
-
- 15 12月, 2015 2 次提交
-
-
由 Matthew Draper 提交于
Even though this means more things to change when we bump after a release, it's more important that our examples are directly copyable.
-
由 Matthew Draper 提交于
If we use a real version, at best that'll be an onerous update required for each release; at worst, it will encourage users to write new migrations against an older version than they're using. The other option would be to leave these bare, without any version specifier. But as that's just a variant spelling of "4.2", it would seem to raise the same concerns as above.
-
- 07 11月, 2015 1 次提交
-
-
由 Sean Collins 提交于
[ci-skip]
-
- 02 11月, 2015 1 次提交
-
-
由 raq929 提交于
Moves the definition of an association to the top of the page. I am just starting to learn Rails, and having this definition at the top instead of in the second section would be really useful. Updates the Types of Associations section for clarity. Moves the list of associations before the explanation. Links to wikipedia articles on Primary and Foreign keys.
-
- 29 10月, 2015 1 次提交
-
-
由 oesgalha 提交于
* #uniq is an alias of #distinct * #uniq will be deprecated, see: rails/rails@adfab2dcf4003ca564d78d4425566dd2d9cd8b4f
-
- 29 9月, 2015 1 次提交
-
-
由 Niall Burkley 提交于
* A `has_many` dependant association accepts `[:destroy, :delete_all, :nullify, :restrict_with_error, :restrict_with_exception]` as options. Currently the documentation references `delete` instead of `delete_all` * Adds documentation for other options
-
- 20 9月, 2015 1 次提交
-
-
由 yuuji.yaginuma 提交于
The option was deprecated in 6eae366d
-
- 04 8月, 2015 1 次提交
-
-
由 r11runner 提交于
-
- 23 6月, 2015 1 次提交
-
-
由 Andrey Nering 提交于
-
- 22 6月, 2015 1 次提交
-
-
由 ankit1910 提交于
-
- 07 6月, 2015 1 次提交
-
-
由 Robin Dupret 提交于
[Robin Dupret & Shunsuke Aida]
-
- 03 6月, 2015 1 次提交
-
-
由 Roque Pinel 提交于
Improve the guide about `has_many` `collection.clear` to indicate the behavior for each dependent strategy according to `collection.delete_all`. Based on #17179, I changed the `collection.delete` docs to also clarify the default strategy for each `hm` and `hm:t` associations. Fixes #20170.
-
- 01 6月, 2015 1 次提交
-
-
由 manish-shrivastava 提交于
-
- 23 5月, 2015 3 次提交
- 22 5月, 2015 1 次提交
-
-
由 Eliot Sykes 提交于
-
- 19 4月, 2015 1 次提交
-
-
由 Markov Alexey 提交于
-
- 13 4月, 2015 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
Related to f1af967e. [ci skip]
-
由 Zachary Scott 提交于
Thanks for patch @sgrif :trollface: Closes #18216
-
- 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 提交于
-