diff options
author | Nathaniel Suchy <me@lunorian.is> | 2019-03-05 22:00:45 -0500 |
---|---|---|
committer | Nathaniel Suchy <me@lunorian.is> | 2019-03-06 15:21:07 -0500 |
commit | d9f1cc05b586f747b679f2aa73b57be364f0fd49 (patch) | |
tree | dc1210aabd2b3ca162483cd513a34bcaf301050e /guides/source/active_record_basics.md | |
parent | b366be3b5b28f01c8a55d67a5161ec36f53d555c (diff) | |
download | rails-d9f1cc05b586f747b679f2aa73b57be364f0fd49.tar.gz rails-d9f1cc05b586f747b679f2aa73b57be364f0fd49.tar.bz2 rails-d9f1cc05b586f747b679f2aa73b57be364f0fd49.zip |
Update links and code examples in the guides to use HTTPS where the host supports it.
Diffstat (limited to 'guides/source/active_record_basics.md')
-rw-r--r-- | guides/source/active_record_basics.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/active_record_basics.md b/guides/source/active_record_basics.md index 5c1de97aa8..7f17b19a13 100644 --- a/guides/source/active_record_basics.md +++ b/guides/source/active_record_basics.md @@ -29,7 +29,7 @@ Object Relational Mapping system. ### The Active Record Pattern -[Active Record was described by Martin Fowler](http://www.martinfowler.com/eaaCatalog/activeRecord.html) +[Active Record was described by Martin Fowler](https://www.martinfowler.com/eaaCatalog/activeRecord.html) in his book _Patterns of Enterprise Application Architecture_. In Active Record, objects carry both persistent data and behavior which operates on that data. Active Record takes the opinion that ensuring @@ -117,10 +117,10 @@ to Active Record instances: * `updated_at` - Automatically gets set to the current date and time whenever the record is created or updated. * `lock_version` - Adds [optimistic - locking](http://api.rubyonrails.org/classes/ActiveRecord/Locking.html) to + locking](https://api.rubyonrails.org/classes/ActiveRecord/Locking.html) to a model. * `type` - Specifies that the model uses [Single Table - Inheritance](http://api.rubyonrails.org/classes/ActiveRecord/Base.html#class-ActiveRecord::Base-label-Single+table+inheritance). + Inheritance](https://api.rubyonrails.org/classes/ActiveRecord/Base.html#class-ActiveRecord::Base-label-Single+table+inheritance). * `(association_name)_type` - Stores the type for [polymorphic associations](association_basics.html#polymorphic-associations). * `(table_name)_count` - Used to cache the number of belonging objects on |