Skip to content

glyph-fr/quiet_assets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quiet Assets

Continuous Integration status

Quiet Assets turns off the Rails asset pipeline log. This means that it suppresses messages in your development log such as:

Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-02-13 13:24:04 +0400
Served asset /application.js - 304 Not Modified (8ms)

Support Ruby on Rails >= 3.1

Installation

It is recommended that this gem only be used for development. To install, add this line to development group in your Gemfile:

gem 'quiet_assets', group: :development

Then, from the command line, run:

$ bundle

Usage

Simply installing Quiet Assets will suppress the log messages automatically. However, if you wish to temporarily re-enable the logging of the asset pipeline messages, place the following in your config/application.rb file:

config.quiet_assets = false

To disable some other errors, e.g. missing paperclip files, you can use the following options :

config.quiet_assets_prefix = /system/
config.quiet_assets_level = Logger::UNKNOWN

License

Dual licensed under the MIT or GPL licenses:

Copyright © 2011-2014 Dmitry @KODerFunk Karpunun, Dmitry @route Vorotilin / Evrone.com

About

Mutes assets pipeline log messages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%