1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #41023 from kuldeepaggarwal/patch-1

[ci skip]Inherit from correct base class in docs
This commit is contained in:
Ryuta Kamizono 2021-01-06 06:22:33 +09:00 committed by GitHub
commit a62a1185b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ module ActiveRecord
# class Money < Struct.new(:amount, :currency) # class Money < Struct.new(:amount, :currency)
# end # end
# #
# class MoneyType < Type::Value # class MoneyType < ActiveRecord::Type::Value
# def initialize(currency_converter:) # def initialize(currency_converter:)
# @currency_converter = currency_converter # @currency_converter = currency_converter
# end # end