ActiveRecord find and count uses sql commands


#1

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


#2

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.

Aaron

On Dec 21, 6:06 pm, Aryk G. removed_email_address@domain.invalid