Reputation: 744
Every request on my rails 4 app is being called twice, so I removed all java scripts and but that didn't work. Please see the below result code time within 5 millisecond two calls.
Development and production env both are getting same result.
Result One:
Started GET "/" for 127.0.0.1 at 2015-04-16 20:45:51 +0530
Processing by PagesController#landing as HTML ....
Started GET "/" for 127.0.0.1 at 2015-04-16 20:45:55 +0530
Processing by PagesController#landing as HTML ....
Result two:
Started GET "/haggles/new" for 127.0.0.1 at 2015-04-16 21:06:51 +0530
Processing by HagglesController#new as HTML....
Started GET "/haggles/new" for 127.0.0.1 at 2015-04-16 21:06:53 +0530
Processing by HagglesController#new as HTML...
Upvotes: 0
Views: 598
Reputation: 11570
Because of the different timestamps, I think we can rule out duplicate logging and treat it as duplicate requests. The only time I've seen something like that happen is when you have something along the lines of
<img src="#" alt="">
within your view. Since you're seeing this in multiple views, it may be within your layout.
Upvotes: 2