test/foo.rb in simplificator-has_setting-0.4.1 vs test/foo.rb in simplificator-has_setting-0.4.2
- old
+ new
@@ -1,5 +1,8 @@
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
\ No newline at end of file