class method self.parse_allowed

Ruby on Rails 1.2.1

Last seen in v1.3.0 Private

Available in: v1.0.1 v1.1.0 v1.2.1 v1.3.0

Signature

self.parse_allowed(gids, only = nil)

No documentation comment.

Parameters

gids req
only opt = nil
Source
# File lib/global_id/locator.rb, line 144
        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 144 · View on GitHub · Improve this page · Find usages on GitHub

Defined in GlobalID::Locator

Type at least 2 characters to search.

↑↓ navigate · open · esc close