Sha256: 7e438e43b620db85d66299d274e06acd5fea791d1dcc1879e3afe01d838acc84

Contents?: true

Size: 337 Bytes

Versions: 24

Compression:

Stored size: 337 Bytes

Contents

module Rearview
  class Dashboard < ActiveRecord::Base
    self.table_name='applications'
    attr_accessible :created, :deleted_at, :name, :user, :user_id, :modified,:description
    belongs_to :user
    has_many :jobs, dependent: :destroy, foreign_key: :app_id

    has_ancestry
    validates :name, :user_id, presence: true
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
rearview-1.2.3-jruby app/models/rearview/dashboard.rb
rearview-1.2.2.rc.2-jruby app/models/rearview/dashboard.rb
rearview-1.2.2.rc.1-jruby app/models/rearview/dashboard.rb
rearview-1.2.1-jruby app/models/rearview/dashboard.rb
rearview-1.2.0-jruby app/models/rearview/dashboard.rb
rearview-1.1.2-jruby app/models/rearview/dashboard.rb
rearview-1.1.1-jruby app/models/rearview/dashboard.rb
rearview-1.1.0-jruby app/models/rearview/dashboard.rb
rearview-1.0.3.rc.4-jruby app/models/rearview/dashboard.rb
rearview-1.0.3.rc.3-jruby app/models/rearview/dashboard.rb
rearview-1.0.3.rc.2-jruby app/models/rearview/dashboard.rb
rearview-1.0.3.rc.1-jruby app/models/rearview/dashboard.rb
rearview-1.0.2-jruby app/models/rearview/dashboard.rb
rearview-1.0.2.rc.4-jruby app/models/rearview/dashboard.rb
rearview-1.0.2.rc.3-jruby app/models/rearview/dashboard.rb
rearview-1.0.2.rc.2-jruby app/models/rearview/dashboard.rb
rearview-1.0.2.rc.1-jruby app/models/rearview/dashboard.rb
rearview-1.0.1-jruby app/models/rearview/dashboard.rb
rearview-1.0.0-jruby app/models/rearview/dashboard.rb
rearview-1.0.0.rc5-jruby app/models/rearview/dashboard.rb