Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> ruby >> ruby-globalid
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: ruby-globalid  ]

套件: ruby-globalid (0.4.2+REALLY.0.3.6-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
    Interpreter of object-oriented scripting language Ruby (default version)
    或者 ruby-interpreter
    套件暫時不可用
  • dep: ruby-activesupport (>= 2:4.1.0)
    Support and utility classes used by the Rails 4.1 framework
  • rec: ruby-railties
    tools for creating, working with, and running Rails applications

下載 ruby-globalid

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 10.3 kB48 kB [文件列表]