Sha256: adc0806765e081885a7d4b38006ac9e1915eba9de7f2b9b7d7b547179ac5dfd5

Contents?: true

Size: 155 Bytes

Versions: 9

Compression:

Stored size: 155 Bytes

Contents

class Asset < ActiveRecord::Base
  include Sunrise::Models::Asset
  
  attr_accessible :data
	
	default_scope order("#{quoted_table_name}.sort_order")
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
sunrise-widgets-0.1.1 spec/dummy/app/models/defaults/asset.rb
sunrise-widgets-0.1.0 spec/dummy/app/models/defaults/asset.rb
sunrise-questions-0.1.0 spec/dummy/app/models/defaults/asset.rb
sunrise-core-0.1.5 lib/generators/sunrise/templates/models/defaults/asset.rb
sunrise-core-0.1.4 lib/generators/sunrise/templates/models/defaults/asset.rb
sunrise-core-0.1.3 lib/generators/sunrise/templates/models/defaults/asset.rb
sunrise-core-0.1.2 lib/generators/sunrise/templates/models/defaults/asset.rb
sunrise-core-0.1.1 lib/generators/sunrise/templates/models/defaults/asset.rb
sunrise-core-0.1.0 lib/generators/sunrise/templates/models/defaults/asset.rb