Skip to content

/styleguides available in production #32

etdsoft opened this Issue Dec 3, 2011 · 2 comments

2 participants

etdsoft commented Dec 3, 2011

Hey guys it seems that /styleguides is not restricted when running in production :!: (at least in Rails 3.1)

Steps to reproduce

$ rails new flutieapp && cd fluttieapp
$ vi Gemfile
# add gem 'flutie'
$ bundle install
$ mv app/assets/stylesheets/application.css app/assets/stylesheets/application.css.scss
$ vi app/assets/stylesheets/application.css.scss
# edit to add @import 'flutie'
$ bundle exec rails assets:precompile
$ bundle exec rails s -e production
=> Booting WEBrick
=> Rails 3.1.3 application starting in production on
=> Call with -d to detach
=> Ctr-C to shutdown server

And browse to


thoughtbot, inc. member

Sorry about the delay -- is this actually a huge problem?

@mjankowski mjankowski closed this Mar 12, 2012
etdsoft commented Mar 13, 2012

Well, I think it's pretty bad to have it in production sites, doesn't look very professional.

I sent this to @gabebw three months ago and it was ignored. Reposting in case you're interested:

I just reported issue #32 on flutie:

I did a quick check and these seem to be available:

I didn't think that I should post it on the issue tracker but I thought you guys would like to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.