diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2019-03-06 15:45:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-06 15:45:47 -0500 |
commit | 134eaca7e2f32651eb5bbbcbea8fb990bff22b08 (patch) | |
tree | 979a8473f7b6304bfb9aff5324b9ea85f9d5c94f /guides/source/association_basics.md | |
parent | 71e23d33aef3f69aee742a06d45f456eb35552e3 (diff) | |
parent | d9f1cc05b586f747b679f2aa73b57be364f0fd49 (diff) | |
download | rails-134eaca7e2f32651eb5bbbcbea8fb990bff22b08.tar.gz rails-134eaca7e2f32651eb5bbbcbea8fb990bff22b08.tar.bz2 rails-134eaca7e2f32651eb5bbbcbea8fb990bff22b08.zip |
Merge pull request #35492 from nsuchy/patch-1
Update links and code examples in the guides to use HTTPS
Diffstat (limited to 'guides/source/association_basics.md')
-rw-r--r-- | guides/source/association_basics.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md index 38e46e4bf8..672faad6f1 100644 --- a/guides/source/association_basics.md +++ b/guides/source/association_basics.md @@ -1544,7 +1544,7 @@ The `collection.size` method returns the number of objects in the collection. ##### `collection.find(...)` The `collection.find` method finds objects within the collection. It uses the same syntax and options as -[`ActiveRecord::Base.find`](http://api.rubyonrails.org/classes/ActiveRecord/FinderMethods.html#method-i-find). +[`ActiveRecord::Base.find`](https://api.rubyonrails.org/classes/ActiveRecord/FinderMethods.html#method-i-find). ```ruby @available_book = @author.books.find(1) @@ -1563,7 +1563,7 @@ The `collection.where` method finds objects within the collection based on the c The `collection.exists?` method checks whether an object meeting the supplied conditions exists in the collection. It uses the same syntax and options as -[`ActiveRecord::Base.exists?`](http://api.rubyonrails.org/classes/ActiveRecord/FinderMethods.html#method-i-exists-3F). +[`ActiveRecord::Base.exists?`](https://api.rubyonrails.org/classes/ActiveRecord/FinderMethods.html#method-i-exists-3F). ##### `collection.build(attributes = {}, ...)` @@ -2077,7 +2077,7 @@ The `collection.size` method returns the number of objects in the collection. ##### `collection.find(...)` The `collection.find` method finds objects within the collection. It uses the same syntax and options as -[`ActiveRecord::Base.find`](http://api.rubyonrails.org/classes/ActiveRecord/FinderMethods.html#method-i-find). +[`ActiveRecord::Base.find`](https://api.rubyonrails.org/classes/ActiveRecord/FinderMethods.html#method-i-find). ```ruby @assembly = @part.assemblies.find(1) @@ -2095,7 +2095,7 @@ The `collection.where` method finds objects within the collection based on the c The `collection.exists?` method checks whether an object meeting the supplied conditions exists in the collection. It uses the same syntax and options as -[`ActiveRecord::Base.exists?`](http://api.rubyonrails.org/classes/ActiveRecord/FinderMethods.html#method-i-exists-3F). +[`ActiveRecord::Base.exists?`](https://api.rubyonrails.org/classes/ActiveRecord/FinderMethods.html#method-i-exists-3F). ##### `collection.build(attributes = {})` |