Yes, I see one in cyan and another in magenta. Been happening for a while, but there was always some other problem snatching priority away from my investigation.
On 07/03/2014 05:38 PM, S Ahmed wrote: > does anyone else see duplicate log entries like this? > > I'm using rails 4.1.1 > > > On Wed, Jul 2, 2014 at 12:22 PM, S Ahmed <sahmed1...@gmail.com > <mailto:sahmed1...@gmail.com>> wrote: > > Hi, > > I'm using 4.1.1 > > When in console, whenever I make a AR query I see the same log > message 2 times > > e.g. > > Loading development environment (Rails 4.1.1) > > 2.1.1 :001 > Category.find(2) > > *Category Load (0.9ms)* *SELECT "categories".* FROM > "categories" WHERE "categories"."id" = $1 LIMIT 1* [["id", 2]] > > *Category Load (0.9ms)* *SELECT "categories".* FROM > "categories" WHERE "categories"."id" = $1 LIMIT 1* [["id", 2]] > > > Why is that? At first I thought my associations where messing > things up but this happens for empty models (no associates just a > plain old model) also. > > > -- > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to rubyonrails-talk+unsubscr...@googlegroups.com > <mailto:rubyonrails-talk+unsubscr...@googlegroups.com>. > To post to this group, send email to rubyonrails-talk@googlegroups.com > <mailto:rubyonrails-talk@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/CAG2rwuPPED-W3xMZs%3DVoHRHYdjvVp8JffZA7pTZSAfndyONqXg%40mail.gmail.com > <https://groups.google.com/d/msgid/rubyonrails-talk/CAG2rwuPPED-W3xMZs%3DVoHRHYdjvVp8JffZA7pTZSAfndyONqXg%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature