ActiveRecord find and count uses sql commands


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


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