Class: Refinery::Contacts::Mail

Inherits:
Refinery::Core::BaseModel
  • Object
show all
Defined in:
app/models/refinery/contacts/mail.rb

Class Method Summary collapse

Class Method Details

.obfuscatedObject



9
10
11
12
13
# File 'app/models/refinery/contacts/mail.rb', line 9

def self.obfuscated
  self.all.each do |m|
    m.mail = self.to_decimal_entities(m.mail).html_safe
  end
end