Skip to content

Commit 4c5d1bd

Browse files
author
Kyle d'Oliveira
committed
Need to also pass the options through
1 parent 05fd05f commit 4c5d1bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/polymorphic_integer_type/extensions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def has_many(name, options = {}, &extension)
5656

5757
def has_one(name, options = {})
5858
remove_type_and_establish_mapping(name, options)
59-
super(name, options.delete(:lambda))
59+
super(name, options.delete(:lambda), options)
6060
end
6161

6262

0 commit comments

Comments
 (0)