18 19 20
# File 'app/models/snippet.rb', line 18 def after_initialize self.filter_id ||= TrustyCms::Config['defaults.snippet.filter'] if new_record? end