├── .gitignore ├── Gemfile ├── Gemfile.lock ├── MIT-LICENSE ├── README.md ├── Rakefile ├── app ├── controllers │ └── rails_web_console │ │ └── console_controller.rb └── views │ └── rails_web_console │ └── console │ └── index.html.erb ├── bin └── rails ├── config └── routes.rb ├── lib ├── rails-web-console.rb └── rails_web_console │ ├── engine.rb │ └── version.rb ├── rails-web-console.gemspec └── test_app ├── Gemfile ├── Gemfile.lock ├── Rakefile ├── bin ├── bundle ├── rails └── rake ├── config.ru ├── config ├── application.rb ├── boot.rb ├── environment.rb ├── environments │ ├── development.rb │ └── production.rb ├── initializers │ └── session_store.rb ├── routes.rb └── secrets.yml ├── log └── .keep └── public ├── 404.html ├── 422.html ├── 500.html └── favicon.ico /.gitignore: -------------------------------------------------------------------------------- 1 | .bundle/ 2 | log/*.log 3 | pkg/ 4 | /test_app/log/*.log 5 | /test_app/tmp 6 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | # Declare your gem's dependencies in rails_web_console.gemspec. 4 | # Bundler will treat runtime dependencies like base dependencies, and 5 | # development dependencies will be added by default to the :development group. 6 | gemspec 7 | 8 | # Declare any dependencies that are still in development here instead of in 9 | # your gemspec. These might include edge Rails or gems from your path or 10 | # Git. Remember to move these dependencies to your gemspec before releasing 11 | # your gem to rubygems.org. 12 | 13 | # To use debugger 14 | # gem 'debugger' 15 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | PATH 2 | remote: . 3 | specs: 4 | rails-web-console (0.4.0) 5 | railties (>= 3.1.0) 6 | 7 | GEM 8 | remote: https://rubygems.org/ 9 | specs: 10 | actionpack (4.2.6) 11 | actionview (= 4.2.6) 12 | activesupport (= 4.2.6) 13 | rack (~> 1.6) 14 | rack-test (~> 0.6.2) 15 | rails-dom-testing (~> 1.0, >= 1.0.5) 16 | rails-html-sanitizer (~> 1.0, >= 1.0.2) 17 | actionview (4.2.6) 18 | activesupport (= 4.2.6) 19 | builder (~> 3.1) 20 | erubis (~> 2.7.0) 21 | rails-dom-testing (~> 1.0, >= 1.0.5) 22 | rails-html-sanitizer (~> 1.0, >= 1.0.2) 23 | activesupport (4.2.6) 24 | i18n (~> 0.7) 25 | json (~> 1.7, >= 1.7.7) 26 | minitest (~> 5.1) 27 | thread_safe (~> 0.3, >= 0.3.4) 28 | tzinfo (~> 1.1) 29 | builder (3.2.2) 30 | erubis (2.7.0) 31 | i18n (0.7.0) 32 | json (1.8.3) 33 | loofah (2.0.3) 34 | nokogiri (>= 1.5.9) 35 | mini_portile2 (2.0.0) 36 | minitest (5.8.4) 37 | nokogiri (1.6.7.2) 38 | mini_portile2 (~> 2.0.0.rc2) 39 | rack (1.6.4) 40 | rack-test (0.6.3) 41 | rack (>= 1.0) 42 | rails-deprecated_sanitizer (1.0.3) 43 | activesupport (>= 4.2.0.alpha) 44 | rails-dom-testing (1.0.7) 45 | activesupport (>= 4.2.0.beta, < 5.0) 46 | nokogiri (~> 1.6.0) 47 | rails-deprecated_sanitizer (>= 1.0.1) 48 | rails-html-sanitizer (1.0.3) 49 | loofah (~> 2.0) 50 | railties (4.2.6) 51 | actionpack (= 4.2.6) 52 | activesupport (= 4.2.6) 53 | rake (>= 0.8.7) 54 | thor (>= 0.18.1, < 2.0) 55 | rake (11.1.2) 56 | thor (0.19.1) 57 | thread_safe (0.3.5) 58 | tzinfo (1.2.2) 59 | thread_safe (~> 0.1) 60 | 61 | PLATFORMS 62 | ruby 63 | 64 | DEPENDENCIES 65 | rails-web-console! 66 | 67 | BUNDLED WITH 68 | 1.11.2 69 | -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2014 Rodrigo Rosenfeld Rosas 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # RailsWebConsole (No longer maintained) 2 | 3 | ## Important note 4 | 5 | I've switched my Rails projects to Roda, so I'm no longer using rails-web-console. But I still 6 | use the same features. That's why I created the [rack_web_console](https://github.com/rosenfeld/rack_web_console) 7 | project. It only depends on Rack, so it can be used both in Roda projects as well as Rails ones, 8 | or whatever other Rack-based framework/library. It works the same way, but if someone feels they'd 9 | like to take over this project, just let me know. 10 | 11 | ## Documentation 12 | 13 | A Rails mountable engine for running Ruby scripts on the browser in the context of a 14 | controller action. 15 | 16 | ## Dependencies 17 | 18 | It doesn't assume anything about Sprockets being available and will embed any JS directly into 19 | the views to avoid any dependencies on Sprockets. 20 | 21 | ActionView is required though but it's not declared as a dependency in the gemspec as it's a 22 | separate gem just as of Rails 4.1.x, so it would prevent this gem from working with older Rails 23 | versions, but you should make sure your Rails application include support to ActionView. 24 | 25 | ## Browser support 26 | 27 | All modern browsers and IE >= 8 should be supported. 28 | 29 | ## Minimal Ruby supported version 30 | 31 | 1.9 is the minimal required version due to usage of `require_relative` and the new hash syntax. 32 | 33 | Patches for supporting older Ruby versions won't be accepted. 34 | 35 | ## Install 36 | 37 | In your Gemfile, put the dependency like this: 38 | 39 | ```ruby 40 | gem 'rails-web-console', group: :development 41 | ``` 42 | 43 | This will automatically mount it in /console. If you want to specify a different mount point, 44 | use: 45 | 46 | ```ruby 47 | gem 'rails-web-console', require: 'rails_web_console/engine', group: :development 48 | ``` 49 | 50 | And add this to your config/routes.rb: 51 | 52 | ```ruby 53 | mount RailsWebConsole::Engine => '/inspect' if Rails.env.development? 54 | ``` 55 | 56 | If you intend to use this in production environment (strongly discouraged), be sure to protect console routes. Do it on your own risk! 57 | 58 | ## Usage 59 | 60 | Just access "/console" (or whatever path you've chosen) in your browser. 61 | 62 | ## Support for older versions of Rails 63 | 64 | I won't be supporting older versions of Rails to keep the source as simple as possible. 65 | 66 | Take a look at older releases of this gem for supporting older Rails. 67 | 68 | 69 | Copyright (c) 2014 [Rodrigo Rosenfeld Rosas], released under the MIT license 70 | 71 | [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rosenfeld/rails-web-console/trend.png)](https://bitdeli.com/free "Bitdeli Badge") 72 | -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | begin 2 | require 'bundler/setup' 3 | rescue LoadError 4 | puts 'You must `gem install bundler` and `bundle install` to run rake tasks' 5 | end 6 | 7 | Bundler::GemHelper.install_tasks 8 | -------------------------------------------------------------------------------- /app/controllers/rails_web_console/console_controller.rb: -------------------------------------------------------------------------------- 1 | require 'stringio' 2 | 3 | module RailsWebConsole 4 | class ConsoleController < ::ActionController::Base 5 | if _process_action_callbacks.any?{|a| a.filter == :verify_authenticity_token} 6 | # ActionController::Base no longer protects from forgery in Rails 5 7 | skip_before_filter :verify_authenticity_token 8 | end 9 | layout false 10 | 11 | def index 12 | end 13 | 14 | SCRIPT_LIMIT = defined?(::WEB_CONSOLE_SCRIPT_LIMIT) ? ::WEB_CONSOLE_SCRIPT_LIMIT : 1000 15 | WARNING_LIMIT_MSG = "WARNING: stored script in session was limited to the first " + 16 | "#{SCRIPT_LIMIT} chars to avoid issues with cookie overflow\n" 17 | def run 18 | # we limit up to 1k to avoid ActionDispatch::Cookies::CookieOverflow (4k) which we 19 | # can't rescue since it happens in a middleware 20 | script = params[:script] 21 | # we allow users to ignore the limit if they are using another session storage mechanism 22 | script = script[0...SCRIPT_LIMIT] unless defined?(::WEB_CONSOLE_IGNORE_SCRIPT_LIMIT) 23 | session[:script] = script 24 | stdout_orig = $stdout 25 | $stdout = StringIO.new 26 | begin 27 | puts WARNING_LIMIT_MSG if params[:script].size > SCRIPT_LIMIT && 28 | !defined?(::WEB_CONSOLE_IGNORE_SCRIPT_LIMIT) 29 | result_eval = eval params[:script], binding 30 | $stdout.rewind 31 | result = %Q{
#{escape $stdout.read}
32 |
#{escape result_eval.inspect}
} 33 | rescue Exception => e 34 | result = e.to_s 35 | end 36 | $stdout = stdout_orig 37 | render text: result.gsub("\n", "
\n") 38 | end 39 | 40 | private 41 | 42 | def escape(content) 43 | view_context.escape_once content 44 | end 45 | end 46 | end 47 | -------------------------------------------------------------------------------- /app/views/rails_web_console/console/index.html.erb: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Console 5 | 17 | 18 | 19 | 20 |
21 | 22 | 23 |
24 |
25 | 26 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /bin/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application. 3 | 4 | ENGINE_ROOT = File.expand_path('../..', __FILE__) 5 | ENGINE_PATH = File.expand_path('../../lib/rails_web_console/engine', __FILE__) 6 | 7 | # Set up gems listed in the Gemfile. 8 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 9 | require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) 10 | 11 | require 'rails/all' 12 | require 'rails/engine/commands' 13 | -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- 1 | RailsWebConsole::Engine.routes.draw do 2 | root to: 'console#index' 3 | post 'run' => 'console#run', as: :run 4 | end 5 | -------------------------------------------------------------------------------- /lib/rails-web-console.rb: -------------------------------------------------------------------------------- 1 | require_relative 'rails_web_console/engine' 2 | 3 | RailsWebConsole::Engine.initializer 'rails_web_console.mount_default' do 4 | Rails.application.routes.prepend do 5 | mount RailsWebConsole::Engine => '/console' 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /lib/rails_web_console/engine.rb: -------------------------------------------------------------------------------- 1 | module RailsWebConsole 2 | class Engine < ::Rails::Engine 3 | isolate_namespace RailsWebConsole 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /lib/rails_web_console/version.rb: -------------------------------------------------------------------------------- 1 | module RailsWebConsole 2 | VERSION = "0.4.0" 3 | end 4 | -------------------------------------------------------------------------------- /rails-web-console.gemspec: -------------------------------------------------------------------------------- 1 | $:.push File.expand_path("../lib", __FILE__) 2 | 3 | require "rails_web_console/version" 4 | 5 | Gem::Specification.new do |s| 6 | s.name = 'rails-web-console' 7 | s.version = RailsWebConsole::VERSION 8 | s.authors = ['Rodrigo Rosenfeld Rosas'] 9 | s.email = ['rr.rosas@gmail.com'] 10 | s.homepage = 'https://github.com/rosenfeld/rails-web-console' 11 | s.summary = 'A web console for Rails' 12 | s.description = 'Run any Ruby script from the context of a web request.' 13 | s.license = 'MIT' 14 | 15 | s.files = Dir["{app,config,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"] 16 | 17 | s.add_dependency 'railties', '>= 3.1.0' 18 | #s.add_dependency 'actionview' # adding this would break support for older Rails versions 19 | end 20 | -------------------------------------------------------------------------------- /test_app/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' 4 | gem 'railties', '4.1.5' 5 | 6 | gem 'rails-web-console', path: '..'#, require: 'rails_web_console/engine' 7 | 8 | # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring 9 | gem 'spring', group: :development 10 | -------------------------------------------------------------------------------- /test_app/Gemfile.lock: -------------------------------------------------------------------------------- 1 | PATH 2 | remote: .. 3 | specs: 4 | rails-web-console (0.3.1) 5 | railties (>= 3.1.0) 6 | 7 | GEM 8 | remote: https://rubygems.org/ 9 | specs: 10 | actionpack (4.1.5) 11 | actionview (= 4.1.5) 12 | activesupport (= 4.1.5) 13 | rack (~> 1.5.2) 14 | rack-test (~> 0.6.2) 15 | actionview (4.1.5) 16 | activesupport (= 4.1.5) 17 | builder (~> 3.1) 18 | erubis (~> 2.7.0) 19 | activesupport (4.1.5) 20 | i18n (~> 0.6, >= 0.6.9) 21 | json (~> 1.7, >= 1.7.7) 22 | minitest (~> 5.1) 23 | thread_safe (~> 0.1) 24 | tzinfo (~> 1.1) 25 | builder (3.2.2) 26 | erubis (2.7.0) 27 | i18n (0.6.11) 28 | json (1.8.1) 29 | minitest (5.4.1) 30 | rack (1.5.2) 31 | rack-test (0.6.2) 32 | rack (>= 1.0) 33 | railties (4.1.5) 34 | actionpack (= 4.1.5) 35 | activesupport (= 4.1.5) 36 | rake (>= 0.8.7) 37 | thor (>= 0.18.1, < 2.0) 38 | rake (10.3.2) 39 | spring (1.1.2) 40 | thor (0.19.1) 41 | thread_safe (0.3.4) 42 | tzinfo (1.2.2) 43 | thread_safe (~> 0.1) 44 | 45 | PLATFORMS 46 | ruby 47 | 48 | DEPENDENCIES 49 | rails-web-console! 50 | railties (= 4.1.5) 51 | spring 52 | -------------------------------------------------------------------------------- /test_app/Rakefile: -------------------------------------------------------------------------------- 1 | # Add your own tasks in files placed in lib/tasks ending in .rake, 2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 3 | 4 | require File.expand_path('../config/application', __FILE__) 5 | 6 | Rails.application.load_tasks 7 | -------------------------------------------------------------------------------- /test_app/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /test_app/bin/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | APP_PATH = File.expand_path('../../config/application', __FILE__) 3 | require_relative '../config/boot' 4 | require 'rails/commands' 5 | -------------------------------------------------------------------------------- /test_app/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /test_app/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require ::File.expand_path('../config/environment', __FILE__) 4 | run Rails.application 5 | -------------------------------------------------------------------------------- /test_app/config/application.rb: -------------------------------------------------------------------------------- 1 | require File.expand_path('../boot', __FILE__) 2 | 3 | require "action_controller/railtie" 4 | require "action_view/railtie" 5 | 6 | # Require the gems listed in Gemfile, including any gems 7 | # you've limited to :test, :development, or :production. 8 | Bundler.require(*Rails.groups) 9 | 10 | module TestApp 11 | class Application < Rails::Application 12 | # Settings in config/environments/* take precedence over those specified here. 13 | # Application configuration should go into files in config/initializers 14 | # -- all .rb files in that directory are automatically loaded. 15 | 16 | # Set Time.zone default to the specified zone. 17 | # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. 18 | # config.time_zone = 'Central Time (US & Canada)' 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /test_app/config/boot.rb: -------------------------------------------------------------------------------- 1 | # Set up gems listed in the Gemfile. 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | 4 | require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) 5 | -------------------------------------------------------------------------------- /test_app/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the Rails application. 2 | require File.expand_path('../application', __FILE__) 3 | 4 | # Initialize the Rails application. 5 | Rails.application.initialize! 6 | -------------------------------------------------------------------------------- /test_app/config/environments/development.rb: -------------------------------------------------------------------------------- 1 | Rails.application.configure do 2 | # Settings specified here will take precedence over those in config/application.rb. 3 | 4 | # In the development environment your application's code is reloaded on 5 | # every request. This slows down response time but is perfect for development 6 | # since you don't have to restart the web server when you make code changes. 7 | config.cache_classes = false 8 | 9 | # Do not eager load code on boot. 10 | config.eager_load = false 11 | 12 | # Show full error reports and disable caching. 13 | config.consider_all_requests_local = true 14 | config.action_controller.perform_caching = false 15 | 16 | # Print deprecation notices to the Rails logger. 17 | config.active_support.deprecation = :log 18 | 19 | 20 | # Raises error for missing translations 21 | # config.action_view.raise_on_missing_translations = true 22 | end 23 | -------------------------------------------------------------------------------- /test_app/config/environments/production.rb: -------------------------------------------------------------------------------- 1 | Rails.application.configure do 2 | # Settings specified here will take precedence over those in config/application.rb. 3 | 4 | # Code is not reloaded between requests. 5 | config.cache_classes = true 6 | 7 | # Eager load code on boot. This eager loads most of Rails and 8 | # your application in memory, allowing both threaded web servers 9 | # and those relying on copy on write to perform better. 10 | # Rake tasks automatically ignore this option for performance. 11 | config.eager_load = true 12 | 13 | # Full error reports are disabled and caching is turned on. 14 | config.consider_all_requests_local = false 15 | config.action_controller.perform_caching = true 16 | 17 | # Enable Rack::Cache to put a simple HTTP cache in front of your application 18 | # Add `rack-cache` to your Gemfile before enabling this. 19 | # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid. 20 | # config.action_dispatch.rack_cache = true 21 | 22 | 23 | # Specifies the header that your server uses for sending files. 24 | # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache 25 | # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx 26 | 27 | # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. 28 | # config.force_ssl = true 29 | 30 | # Set to :debug to see everything in the log. 31 | config.log_level = :info 32 | 33 | # Prepend all log lines with the following tags. 34 | # config.log_tags = [ :subdomain, :uuid ] 35 | 36 | # Use a different logger for distributed setups. 37 | # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) 38 | 39 | # Use a different cache store in production. 40 | # config.cache_store = :mem_cache_store 41 | 42 | # Enable serving of images, stylesheets, and JavaScripts from an asset server. 43 | # config.action_controller.asset_host = "http://assets.example.com" 44 | 45 | # Send deprecation notices to registered listeners. 46 | config.active_support.deprecation = :notify 47 | 48 | # Disable automatic flushing of the log to improve performance. 49 | # config.autoflush_log = false 50 | 51 | # Use default logging formatter so that PID and timestamp are not suppressed. 52 | config.log_formatter = ::Logger::Formatter.new 53 | end 54 | -------------------------------------------------------------------------------- /test_app/config/initializers/session_store.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | Rails.application.config.session_store :cookie_store, key: '_test_app_session' 4 | -------------------------------------------------------------------------------- /test_app/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | #mount RailsWebConsole::Engine => '/shell' 3 | end 4 | -------------------------------------------------------------------------------- /test_app/config/secrets.yml: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Your secret key is used for verifying the integrity of signed cookies. 4 | # If you change this key, all old signed cookies will become invalid! 5 | 6 | # Make sure the secret is at least 30 characters and all random, 7 | # no regular words or you'll be exposed to dictionary attacks. 8 | # You can use `rake secret` to generate a secure secret key. 9 | 10 | # Make sure the secrets in this file are kept private 11 | # if you're sharing your code publicly. 12 | 13 | development: 14 | secret_key_base: a7216ceae5d22f06980cb89e91bd54a793eebdf3329ff9ddb452c8c90dd88f32b0c6aa12a61ee04e25e9cbd2cc422318319a35837b7b53e3e0b46979364fa8d5 15 | 16 | production: 17 | secret_key_base: a7216ceae5d22f06980cb89e91bd54a793eebdf3329ff9ddb452c8c90dd88f32b0c6aa12a61ee04e25e9cbd2cc422318319a35837b7b53e3e0b46979364fa8d5 18 | # Do not keep production secrets in the repository, 19 | # instead read values from the environment. 20 | #secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> 21 | -------------------------------------------------------------------------------- /test_app/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosenfeld/rails-web-console/1ea2a8e2da0910de68ce798da9f72663497c44aa/test_app/log/.keep -------------------------------------------------------------------------------- /test_app/public/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | The page you were looking for doesn't exist (404) 5 | 6 | 55 | 56 | 57 | 58 | 59 |
60 |
61 |

The page you were looking for doesn't exist.

62 |

You may have mistyped the address or the page may have moved.

63 |
64 |

If you are the application owner check the logs for more information.

65 |
66 | 67 | 68 | -------------------------------------------------------------------------------- /test_app/public/422.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | The change you wanted was rejected (422) 5 | 6 | 55 | 56 | 57 | 58 | 59 |
60 |
61 |

The change you wanted was rejected.

62 |

Maybe you tried to change something you didn't have access to.

63 |
64 |

If you are the application owner check the logs for more information.

65 |
66 | 67 | 68 | -------------------------------------------------------------------------------- /test_app/public/500.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | We're sorry, but something went wrong (500) 5 | 6 | 55 | 56 | 57 | 58 | 59 |
60 |
61 |

We're sorry, but something went wrong.

62 |
63 |

If you are the application owner check the logs for more information.

64 |
65 | 66 | 67 | -------------------------------------------------------------------------------- /test_app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosenfeld/rails-web-console/1ea2a8e2da0910de68ce798da9f72663497c44aa/test_app/public/favicon.ico --------------------------------------------------------------------------------