Sha256: d84fef11f9b7c2d829843714b52713bd3813da31be9e8900dcdc08669e2ddd34
Contents?: true
Size: 520 Bytes
Versions: 14
Compression:
Stored size: 520 Bytes
Contents
require 'data/viewable' require 'data/billable' require 'data/addressable' require 'data/rating' class User include DataMapper::Resource property :id, Serial property :first_name, String, :required => true, :length=> 2..50 property :last_name, String, :required => true, :length => 2..50 remix n, :viewables remix n, :billables, :model => "Account" remix n, :addressables remix n, :commentables, :as => "comments", :for => "User", :via => "commentor" remix n, "My::Nested::Remixable::Rating" end
Version data entries
14 entries across 14 versions & 1 rubygems