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 <sahmed1020@gmail.com> wrote:
Hi,
I'm using 4.1.1When in console, whenever I make a AR query I see the same log message 2 timese.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+unsubscribe@googlegroups.com.
To post to this group, send email to 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.
For more options, visit https://groups.google.com/d/optout.