mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix missing inheritance from AR::Base in docs
This commit is contained in:
parent
0b2412978f
commit
55105c4318
1 changed files with 1 additions and 1 deletions
|
@ -540,7 +540,7 @@ module ActiveRecord #:nodoc:
|
||||||
#
|
#
|
||||||
# ==== Example
|
# ==== Example
|
||||||
# # Serialize a preferences attribute
|
# # Serialize a preferences attribute
|
||||||
# class User
|
# class User < ActiveRecord::Base
|
||||||
# serialize :preferences
|
# serialize :preferences
|
||||||
# end
|
# end
|
||||||
def serialize(attr_name, class_name = Object)
|
def serialize(attr_name, class_name = Object)
|
||||||
|
|
Loading…
Reference in a new issue