Class: Jabe::Settings

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/jabe/settings.rb

Instance Method Summary collapse

Instance Method Details

#do_updatesObject



3
4
5
6
7
8
# File 'app/models/jabe/settings.rb', line 3

def do_updates
  Time.zone = self.time_zone
  ActionMailer::Base.default_url_options[:host] = self.host_name
  Rakismet.key = self.akismet_key rescue nil
  Rakismet.url = self.akismet_url rescue nil
end