added location.rb in app/models/