We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1492e83 + 2abde96 commit d7dad95Copy full SHA for d7dad95
activerecord/lib/active_record/attributes.rb
@@ -147,7 +147,7 @@ module ClassMethods
147
# # +type_cast_from_user+. Assumed to be in instance of +Money+ in
148
# # this case.
149
# def type_cast_for_database(value)
150
- # value_in_bitcoins = currency_converter.convert_to_bitcoins(value)
+ # value_in_bitcoins = @currency_converter.convert_to_bitcoins(value)
151
# value_in_bitcoins.amount
152
# end
153
0 commit comments