Method: FeatureSetting::FsFeature.remove_old_features!

Defined in:
lib/feature_setting/orm/active_record/fs_feature.rb

.remove_old_features!Object



76
77
78
# File 'lib/feature_setting/orm/active_record/fs_feature.rb', line 76

def remove_old_features!
  self.where(key: all_stored_features - defined_features).destroy_all
end