I´m newbie in RoR and I would like to know how I can do two things in Rails (both versions 2 and 3):
How I can see all queries generated to database (save, update, find, etc.) in the console of the server?
How I can see all the classes and methods of gems included in my Gemfile?
For example how I can see classes and methods of CanCan, Devise and so on.
gem "devise" gem "cancan" gem "rolify" gem "sass-rails"
And so on...
Sorry for my english and thank in advance!!