mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix small markup error; fix incorrect link
This commit is contained in:
parent
bdac19e6c8
commit
729890469d
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ Model solves this by defining an explicit API. You can read more about the
|
|||
API in ActiveModel::Lint::Tests.
|
||||
|
||||
Active Model provides a default module that implements the basic API required
|
||||
to integrate with Action Pack out of the box: +ActiveModel::Model+.
|
||||
to integrate with Action Pack out of the box: <tt>ActiveModel::Model</tt>.
|
||||
|
||||
class Person
|
||||
include ActiveModel::Model
|
||||
|
@ -71,7 +71,7 @@ behavior out of the box:
|
|||
This generates +before_create+, +around_create+ and +after_create+
|
||||
class methods that wrap your create method.
|
||||
|
||||
{Learn more}[link:classes/ActiveModel/CallBacks.html]
|
||||
{Learn more}[link:classes/ActiveModel/Callbacks.html]
|
||||
|
||||
* Tracking value changes
|
||||
|
||||
|
|
Loading…
Reference in a new issue