im using this jquery post

```
 navigator.geolocation.getCurrentPosition(function(position){
        $.post('/marketplace',{latitude: position.coords.latitude, longitude: position.coords.longitude})
      });

```

routes:

```
post '/marketplace' => 'pages#marketplace'

```

in controller `Rails.logger.debug('Jquery.POST' + params.inspect)` print in the console following

```
Started POST "/marketplace" for 127.0.0.1 at 2011-05-20 13:23:16 +0300
  Processing by PagesController#marketplace as 
  Parameters: {"latitude"=>"44.508851", "longitude"=>"33.600509"}
Jquery.POST{"latitude"=>"44.508851", "longitude"=>"33.600509", "controller"=>"pages", "action"=>"marketplace"}

```

Also firebug says that latitude 44.508851 and longitude 33.600509 successfully sent.
But in the view i dont have my post data, `= params.inspect`

```
{"action"=>"marketplace", "controller"=>"pages"}

```

How to access my jquery post data in the controller?

\*Update

```
@lat = request.params[:latitude]
@long = request.params[:longitude]

```

both nil in the view :(