Just guessing, It may be due to the fact that rails loads its code incrementally. You may load all the models in config/environment by setting eager_load_paths
As I said, this is just a guess and could be wrong. Piyush On Mon, Jul 20, 2009 at 1:17 PM, Samnang Chhun <li...@ruby-forum.com> wrote: > 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? > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Mongrel-users mailing list > Mongrel-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >
_______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users