I pre-compiled my app to use in production mode. And after that it started to perform every action twice. I am not able to resolve it. My log comes something like this.
Started GET "/assets/lowpro.js?body=1&_=1343203450861" for 127.0.0.1 at Wed > Jul 25 13:34:10 +0530 2012 > Served asset /lowpro.js - 200 OK (2ms) > > > Started GET "/assets/lowpro.js?body=1&_=1343203450915" for 127.0.0.1 at > Wed Jul 25 13:34:10 +0530 2012 > Served asset /lowpro.js - 200 OK (0ms) > > > Started GET "/contacts" for 127.0.0.1 at Wed Jul 25 13:34:32 +0530 2012 > Processing by ContactsController#index as JS > User Load (0.2ms) SELECT "users".* FROM "users" WHERE (username > ='sumit') LIMIT 1 > Redirected to http://localhost:3000/logout > Filter chain halted as :deny_multiple_login rendered or redirected > Completed 302 Found in 2ms (ActiveRecord: 0.2ms) > > > Started GET "/contacts" for 127.0.0.1 at Wed Jul 25 13:34:32 +0530 2012 > Processing by ContactsController#index as JS > User Load (0.2ms) SELECT "users".* FROM "users" WHERE (username > ='sumit') LIMIT 1 > Redirected to http://localhost:3000/logout > Filter chain halted as :deny_multiple_login rendered or redirected > Completed 302 Found in 2ms (ActiveRecord: 0.2ms) > > > Started GET "/logout" for 127.0.0.1 at Wed Jul 25 13:34:33 +0530 2012 > Processing by UserController#logout as JS > Redirected to http://localhost:3000/ > Completed 302 Found in 1ms (ActiveRecord: 0.0ms) > > > Started GET "/logout" for 127.0.0.1 at Wed Jul 25 13:34:33 +0530 2012 > Processing by UserController#logout as JS > Redirected to http://localhost:3000/ > Completed 302 Found in 2ms (ActiveRecord: 0.0ms) > > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/93VAiSpRr3EJ. For more options, visit https://groups.google.com/groups/opt_out.