Forum: Ruby on Rails ActiveRecord find and count uses sql commands

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Eric G. (Guest)
on 2006-12-22 03:06
Im a little confused on this. Does ActiveRecord use the select * and
select count(*) for the find() and count() calls. I was told that
ActiveRecord doesn't use sql by some people. -Aryk
Aaron (Guest)
on 2006-12-22 10:08
(Received via mailing list)
Yes ActiveRecord does use SQL.  Try running this from the command line:

tail -f log/development.log

Then browse around your app and watch the SQL fly.


On Dec 21, 6:06 pm, Aryk G. <removed_email_address@domain.invalid>
This topic is locked and can not be replied to.