[ 源代码: ruby-globalid ]
软件包:ruby-globalid(1.2.1-1)
reference models by URI for Ruby on Rails
A Global ID is an app wide URI of the form gid://YourApp/Some::Model/id that uniquely identifies a model instance.
This is helpful when you need a single identifier to reference different classes of objects, for example in job scheduling, when one needs to reference a model object rather than serialize the object itself. Another example is a drop-down list of options, consisting of both Users and Groups. One has then a universal identifier that works for objects of both classes.
This package is part of the dependencies for the Ruby on Rails framework.
其他与 ruby-globalid 有关的软件包
|
|
|
|
-
- dep: ruby-activesupport (>= 2:6.1)
- collection of utility classes used by the Rails framework
-
- rec: ruby-railties
- tools for creating, working with, and running Rails applications