rails_panelChrome extension for Rails development

联合创作 · 2023-09-28 06:56

RailsPanel


RailsPanel is a Chrome/Firefox 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.


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


After this, install RailsPanel extension for Chrome or Firefox. This is recommended way of installing the extension, since it will auto-update on every new version.


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 4, 5 and 6

  • Ruby 2.x


Editor integration


Select your preferred editor on the extension options page. 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.


Code status



Licence


Copyright (c) 2012 Dejan Simic


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.

浏览 7
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报