Changed HSWeight::Application to Rails.application