app/services/clean.rb
def clean_metadata(metadata)
        Cleaner.new(scope).clean(metadata) do |m|
          m.periodes = Range.remove(m.periodes, period)
        end
      end
# Remove the period from the given metadata (after scope restriction)
Remove the period from the given metadata (after scope restriction)
Remove the period from the given metadata ( after scope restriction )
def clean_metadata(metadata)
        Cleaner.new(scope).clean(metadata) do |m|
          m.periodes = Range.remove(m.periodes, period)
        end
      end
def clean_metadata ( metadata ) Cleaner . new ( scope ) . clean ( metadata ) do | m | m . periodes = Range . remove ( m . periodes , period ) end end
Remove the period from the given metadata (after scope restriction)
Remove the period from the given metadata ( after scope restriction )
metadata