Skip to content

Commit

Permalink
Fix missing inheritance from AR::Base in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Josep M. Bach committed Feb 24, 2011
1 parent 0b24129 commit 55105c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/base.rb
Expand Up @@ -540,7 +540,7 @@ def readonly_attributes
#
# ==== Example
# # Serialize a preferences attribute
# class User
# class User < ActiveRecord::Base
# serialize :preferences
# end
def serialize(attr_name, class_name = Object)
Expand Down

0 comments on commit 55105c4

Please sign in to comment.