提交 737edd22 编写于 作者: V Vipul A M

fix typos

上级 7004f100
...@@ -83,7 +83,7 @@ module ActiveRecord ...@@ -83,7 +83,7 @@ module ActiveRecord
# #
# In that case, <tt>Reply#destroy</tt> would only run +destroy_readers+ and _not_ +destroy_author+. # In that case, <tt>Reply#destroy</tt> would only run +destroy_readers+ and _not_ +destroy_author+.
# So, use the callback macros when you want to ensure that a certain callback is called for the entire # So, use the callback macros when you want to ensure that a certain callback is called for the entire
# hierarchy, and use the regular overwriteable methods when you want to leave it up to each descendant # hierarchy, and use the regular overwritable methods when you want to leave it up to each descendant
# to decide whether they want to call +super+ and trigger the inherited callbacks. # to decide whether they want to call +super+ and trigger the inherited callbacks.
# #
# *IMPORTANT:* In order for inheritance to work for the callback queues, you must specify the # *IMPORTANT:* In order for inheritance to work for the callback queues, you must specify the
......
...@@ -383,7 +383,7 @@ def type_cast(value) ...@@ -383,7 +383,7 @@ def type_cast(value)
TYPES = {} TYPES = {}
# Register an MySQL +type_id+ with a typcasting object in # Register an MySQL +type_id+ with a typecasting object in
# +type+. # +type+.
def self.register_type(type_id, type) def self.register_type(type_id, type)
TYPES[type_id] = type TYPES[type_id] = type
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册