@@ -34,7 +34,7 @@ A short rundown of some of the major features:
34
34
This would also define the following accessors: <tt>Product#name</tt> and
35
35
<tt>Product#name=(new_name)</tt>.
36
36
37
- {Learn more}[link: classes/ActiveRecord/Base.html]
37
+ {Learn more}[https://api.rubyonrails.org/ classes/ActiveRecord/Base.html]
38
38
39
39
* Associations between objects defined by simple class methods.
40
40
@@ -44,7 +44,7 @@ A short rundown of some of the major features:
44
44
belongs_to :conglomerate
45
45
end
46
46
47
- {Learn more}[link: classes/ActiveRecord/Associations/ClassMethods.html]
47
+ {Learn more}[https://api.rubyonrails.org/ classes/ActiveRecord/Associations/ClassMethods.html]
48
48
49
49
50
50
* Aggregations of value objects.
@@ -56,7 +56,7 @@ A short rundown of some of the major features:
56
56
mapping: [%w(address_street street), %w(address_city city)]
57
57
end
58
58
59
- {Learn more}[link: classes/ActiveRecord/Aggregations/ClassMethods.html]
59
+ {Learn more}[https://api.rubyonrails.org/ classes/ActiveRecord/Aggregations/ClassMethods.html]
60
60
61
61
62
62
* Validation rules that can differ for new or existing objects.
@@ -68,7 +68,7 @@ A short rundown of some of the major features:
68
68
validates :password, :email_address, confirmation: true, on: :create
69
69
end
70
70
71
- {Learn more}[link: classes/ActiveRecord/Validations.html]
71
+ {Learn more}[https://api.rubyonrails.org/ classes/ActiveRecord/Validations.html]
72
72
73
73
74
74
* Callbacks available for the entire life cycle (instantiation, saving, destroying, validating, etc.).
@@ -78,7 +78,7 @@ A short rundown of some of the major features:
78
78
# the `invalidate_payment_plan` method gets called just before Person#destroy
79
79
end
80
80
81
- {Learn more}[link: classes/ActiveRecord/Callbacks.html]
81
+ {Learn more}[https://api.rubyonrails.org/ classes/ActiveRecord/Callbacks.html]
82
82
83
83
84
84
* Inheritance hierarchies.
@@ -88,7 +88,7 @@ A short rundown of some of the major features:
88
88
class Client < Company; end
89
89
class PriorityClient < Client; end
90
90
91
- {Learn more}[link: classes/ActiveRecord/Base.html]
91
+ {Learn more}[https://api.rubyonrails.org/ classes/ActiveRecord/Base.html]
92
92
93
93
94
94
* Transactions.
@@ -99,7 +99,7 @@ A short rundown of some of the major features:
99
99
mary.deposit(100)
100
100
end
101
101
102
- {Learn more}[link: classes/ActiveRecord/Transactions/ClassMethods.html]
102
+ {Learn more}[https://api.rubyonrails.org/ classes/ActiveRecord/Transactions/ClassMethods.html]
103
103
104
104
105
105
* Reflections on columns, associations, and aggregations.
@@ -108,7 +108,7 @@ A short rundown of some of the major features:
108
108
reflection.klass # => Client (class)
109
109
Firm.columns # Returns an array of column descriptors for the firms table
110
110
111
- {Learn more}[link: classes/ActiveRecord/Reflection/ClassMethods.html]
111
+ {Learn more}[https://api.rubyonrails.org/ classes/ActiveRecord/Reflection/ClassMethods.html]
112
112
113
113
114
114
* Database abstraction through simple adapters.
@@ -125,10 +125,10 @@ A short rundown of some of the major features:
125
125
database: 'activerecord'
126
126
)
127
127
128
- {Learn more}[link: classes/ActiveRecord/Base.html] and read about the built-in support for
129
- MySQL[link: classes/ActiveRecord/ConnectionAdapters/Mysql2Adapter.html],
130
- PostgreSQL[link: classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html], and
131
- SQLite3[link: classes/ActiveRecord/ConnectionAdapters/SQLite3Adapter.html].
128
+ {Learn more}[https://api.rubyonrails.org/ classes/ActiveRecord/Base.html] and read about the built-in support for
129
+ MySQL[https://api.rubyonrails.org/ classes/ActiveRecord/ConnectionAdapters/Mysql2Adapter.html],
130
+ PostgreSQL[https://api.rubyonrails.org/ classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html], and
131
+ SQLite3[https://api.rubyonrails.org/ classes/ActiveRecord/ConnectionAdapters/SQLite3Adapter.html].
132
132
133
133
134
134
* Logging support for Log4r[https://github.com/colbygk/log4r] and Logger[https://ruby-doc.org/stdlib/libdoc/logger/rdoc/].
@@ -157,7 +157,7 @@ A short rundown of some of the major features:
157
157
end
158
158
end
159
159
160
- {Learn more}[link: classes/ActiveRecord/Migration.html]
160
+ {Learn more}[https://api.rubyonrails.org/v6.1.0/ classes/ActiveRecord/Migration.html]
161
161
162
162
163
163
== Philosophy
0 commit comments