# Can't get value params\[:model\] first request?

**URL:** <https://www.ruby-forum.com/t/cant-get-value-params-model-first-request/172364>\
**Category:** Mongrel\
**Created:** [July 20, 2009, 9:47am UTC](https://www.ruby-forum.com/t/cant-get-value-params-model-first-request/172364 "2009-07-20T09:47:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![samnang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c4cdca/32.png) [@samnang](https://www.ruby-forum.com/u/samnang)\
**Post date:** [July 20, 2009, 9:47am UTC](https://www.ruby-forum.com/t/cant-get-value-params-model-first-request/172364/1 "2009-07-20T09:47:19Z")

</div>

I get nil from params[:model] in create action of my controller for the  
first request when I start my mongrel server by using mongrel\_rails  
start. After that for second and third time are ok. In addition, if I  
start my Mongrel by using script/server, it doesn’t have any problems at  
all. It is different by starting mongrel server between script/server  
and mongrel\_rails start? Have you ever faced this problem?
