Skip to content

Commit

Permalink
obey storemodel rubocop rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Varabyou committed Nov 21, 2024
1 parent fb77aef commit 4d5b6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/store_model/nested_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def store_model_attribute_types
end

# add storemodel type of attribute if it is storemodel type
def attribute(name, type=nil, **)
def attribute(name, type = nil, **)
store_model_attribute_types[name.to_s] = type if type.is_a?(Types::Base)
super
end
Expand Down

0 comments on commit 4d5b6ff

Please sign in to comment.