mysql - Bullet gem not logging from Rails console -
i trying use bullet gem profile mysql queries. in config/environments/development.rb, enable it:
config.after_initialize bullet.enable = true bullet.bullet_logger = true bullet.rails_logger = true bullet.raise = true end
i run simple import command console:
item.import_file "import/file1.txt"
log/bullet.log empty. see of mysql queries go in console, no output. bullet work in rails console? if so, idea i'm doing wrong?
thanks, kevin
Comments
Post a Comment