ActiveResource logging tip

If you're developing using ActiveResource, you should to add this line to your environment.rb:
ActiveResource::Base.logger = ActiveRecord::Base.logger
That will write all your resource requests to the log as well, a useful thing.
Post a Comment