Class: GlobalID::Locator::UnscopedLocator

Inherits:
BaseLocator
  • Object
show all
Defined in:
lib/global_id/locator.rb

Instance Method Summary collapse

Methods inherited from BaseLocator

#locate_many

Instance Method Details

#locate(gid, options = {}) ⇒ Object



209
210
211
# File 'lib/global_id/locator.rb', line 209

def locate(gid, options = {})
  unscoped(gid.model_class) { super }
end