class method
self.parse_allowed
Ruby on Rails 1.0.1
Last seen in v1.3.0 PrivateSignature
self.parse_allowed(gids, only = nil)
No documentation comment.
Parameters
-
gidsreq -
onlyopt = nil
Source
# File lib/global_id/locator.rb, line 116
def parse_allowed(gids, only = nil)
gids.collect { |gid| GlobalID.parse(gid) }.compact.select { |gid| find_allowed?(gid.model_class, only) }
end
Defined in lib/global_id/locator.rb line 116
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in GlobalID::Locator