Sha256: d5bd4ceb5a76a9842332e6e5e9195f6b0a4d80716f726ea8c8ab89f975e991d3

Contents?: true

Size: 263 Bytes

Versions: 15

Compression:

Stored size: 263 Bytes

Contents

class Foo < ActiveRecord::Base
  has_setting(:setting_1)
  has_setting(:setting_2, :type => :float)
  has_setting(:with_default, :default => 'def')
  
  has_setting(:setting_3, :type => :boolean)
  has_setting(:setting_4, :type => :boolean, :default => false)
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
has_setting-1.0.3 test/foo.rb
has_setting-1.0.2 test/foo.rb
has_setting-1.0.1 test/foo.rb
has_setting-1.0.0 test/foo.rb
has_setting-0.7.4 test/foo.rb
simplificator-has_setting-0.4.2 test/foo.rb
simplificator-has_setting-0.4.3 test/foo.rb
has_setting-0.7.3 test/foo.rb
has_setting-0.7.2 test/foo.rb
has_setting-0.7.1 test/foo.rb
has_setting-0.7 test/foo.rb
has_setting-0.6 test/foo.rb
has_setting-0.55 test/foo.rb
has_setting-0.5 test/foo.rb
has_setting-0.4.6 test/foo.rb