1
0
Fork 0
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:
Josep M. Bach 2011-02-24 10:00:09 +01:00
parent 0b2412978f
commit 55105c4318

View file

@ -540,7 +540,7 @@ module ActiveRecord #:nodoc:
#
# ==== Example
# # Serialize a preferences attribute
# class User
# class User < ActiveRecord::Base
# serialize :preferences
# end
def serialize(attr_name, class_name = Object)