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)