If that (and everything else) fails, I could try to help you debug it in a
google chat, skype or whatever, cause I got some free time on my hands, and
debugging is fun :)

As people mentioned, you got to provide more info/code and whatnot, it's
just hardly doable with an answer every hour ;)

2012/7/25 Ace Suares <acesua...@gmail.com>

>
> I once experienced this kind of problem. This only happend with the create
> controller in my case. So every new record I created got created twice. I
> debugged step by step for hours but couldn't find the problem. I think I
> just moved on to a newer Rails, or newer gems of this or that, and it went
> away. I was extremely puzzeld, because even with the step by step debugging
> I failed to see where the second request got intitiated.
>
> I hope you solve it.
>
> Cheers
> ace
>
>
>
>
> On Wednesday, July 25, 2012 4:09:10 AM UTC-4, Sumit Srivastava wrote:
>>
>> 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/-/lcMvMkILCbUJ.
>
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to