lib/locomotive/steam/models/i18n_field.rb in locomotivecms_steam-1.3.0.rc1 vs lib/locomotive/steam/models/i18n_field.rb in locomotivecms_steam-1.3.0.rc2

- old
+ new

@@ -38,10 +38,11 @@ def each(&block) @translations.each(&block) end def blank? - @translations.blank? && @translations[:anything].blank? + @translations.blank? || + @translations.values.all? { |v| v.blank? } end def apply(&block) if default @translations = Hash.new(yield(default))