Sha256: 09d70ec0320622e698b56359881fa7b1f41a5b73a578f967a5be99894415f4fa

Contents?: true

Size: 342 Bytes

Versions: 1

Compression:

Stored size: 342 Bytes

Contents

require 'og'

module Basic
    # A sample application object, just to illustrate.
    class Site
        property :url, String, :sql => "varchar(255) not null unique",
            :unique => true
        property :title, String, :sql => "varchar(255) not null unique",
            :unique => true

        belongs_to :owner, User
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-auth-0.2.0 examples/basic/src/basic/site.rb