84
80

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Railsで開発環境と本番環境を区別したい時

Last updated at Posted at 2014-06-05

Railsで開発している時にブラウザのタブたくさん開いてたら、間違えて同時に開いていた本番のページを操作してしまった。。。なんてことはRailsアルアル。

そんな時のために、ページ見たら一発で環境が区別できるようになるgem作りました。
gem入れてconfig/application.rbに1行足すだけなので意外に便利。
しかも、テーマが変えられるので、自分のサイトにあったデザインにできる!

screenshot-development.png

色違い

Screen Shot 2014-06-09 at 8.37.17 PM.png

84
80
5

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
84
80

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?