how to get query which was created by Rails Model.

In logs/development.log if you are in development environment, production.log if you are in production.

-Bill

Pokkai Dokkai wrote:

check out the query_trace plugin, it logs where in the application a query was generated.