Duplicate AR log messages when in console

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.

does anyone else see duplicate log entries like this?

I’m using rails 4.1.1

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs