Skip to content

Commit

Permalink
Fix rubocop issues
Browse files Browse the repository at this point in the history
Fix rubocop issues
  • Loading branch information
Ladas committed Jul 20, 2017
1 parent 6f261c4 commit f805115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/manager_refresh/inventory_collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def initialize(model_class: nil, manager_ref: nil, association: nil, parent: nil
@dependency_attributes = dependency_attributes || {}
@data = data || []
@data_index = data_index || {}
@secondary_indexes = secondary_refs.map {|name, keys| [name, {}]}.to_h
@secondary_indexes = secondary_refs.map { |n, _k| [n, {}] }.to_h
@saved = saved || false
@strategy = process_strategy(strategy)
@delete_method = delete_method || :destroy
Expand Down

0 comments on commit f805115

Please sign in to comment.