test/foo.rb in simplificator-has_setting-0.1.2 vs test/foo.rb in simplificator-has_setting-0.2.0
- old
+ new
@@ -1,4 +1,5 @@
class Foo < ActiveRecord::Base
has_setting(:setting_1)
has_setting(:setting_2, :type => :float)
+ has_setting(:with_default, :default => 'def')
end
\ No newline at end of file