Sha256: 273e54fd8450379ad433d1537e777e34bb2f8bd30a683431aab65548f0b3cad3

Contents?: true

Size: 122 Bytes

Versions: 9

Compression:

Stored size: 122 Bytes

Contents

class Banner < ActiveRecord::Base
  dragonfly_accessor :image
  validates_presence_of :url
  belongs_to :banner_group
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
releaf-core-1.1.6 lib/generators/dummy/templates/models/banner.rb
releaf-core-1.1.5 lib/generators/dummy/templates/models/banner.rb
releaf-core-1.1.4 lib/generators/dummy/templates/models/banner.rb
releaf-core-1.1.3 lib/generators/dummy/templates/models/banner.rb
releaf-core-1.1.2 lib/generators/dummy/templates/models/banner.rb
releaf-core-1.1.1 lib/generators/dummy/templates/models/banner.rb
releaf-core-1.1.0 lib/generators/dummy/templates/models/banner.rb
releaf-core-1.0.10 lib/generators/dummy/templates/models/banner.rb
releaf-core-1.0.9 lib/generators/dummy/templates/models/banner.rb