Skip to content

am-kantox/rails_panel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RailsPanel

RailsPanel is a Chrome extension for Rails development that will end your tailing of development.log. Have all information about your Rails app requests in the browser - in the Developer Tools panel. Provides insight to db/rendering/total times, parameter list, rendered views and more.

Added by @am-kantox:

  • complete application log with backreferences;
  • colorized server HTTP responses;
  • highlighted responses >1s;
  • parametrers are shown in human-readable manner;
  • atom editor support;
  • code cleanup.

railspanel

Installation

To use this extension you need to add meta_request gem to your app's Gemfile:

group :development do
  gem 'meta_request'
end

NB Do Not Install RailsPanel extension from the Chrome WebStore, this will install the original version. Instead:

Install unpacked version

If you have a problem installing extension from Chrome Store or just want to run latest and hack on it, just clone the repo (say under /workspace/rails_panel) and in "Developer mode" Chrome Extensions page select "Load Unpacked extension..." and select "/workspace/rails_panel/rails_panel".

Supported environments

  • Rails 3, Rails 4
  • Ruby 1.9.3, Ruby 2.0, Ruby 2.1

Editor integration

Select your editor on the extension options page: chrome://extensions. Following editors are supported:

  • MacVim
  • TextMate
  • Sublime
  • Emacs
  • Atom
  • RubyMine

Compatibility Warnings

If you're using LiveReload or Rack::LiveReload make sure to exclude watching your tmp/ folder because meta_request writes a lot of data there and your browser will refresh like a madman.

Clearing the Console

You can clear the panel with the usual shortcuts of ⌘+k or ctrl+l.

Licence

  • Copyright (c) 2012 Dejan Simic
  • Copyright (c) 2015 Kantox LTD

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Chrome extension for Rails development

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 43.0%
  • HTML 24.4%
  • JavaScript 20.9%
  • CSS 11.3%
  • Makefile 0.4%