Skip to content

Commit

Permalink
Merge pull request #418 from Shopify/fix_warn
Browse files Browse the repository at this point in the history
Fix method redefinition error on IdentityCache::Cached::Attribute#attribute
  • Loading branch information
gmcgibbon authored Dec 10, 2019
2 parents 9786605 + 8354c9d commit 2eaeb5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/identity_cache/cached/attribute.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module IdentityCache
module Cached
class Attribute
attr_reader :model, :attribute, :alias_name, :key_fields, :unique
attr_reader :model, :alias_name, :key_fields, :unique

def initialize(model, attribute_or_proc, alias_name, key_fields, unique)
@model = model
Expand Down

0 comments on commit 2eaeb5c

Please sign in to comment.