lib/mongoid/token.rb in mongoid_token-2.1.0 vs lib/mongoid/token.rb in mongoid_token-2.1.1

- old
+ new

@@ -52,10 +52,10 @@ end end def override_to_param(options) self.send(:define_method, :to_param) do - self.send(options.field_name) || super(*args) + self.send(options.field_name) || super() end end end protected