mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix missing inheritance from AR::Base in docs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user