I'm trying to add a string to the user model under a location column, based on the user's location. I have everything setup to the point that I know the value of @city+@state is added to the appropriate column in the correct model. The problem is, it appears that request.location.city and request.location.state function properly in the controller and views, but not in the model.

```
def add_location
      @city = request.location.city
      @state = request.location.state
      @location = @city+@state
      self.location = @location
    end

```

When a user is created, rather than creating a string such as "losangelescalifornia", nothing is created. When I define @city = "bob" and @state = "cat", all users created have "bobcat" in the appropriate place. I know then that everything is functioning except these geolocation based methods. So my question is, how would I get these methods (correct me please if that is not what they are) to function in the model, being request.location.city and request.location.state? Many thanks in advance :)