ro_commands 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -0
- data/Rakefile +4 -14
- data/bin/ro +2 -31
- data/bin/ro_client +2 -5
- data/bin/ro_server +2 -5
- data/bin/rubyscripts +6 -0
- data/{lib/ro_commands/core_ext/symbol.rb → config/boot.rb} +0 -0
- data/config/rorc.rb +66 -3
- data/lib/bash_builder.rb +18 -9
- data/lib/bash_builder_helper.rb +3 -3
- data/lib/bash_debug.rb +4 -2
- data/lib/bash_templates/crawler.sh +1 -0
- data/lib/bash_templates/file.sh +1 -1
- data/lib/bash_templates/git.sh +3 -0
- data/lib/{ro_commands/core_ext/thor.rb → bash_templates/grep.sh} +0 -0
- data/lib/bash_templates/misc.sh +25 -8
- data/{test/dummy/public/favicon.ico → lib/bash_templates/mysql.sh} +0 -0
- data/lib/bash_templates/process.sh +0 -0
- data/lib/bash_templates/rails.sh +10 -0
- data/lib/bash_templates/ruby.sh +2 -1
- data/lib/bash_templates/rubymine_idea.sh +38 -9
- data/lib/bash_templates/shortcuts.sh +12 -1
- data/lib/bash_templates/video.sh +2 -3
- data/lib/builder_templates/set_envs.erb +2 -1
- data/lib/builder_templates/working_project_bash.erb +3 -0
- data/lib/deps.rb +13 -0
- data/lib/deps_methods.rb +114 -0
- data/lib/drb/client.rb +7 -28
- data/lib/drb/server.rb +13 -27
- data/lib/dsl/ro_file.rb +23 -0
- data/lib/guard_helpers/base_helper.rb +91 -0
- data/lib/guard_helpers/basic_helper.rb +132 -0
- data/lib/guard_helpers/erb_helper.rb +52 -0
- data/lib/guard_helpers/gem_helper.rb +41 -0
- data/lib/guard_helpers/initd_helper.rb +126 -0
- data/lib/guard_helpers/md_helper.rb +44 -0
- data/lib/guard_helpers/mid_mod_class_methods_helper.rb +45 -0
- data/lib/rails_builder_helper.rb +10 -12
- data/lib/ro_cells.rb +3 -0
- data/lib/ro_cells/base.rb +6 -0
- data/lib/ro_cells/gem.rb +29 -0
- data/lib/ro_commands.rb +3 -10
- data/lib/ro_commands/base.rb +49 -25
- data/lib/ro_commands/crawler.rb +53 -0
- data/lib/ro_commands/file_actions.rb +45 -1
- data/lib/ro_commands/gem.rb +16 -0
- data/lib/ro_commands/generate.rb +13 -1
- data/lib/ro_commands/generators/base_generator.rb +40 -14
- data/lib/ro_commands/generators/ex.rb +18 -16
- data/lib/ro_commands/generators/rails_generator.rb +37 -0
- data/lib/ro_commands/generators/rails_new_app.rb +23 -0
- data/lib/ro_commands/generators/rails_templates/Gemfile.erb +57 -0
- data/lib/ro_commands/generators/rails_templates/rodebug.erb +23 -0
- data/lib/ro_commands/generators/rails_templates/try.erb +1 -0
- data/lib/ro_commands/generators/rodebug.rb +37 -0
- data/lib/ro_commands/generators/spec_file.rb +49 -27
- data/lib/ro_commands/generators/templates/ex.erb +1 -28
- data/lib/ro_commands/generators/templates/spec.erb +0 -3
- data/lib/ro_commands/info.rb +5 -3
- data/lib/ro_commands/init.rb +40 -0
- data/lib/ro_commands/misc.rb +9 -0
- data/lib/ro_commands/navigate.rb +52 -28
- data/lib/ro_commands/processes.rb +1 -1
- data/lib/ro_commands/rails.rb +51 -34
- data/lib/ro_commands/refactor.rb +2 -0
- data/lib/ro_commands/ro_gist.rb +39 -0
- data/lib/ro_commands/shortcuts.rb +63 -14
- data/lib/ro_commands/templates/Gemfile.tt +1 -0
- data/lib/ro_commands/try.rb +2 -2
- data/lib/ro_commands/typography.rb +12 -0
- data/lib/ro_commands/version.rb +2 -2
- data/lib/ro_commands/video.rb +6 -0
- data/lib/ro_commands/zeus_templates/custom_plan.rb +11 -16
- data/lib/ro_commands/zeus_templates/zeus.json +10 -6
- data/lib/ro_commands_bin.rb +34 -0
- data/lib/ro_core_ext.rb +6 -0
- data/lib/ro_core_ext/array.rb +22 -0
- data/lib/ro_core_ext/hash.rb +21 -0
- data/lib/ro_core_ext/misc_helper.rb +16 -0
- data/lib/ro_core_ext/module_misc.rb +70 -0
- data/lib/ro_core_ext/object.rb +11 -0
- data/lib/ro_core_ext/pry.rb +10 -0
- data/lib/ro_core_ext/string.rb +37 -0
- data/lib/ro_core_ext/symbol.rb +0 -0
- data/lib/ro_core_ext/thor.rb +0 -0
- data/lib/ro_default.rb +8 -0
- data/lib/ro_file.rb +71 -0
- data/lib/ro_helpers.rb +5 -0
- data/lib/ro_helpers/all_ro_commands.rb +4 -0
- data/lib/ro_helpers/all_ro_commands_files.rb +42 -0
- data/lib/ro_helpers/bash.rb +100 -0
- data/lib/{ro_commands → ro_helpers}/hook.rb +1 -1
- data/lib/ro_helpers/out.rb +154 -0
- data/lib/ro_helpers/ro_bin_helper.rb +107 -0
- data/lib/{ro_commands → ro_helpers}/ro_helper.rb +1 -1
- data/lib/ro_misc/exec.rb +16 -0
- data/lib/ro_rails_helpers.rb +6 -0
- data/lib/ro_rails_helpers/handler.rb +33 -0
- data/lib/ro_rspec_helpers.rb +7 -0
- data/lib/ro_rspec_helpers/deps.rb +4 -0
- data/lib/ro_rspec_helpers/ro_faker.rb +116 -0
- data/lib/ro_rspec_helpers/ro_spec_helper.rb +48 -0
- data/lib/ro_rspec_helpers/run_in.rb +7 -0
- data/lib/ro_rspec_helpers/spec_matchers.rb +30 -0
- data/lib/set_envs_helper.rb +17 -8
- data/ro_commands.sh +221 -158
- data/spec/bin_spec.rb +13 -0
- data/spec/fixtures/Gemfile +58 -0
- data/spec/fixtures/Gemfile.lock +236 -0
- data/spec/fixtures/bash/try1 +0 -0
- data/spec/fixtures/bash/try2 +0 -0
- data/spec/fixtures/basic_helper/Guardfile +0 -0
- data/spec/fixtures/basic_helper/lib/guard_helpers/no1_guard_helper.rb +5 -0
- data/spec/fixtures/basic_helper/lib/guard_helpers/no2_guard_helper.rb +5 -0
- data/spec/fixtures/basic_helper/lib/guard_helpers/no3_guard_helper.rb +5 -0
- data/spec/fixtures/deps/lib/dir/f.rb +0 -0
- data/spec/fixtures/deps/lib/dir/f2.rb +0 -0
- data/spec/fixtures/deps_methods/lib/path/to/file.rb +7 -0
- data/spec/fixtures/deps_methods/lib/ro_commands/cmd.rb +6 -0
- data/spec/fixtures/file_actions/loli +0 -0
- data/spec/fixtures/file_actions/lolicon.rb +0 -0
- data/spec/fixtures/for_git/tmp/rspec_guard_result +1 -0
- data/spec/fixtures/for_method_backup/version.rb +3 -0
- data/spec/fixtures/for_methods/version.rb +0 -0
- data/spec/fixtures/for_process/config.ru +11 -0
- data/spec/fixtures/for_process/tmp/rspec_guard_result +1 -0
- data/spec/fixtures/for_rails/Gemfile +58 -0
- data/spec/fixtures/for_rails/Gemfile.lock +236 -0
- data/{test/dummy → spec/fixtures/for_rails}/README.rdoc +0 -0
- data/spec/fixtures/for_rails/Rakefile +6 -0
- data/{test/dummy → spec/fixtures/for_rails}/app/assets/javascripts/application.js +3 -0
- data/spec/fixtures/for_rails/app/assets/javascripts/articles.js.coffee +3 -0
- data/spec/fixtures/for_rails/app/assets/javascripts/comments.js.coffee +3 -0
- data/spec/fixtures/for_rails/app/assets/javascripts/users.js.coffee +3 -0
- data/{test/dummy → spec/fixtures/for_rails}/app/assets/stylesheets/application.css +0 -0
- data/spec/fixtures/for_rails/app/assets/stylesheets/articles.css.scss +3 -0
- data/spec/fixtures/for_rails/app/assets/stylesheets/comments.css.scss +3 -0
- data/spec/fixtures/for_rails/app/assets/stylesheets/scaffolds.css.scss +69 -0
- data/spec/fixtures/for_rails/app/assets/stylesheets/users.css.scss +3 -0
- data/{test/dummy → spec/fixtures/for_rails}/app/controllers/application_controller.rb +0 -0
- data/spec/fixtures/for_rails/app/controllers/articles_controller.rb +74 -0
- data/spec/fixtures/for_rails/app/controllers/comments_controller.rb +74 -0
- data/spec/fixtures/for_rails/app/controllers/users_controller.rb +74 -0
- data/{test/dummy → spec/fixtures/for_rails}/app/helpers/application_helper.rb +0 -0
- data/spec/fixtures/for_rails/app/helpers/articles_helper.rb +2 -0
- data/spec/fixtures/for_rails/app/helpers/comments_helper.rb +2 -0
- data/spec/fixtures/for_rails/app/helpers/users_helper.rb +2 -0
- data/spec/fixtures/for_rails/app/models/article.rb +2 -0
- data/spec/fixtures/for_rails/app/models/comment.rb +2 -0
- data/spec/fixtures/for_rails/app/models/user.rb +2 -0
- data/spec/fixtures/for_rails/app/views/articles/_form.html.erb +29 -0
- data/spec/fixtures/for_rails/app/views/articles/edit.html.erb +6 -0
- data/spec/fixtures/for_rails/app/views/articles/index.html.erb +31 -0
- data/spec/fixtures/for_rails/app/views/articles/index.json.jbuilder +4 -0
- data/spec/fixtures/for_rails/app/views/articles/new.html.erb +5 -0
- data/spec/fixtures/for_rails/app/views/articles/show.html.erb +19 -0
- data/spec/fixtures/for_rails/app/views/articles/show.json.jbuilder +1 -0
- data/spec/fixtures/for_rails/app/views/comments/_form.html.erb +29 -0
- data/spec/fixtures/for_rails/app/views/comments/edit.html.erb +6 -0
- data/spec/fixtures/for_rails/app/views/comments/index.html.erb +31 -0
- data/spec/fixtures/for_rails/app/views/comments/index.json.jbuilder +4 -0
- data/spec/fixtures/for_rails/app/views/comments/new.html.erb +5 -0
- data/spec/fixtures/for_rails/app/views/comments/show.html.erb +19 -0
- data/spec/fixtures/for_rails/app/views/comments/show.json.jbuilder +1 -0
- data/spec/fixtures/for_rails/app/views/layouts/application.html.erb +14 -0
- data/spec/fixtures/for_rails/app/views/users/_form.html.erb +25 -0
- data/spec/fixtures/for_rails/app/views/users/edit.html.erb +6 -0
- data/spec/fixtures/for_rails/app/views/users/index.html.erb +29 -0
- data/spec/fixtures/for_rails/app/views/users/index.json.jbuilder +4 -0
- data/spec/fixtures/for_rails/app/views/users/new.html.erb +5 -0
- data/spec/fixtures/for_rails/app/views/users/show.html.erb +14 -0
- data/spec/fixtures/for_rails/app/views/users/show.json.jbuilder +1 -0
- data/{test/dummy → spec/fixtures/for_rails}/bin/bundle +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/bin/rails +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/bin/rake +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/config.ru +0 -0
- data/spec/fixtures/for_rails/config/application.rb +23 -0
- data/spec/fixtures/for_rails/config/boot.rb +4 -0
- data/spec/fixtures/for_rails/config/database.yml +39 -0
- data/spec/fixtures/for_rails/config/environment.rb +5 -0
- data/{test/dummy → spec/fixtures/for_rails}/config/environments/development.rb +1 -1
- data/{test/dummy → spec/fixtures/for_rails}/config/environments/production.rb +1 -1
- data/{test/dummy → spec/fixtures/for_rails}/config/environments/test.rb +1 -1
- data/{test/dummy → spec/fixtures/for_rails}/config/initializers/backtrace_silencers.rb +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/config/initializers/filter_parameter_logging.rb +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/config/initializers/inflections.rb +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/config/initializers/mime_types.rb +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/config/initializers/secret_token.rb +2 -2
- data/spec/fixtures/for_rails/config/initializers/session_store.rb +3 -0
- data/{test/dummy → spec/fixtures/for_rails}/config/initializers/wrap_parameters.rb +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/config/locales/en.yml +0 -0
- data/spec/fixtures/for_rails/config/routes.rb +62 -0
- data/spec/fixtures/for_rails/db/migrate/20131208083747_create_articles.rb +11 -0
- data/spec/fixtures/for_rails/db/migrate/20131208083756_create_comments.rb +11 -0
- data/spec/fixtures/for_rails/db/migrate/20131208083835_create_users.rb +10 -0
- data/spec/fixtures/for_rails/db/seeds.rb +7 -0
- data/{test/dummy → spec/fixtures/for_rails}/public/404.html +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/public/422.html +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/public/500.html +0 -0
- data/spec/fixtures/for_rails/public/favicon.ico +0 -0
- data/spec/fixtures/for_rails/public/robots.txt +5 -0
- data/spec/fixtures/for_rails/test/test_helper.rb +15 -0
- data/spec/fixtures/generator/update_spec_tree/backup/Gemfile +45 -0
- data/spec/fixtures/generator/update_spec_tree/backup/Gemfile.lock +119 -0
- data/spec/fixtures/generator/update_spec_tree/backup/README.rdoc +28 -0
- data/{test/dummy → spec/fixtures/generator/update_spec_tree/backup}/Rakefile +1 -1
- data/spec/fixtures/generator/update_spec_tree/backup/app/assets/javascripts/application.js +16 -0
- data/spec/fixtures/generator/update_spec_tree/backup/app/assets/stylesheets/application.css +13 -0
- data/spec/fixtures/generator/update_spec_tree/backup/app/controllers/application_controller.rb +5 -0
- data/spec/fixtures/generator/update_spec_tree/backup/app/helpers/application_helper.rb +2 -0
- data/{test/dummy → spec/fixtures/generator/update_spec_tree/backup}/app/views/layouts/application.html.erb +1 -1
- data/spec/fixtures/generator/update_spec_tree/backup/bin/bundle +3 -0
- data/spec/fixtures/generator/update_spec_tree/backup/bin/rails +4 -0
- data/spec/fixtures/generator/update_spec_tree/backup/bin/rake +4 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config.ru +4 -0
- data/{test/dummy → spec/fixtures/generator/update_spec_tree/backup}/config/application.rb +4 -4
- data/spec/fixtures/generator/update_spec_tree/backup/config/boot.rb +4 -0
- data/{test/dummy → spec/fixtures/generator/update_spec_tree/backup}/config/database.yml +0 -0
- data/{test/dummy → spec/fixtures/generator/update_spec_tree/backup}/config/environment.rb +1 -1
- data/spec/fixtures/generator/update_spec_tree/backup/config/environments/development.rb +29 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/environments/production.rb +80 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/environments/test.rb +36 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/initializers/inflections.rb +16 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/initializers/mime_types.rb +5 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/initializers/secret_token.rb +12 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/initializers/session_store.rb +3 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/initializers/wrap_parameters.rb +14 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/locales/en.yml +23 -0
- data/{test/dummy → spec/fixtures/generator/update_spec_tree/backup}/config/routes.rb +1 -1
- data/spec/fixtures/generator/update_spec_tree/backup/db/seeds.rb +7 -0
- data/spec/fixtures/generator/update_spec_tree/backup/lib/assets/try1.rb +11 -0
- data/spec/fixtures/generator/update_spec_tree/backup/lib/tasks/try2.rb +11 -0
- data/spec/fixtures/generator/update_spec_tree/backup/lib/try.rb +19 -0
- data/spec/fixtures/generator/update_spec_tree/backup/public/404.html +58 -0
- data/spec/fixtures/generator/update_spec_tree/backup/public/422.html +58 -0
- data/spec/fixtures/generator/update_spec_tree/backup/public/500.html +57 -0
- data/spec/fixtures/generator/update_spec_tree/backup/public/favicon.ico +0 -0
- data/spec/fixtures/generator/update_spec_tree/backup/public/robots.txt +5 -0
- data/spec/fixtures/generator/update_spec_tree/backup/spec/spec_helper.rb +17 -0
- data/spec/fixtures/generator/update_spec_tree/backup/test/test_helper.rb +15 -0
- data/spec/fixtures/generator/update_spec_tree/try/Gemfile +45 -0
- data/spec/fixtures/generator/update_spec_tree/try/Gemfile.lock +119 -0
- data/spec/fixtures/generator/update_spec_tree/try/README.rdoc +28 -0
- data/spec/fixtures/generator/update_spec_tree/try/Rakefile +6 -0
- data/spec/fixtures/generator/update_spec_tree/try/app/assets/javascripts/application.js +16 -0
- data/spec/fixtures/generator/update_spec_tree/try/app/assets/stylesheets/application.css +13 -0
- data/spec/fixtures/generator/update_spec_tree/try/app/controllers/application_controller.rb +5 -0
- data/spec/fixtures/generator/update_spec_tree/try/app/helpers/application_helper.rb +2 -0
- data/spec/fixtures/generator/update_spec_tree/try/app/views/layouts/application.html.erb +14 -0
- data/spec/fixtures/generator/update_spec_tree/try/bin/bundle +3 -0
- data/spec/fixtures/generator/update_spec_tree/try/bin/rails +4 -0
- data/spec/fixtures/generator/update_spec_tree/try/bin/rake +4 -0
- data/spec/fixtures/generator/update_spec_tree/try/config.ru +4 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/application.rb +23 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/boot.rb +4 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/database.yml +25 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/environment.rb +5 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/environments/development.rb +29 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/environments/production.rb +80 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/environments/test.rb +36 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/initializers/inflections.rb +16 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/initializers/mime_types.rb +5 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/initializers/secret_token.rb +12 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/initializers/session_store.rb +3 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/initializers/wrap_parameters.rb +14 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/locales/en.yml +23 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/routes.rb +56 -0
- data/spec/fixtures/generator/update_spec_tree/try/db/seeds.rb +7 -0
- data/spec/fixtures/generator/update_spec_tree/try/lib/assets/try1.rb +11 -0
- data/spec/fixtures/generator/update_spec_tree/try/lib/tasks/try2.rb +11 -0
- data/spec/fixtures/generator/update_spec_tree/try/lib/try.rb +19 -0
- data/spec/fixtures/generator/update_spec_tree/try/log/development.log +0 -0
- data/spec/fixtures/generator/update_spec_tree/try/public/404.html +58 -0
- data/spec/fixtures/generator/update_spec_tree/try/public/422.html +58 -0
- data/spec/fixtures/generator/update_spec_tree/try/public/500.html +57 -0
- data/spec/fixtures/generator/update_spec_tree/try/public/favicon.ico +0 -0
- data/spec/fixtures/generator/update_spec_tree/try/public/robots.txt +5 -0
- data/spec/fixtures/generator/update_spec_tree/try/spec/spec_helper.rb +17 -0
- data/spec/fixtures/generator/update_spec_tree/try/test/test_helper.rb +15 -0
- data/spec/fixtures/generators/lib/guard_helpers/ro_helper.rb +0 -0
- data/spec/fixtures/generators/spec/lib/guard_helpers/ro_helper_spec.rb +2 -0
- data/spec/fixtures/handler/error_page.html +1 -0
- data/spec/fixtures/handler/result.html +1 -0
- data/spec/fixtures/lib/element/backup.rb +0 -0
- data/spec/fixtures/navigate/faker_ro_commands/lib/ro_generators/a_generator.rb +0 -0
- data/spec/fixtures/navigate/faker_ro_commands/lib/typography/a_file.rb +0 -0
- data/spec/fixtures/rails_navigate/app/controllers/one_controller.rb +0 -0
- data/spec/fixtures/rails_navigate/app/controllers/two_controller.rb +0 -0
- data/spec/fixtures/rails_navigate/app/decorators/two_decorator.rb +0 -0
- data/spec/fixtures/rails_navigate/app/models/two_model.rb +0 -0
- data/spec/fixtures/rails_navigate/lib/path/to/file.rb +0 -0
- data/spec/fixtures/rails_navigate/lib/path/to/file2.rb +0 -0
- data/spec/fixtures/rails_new_app/try_create_rails/Gemfile +57 -0
- data/spec/fixtures/rails_new_app/try_create_rails/README.rdoc +28 -0
- data/spec/fixtures/rails_new_app/try_create_rails/Rakefile +6 -0
- data/spec/fixtures/rails_new_app/try_create_rails/app/assets/javascripts/application.js +16 -0
- data/spec/fixtures/rails_new_app/try_create_rails/app/assets/stylesheets/application.css +13 -0
- data/spec/fixtures/rails_new_app/try_create_rails/app/controllers/application_controller.rb +5 -0
- data/spec/fixtures/rails_new_app/try_create_rails/app/helpers/application_helper.rb +2 -0
- data/spec/fixtures/rails_new_app/try_create_rails/app/views/layouts/application.html.erb +14 -0
- data/spec/fixtures/rails_new_app/try_create_rails/bin/bundle +3 -0
- data/spec/fixtures/rails_new_app/try_create_rails/bin/rails +4 -0
- data/spec/fixtures/rails_new_app/try_create_rails/bin/rake +4 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config.ru +4 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/application.rb +23 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/boot.rb +4 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/database.yml +39 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/environment.rb +5 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/environments/development.rb +29 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/environments/production.rb +80 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/environments/test.rb +36 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/initializers/inflections.rb +16 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/initializers/mime_types.rb +5 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/initializers/secret_token.rb +12 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/initializers/session_store.rb +3 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/initializers/wrap_parameters.rb +14 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/locales/en.yml +23 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/routes.rb +56 -0
- data/spec/fixtures/rails_new_app/try_create_rails/db/seeds.rb +7 -0
- data/spec/fixtures/rails_new_app/try_create_rails/public/404.html +58 -0
- data/spec/fixtures/rails_new_app/try_create_rails/public/422.html +58 -0
- data/spec/fixtures/rails_new_app/try_create_rails/public/500.html +57 -0
- data/spec/fixtures/rails_new_app/try_create_rails/public/favicon.ico +0 -0
- data/spec/fixtures/rails_new_app/try_create_rails/public/robots.txt +5 -0
- data/spec/fixtures/rails_new_app/try_create_rails/test/test_helper.rb +15 -0
- data/spec/fixtures/ro_bin_helper/gem1/lib/ro_commands/cmd1.rb +0 -0
- data/spec/fixtures/ro_bin_helper/gem1/lib/ro_commands/cmd2.rb +0 -0
- data/spec/fixtures/ro_bin_helper/gem2/lib/ro_commands/cmd1.rb +0 -0
- data/spec/fixtures/ro_bin_helper/gem2/lib/ro_commands/cmd2.rb +0 -0
- data/spec/fixtures/ro_commands_bin/lib/ro_commands/outside_ro_command.rb +5 -0
- data/spec/fixtures/ro_gist/ex/ex3.rb +0 -0
- data/spec/fixtures/ro_gist/ex/ex3_spec.rb +0 -0
- data/spec/fixtures/rodebug/config/routes.rb +6 -0
- data/spec/fixtures/spec/spec_helper.rb +20 -0
- data/spec/fixtures/tmp/rspec_guard_result +5 -0
- data/spec/fixtures/try_create_rails/Gemfile +58 -0
- data/spec/fixtures/try_create_rails/README.rdoc +28 -0
- data/spec/fixtures/try_create_rails/Rakefile +6 -0
- data/spec/fixtures/try_create_rails/app/assets/javascripts/application.js +16 -0
- data/spec/fixtures/try_create_rails/app/assets/stylesheets/application.css +13 -0
- data/spec/fixtures/try_create_rails/app/controllers/application_controller.rb +5 -0
- data/spec/fixtures/try_create_rails/app/helpers/application_helper.rb +2 -0
- data/spec/fixtures/try_create_rails/app/views/layouts/application.html.erb +14 -0
- data/spec/fixtures/try_create_rails/bin/bundle +3 -0
- data/spec/fixtures/try_create_rails/bin/rails +4 -0
- data/spec/fixtures/try_create_rails/bin/rake +4 -0
- data/spec/fixtures/try_create_rails/config.ru +4 -0
- data/spec/fixtures/try_create_rails/config/application.rb +23 -0
- data/spec/fixtures/try_create_rails/config/boot.rb +4 -0
- data/spec/fixtures/try_create_rails/config/database.yml +39 -0
- data/spec/fixtures/try_create_rails/config/environment.rb +5 -0
- data/spec/fixtures/try_create_rails/config/environments/development.rb +29 -0
- data/spec/fixtures/try_create_rails/config/environments/production.rb +80 -0
- data/spec/fixtures/try_create_rails/config/environments/test.rb +36 -0
- data/spec/fixtures/try_create_rails/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/fixtures/try_create_rails/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/fixtures/try_create_rails/config/initializers/inflections.rb +16 -0
- data/spec/fixtures/try_create_rails/config/initializers/mime_types.rb +5 -0
- data/spec/fixtures/try_create_rails/config/initializers/secret_token.rb +12 -0
- data/spec/fixtures/try_create_rails/config/initializers/session_store.rb +3 -0
- data/spec/fixtures/try_create_rails/config/initializers/wrap_parameters.rb +14 -0
- data/spec/fixtures/try_create_rails/config/locales/en.yml +23 -0
- data/spec/fixtures/try_create_rails/config/routes.rb +56 -0
- data/spec/fixtures/try_create_rails/db/seeds.rb +7 -0
- data/spec/fixtures/try_create_rails/public/404.html +58 -0
- data/spec/fixtures/try_create_rails/public/422.html +58 -0
- data/spec/fixtures/try_create_rails/public/500.html +57 -0
- data/spec/fixtures/try_create_rails/public/favicon.ico +0 -0
- data/spec/fixtures/try_create_rails/public/robots.txt +5 -0
- data/spec/fixtures/try_create_rails/test/test_helper.rb +15 -0
- data/spec/lib/all_spec.rb +36 -0
- data/spec/lib/bash_builder_spec.rb +75 -0
- data/spec/lib/bash_debug_spec.rb +24 -0
- data/spec/lib/core_ext/misc_helper_spec.rb +20 -0
- data/spec/lib/core_ext/module_misc_spec.rb +38 -0
- data/spec/lib/deps_methods_spec.rb +52 -0
- data/spec/lib/deps_spec.rb +27 -0
- data/spec/lib/guard_helpers/base_helper_spec.rb +56 -0
- data/spec/lib/guard_helpers/basic_helper_spec.rb +44 -0
- data/spec/lib/guard_helpers/gem_helper_spec.rb +14 -0
- data/spec/lib/guard_helpers/mid_mod_class_method_helper_spec.rb +35 -0
- data/spec/lib/ro_cells/gem_spec.rb +25 -0
- data/spec/lib/ro_commands/base_config_spec.rb +0 -0
- data/spec/lib/ro_commands/base_spec.rb +45 -0
- data/spec/lib/ro_commands/dsl/file_spec.rb +0 -0
- data/spec/lib/ro_commands/env/base_config_spec.rb +0 -0
- data/spec/lib/ro_commands/env/ro_proc_spec.rb +0 -0
- data/spec/lib/ro_commands/env/ro_process_spec.rb +0 -0
- data/spec/lib/ro_commands/file_actions_spec.rb +31 -0
- data/spec/lib/ro_commands/generate_spec.rb +7 -0
- data/spec/lib/ro_commands/generators/base_generator_spec.rb +2 -0
- data/spec/lib/ro_commands/generators/ex_spec.rb +33 -0
- data/spec/lib/ro_commands/generators/lib_spec.rb +2 -0
- data/spec/lib/ro_commands/generators/rails_generator_spec.rb +22 -0
- data/spec/lib/ro_commands/generators/rails_new_app_spec.rb +20 -0
- data/spec/lib/ro_commands/generators/rodebug_spec.rb +17 -0
- data/spec/lib/ro_commands/generators/spec_file_spec.rb +69 -0
- data/spec/lib/ro_commands/git_flow_spec.rb +19 -0
- data/spec/lib/ro_commands/git_spec.rb +0 -0
- data/spec/lib/ro_commands/misc_spec.rb +35 -0
- data/spec/lib/ro_commands/navigate_spec.rb +46 -0
- data/spec/lib/ro_commands/out_spec.rb +23 -0
- data/spec/lib/ro_commands/process_spec.rb +0 -0
- data/spec/lib/ro_commands/processes_spec.rb +0 -0
- data/spec/lib/ro_commands/rails_spec.rb +83 -0
- data/spec/lib/ro_commands/refactor_spec.rb +52 -0
- data/spec/lib/ro_commands/ro_gist_spec.rb +23 -0
- data/spec/lib/ro_commands/ro_helper_spec.rb +32 -0
- data/spec/lib/ro_commands/rubymine_spec.rb +0 -0
- data/spec/lib/ro_commands/version_spec.rb +0 -0
- data/spec/lib/ro_commands/zeus_spec.rb +12 -0
- data/spec/lib/ro_commands_bin_spec.rb +21 -0
- data/spec/lib/ro_commands_spec.rb +1 -0
- data/spec/lib/ro_core_ext/array_spec.rb +11 -0
- data/spec/lib/ro_core_ext/hash_spec.rb +12 -0
- data/spec/lib/ro_core_ext/object_spec.rb +12 -0
- data/spec/lib/ro_core_ext/string_spec.rb +10 -0
- data/spec/lib/ro_file_spec.rb +27 -0
- data/spec/lib/ro_helpers/all_ro_commands_spec.rb +9 -0
- data/spec/lib/ro_helpers/bash_spec.rb +40 -0
- data/spec/lib/ro_helpers/ro_bin_helper_spec.rb +23 -0
- data/spec/lib/ro_rails_helpers/handler_spec.rb +23 -0
- data/spec/lib/ro_rspec_helpers/ro_faker_spec.rb +14 -0
- data/spec/lib/ro_rspec_helpers/spec_helpers_spec.rb +5 -0
- data/spec/lib/ro_rspec_helpers_spec.rb +8 -0
- data/spec/lib/shortcuts_spec.rb +8 -0
- data/spec/lib/tasks/roro_commands_tasks_spec.rb +2 -0
- data/spec/lib/try_spec.rb +0 -0
- data/spec/lib/typography/test/typography_test_spec.rb +2 -0
- data/spec/ro_faker_templates/error_page.erb +1 -0
- data/spec/ro_faker_templates/outside_ro_commands.tt +5 -0
- data/spec/ro_faker_templates/rails4/Gemfile +58 -0
- data/spec/ro_faker_templates/rails4/Gemfile.lock +236 -0
- data/spec/ro_faker_templates/rails4/README.rdoc +28 -0
- data/spec/ro_faker_templates/rails4/Rakefile +6 -0
- data/spec/ro_faker_templates/rails4/app/assets/javascripts/application.js +16 -0
- data/spec/ro_faker_templates/rails4/app/assets/javascripts/articles.js.coffee +3 -0
- data/spec/ro_faker_templates/rails4/app/assets/javascripts/comments.js.coffee +3 -0
- data/spec/ro_faker_templates/rails4/app/assets/javascripts/users.js.coffee +3 -0
- data/spec/ro_faker_templates/rails4/app/assets/stylesheets/application.css +13 -0
- data/spec/ro_faker_templates/rails4/app/assets/stylesheets/articles.css.scss +3 -0
- data/spec/ro_faker_templates/rails4/app/assets/stylesheets/comments.css.scss +3 -0
- data/spec/ro_faker_templates/rails4/app/assets/stylesheets/scaffolds.css.scss +69 -0
- data/spec/ro_faker_templates/rails4/app/assets/stylesheets/users.css.scss +3 -0
- data/spec/ro_faker_templates/rails4/app/controllers/application_controller.rb +5 -0
- data/spec/ro_faker_templates/rails4/app/controllers/articles_controller.rb +74 -0
- data/spec/ro_faker_templates/rails4/app/controllers/comments_controller.rb +74 -0
- data/spec/ro_faker_templates/rails4/app/controllers/users_controller.rb +74 -0
- data/spec/ro_faker_templates/rails4/app/helpers/application_helper.rb +2 -0
- data/spec/ro_faker_templates/rails4/app/helpers/articles_helper.rb +2 -0
- data/spec/ro_faker_templates/rails4/app/helpers/comments_helper.rb +2 -0
- data/spec/ro_faker_templates/rails4/app/helpers/users_helper.rb +2 -0
- data/spec/ro_faker_templates/rails4/app/models/article.rb +2 -0
- data/spec/ro_faker_templates/rails4/app/models/comment.rb +2 -0
- data/spec/ro_faker_templates/rails4/app/models/user.rb +2 -0
- data/spec/ro_faker_templates/rails4/app/views/articles/_form.html.erb +29 -0
- data/spec/ro_faker_templates/rails4/app/views/articles/edit.html.erb +6 -0
- data/spec/ro_faker_templates/rails4/app/views/articles/index.html.erb +31 -0
- data/spec/ro_faker_templates/rails4/app/views/articles/index.json.jbuilder +4 -0
- data/spec/ro_faker_templates/rails4/app/views/articles/new.html.erb +5 -0
- data/spec/ro_faker_templates/rails4/app/views/articles/show.html.erb +19 -0
- data/spec/ro_faker_templates/rails4/app/views/articles/show.json.jbuilder +1 -0
- data/spec/ro_faker_templates/rails4/app/views/comments/_form.html.erb +29 -0
- data/spec/ro_faker_templates/rails4/app/views/comments/edit.html.erb +6 -0
- data/spec/ro_faker_templates/rails4/app/views/comments/index.html.erb +31 -0
- data/spec/ro_faker_templates/rails4/app/views/comments/index.json.jbuilder +4 -0
- data/spec/ro_faker_templates/rails4/app/views/comments/new.html.erb +5 -0
- data/spec/ro_faker_templates/rails4/app/views/comments/show.html.erb +19 -0
- data/spec/ro_faker_templates/rails4/app/views/comments/show.json.jbuilder +1 -0
- data/spec/ro_faker_templates/rails4/app/views/layouts/application.html.erb +14 -0
- data/spec/ro_faker_templates/rails4/app/views/users/_form.html.erb +25 -0
- data/spec/ro_faker_templates/rails4/app/views/users/edit.html.erb +6 -0
- data/spec/ro_faker_templates/rails4/app/views/users/index.html.erb +29 -0
- data/spec/ro_faker_templates/rails4/app/views/users/index.json.jbuilder +4 -0
- data/spec/ro_faker_templates/rails4/app/views/users/new.html.erb +5 -0
- data/spec/ro_faker_templates/rails4/app/views/users/show.html.erb +14 -0
- data/spec/ro_faker_templates/rails4/app/views/users/show.json.jbuilder +1 -0
- data/spec/ro_faker_templates/rails4/bin/bundle +3 -0
- data/spec/ro_faker_templates/rails4/bin/rails +4 -0
- data/spec/ro_faker_templates/rails4/bin/rake +4 -0
- data/spec/ro_faker_templates/rails4/config.ru +4 -0
- data/spec/ro_faker_templates/rails4/config/application.rb +23 -0
- data/spec/ro_faker_templates/rails4/config/boot.rb +4 -0
- data/spec/ro_faker_templates/rails4/config/database.yml +39 -0
- data/spec/ro_faker_templates/rails4/config/environment.rb +5 -0
- data/spec/ro_faker_templates/rails4/config/environments/development.rb +29 -0
- data/spec/ro_faker_templates/rails4/config/environments/production.rb +80 -0
- data/spec/ro_faker_templates/rails4/config/environments/test.rb +36 -0
- data/spec/ro_faker_templates/rails4/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/ro_faker_templates/rails4/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/ro_faker_templates/rails4/config/initializers/inflections.rb +16 -0
- data/spec/ro_faker_templates/rails4/config/initializers/mime_types.rb +5 -0
- data/spec/ro_faker_templates/rails4/config/initializers/secret_token.rb +12 -0
- data/spec/ro_faker_templates/rails4/config/initializers/session_store.rb +3 -0
- data/spec/ro_faker_templates/rails4/config/initializers/wrap_parameters.rb +14 -0
- data/spec/ro_faker_templates/rails4/config/locales/en.yml +23 -0
- data/spec/ro_faker_templates/rails4/config/routes.rb +62 -0
- data/spec/ro_faker_templates/rails4/db/migrate/20131208083747_create_articles.rb +11 -0
- data/spec/ro_faker_templates/rails4/db/migrate/20131208083756_create_comments.rb +11 -0
- data/spec/ro_faker_templates/rails4/db/migrate/20131208083835_create_users.rb +10 -0
- data/spec/ro_faker_templates/rails4/db/seeds.rb +7 -0
- data/spec/ro_faker_templates/rails4/public/404.html +58 -0
- data/spec/ro_faker_templates/rails4/public/422.html +58 -0
- data/spec/ro_faker_templates/rails4/public/500.html +57 -0
- data/spec/ro_faker_templates/rails4/public/favicon.ico +0 -0
- data/spec/ro_faker_templates/rails4/public/robots.txt +5 -0
- data/spec/ro_faker_templates/rails4/test/test_helper.rb +15 -0
- data/spec/ro_faker_templates/routes.erb +3 -0
- data/spec/spec_helper.rb +40 -0
- metadata +1001 -84
- data/README.rdoc +0 -3
- data/lib/ro_commands/core_ext/hash.rb +0 -5
- data/lib/ro_commands/core_ext/string.rb +0 -18
- data/lib/ro_commands/dsl/ro_file.rb +0 -24
- data/lib/ro_commands/helpers/all.rb +0 -8
- data/lib/ro_commands/helpers/all_files.rb +0 -21
- data/lib/ro_commands/helpers/bash.rb +0 -59
- data/lib/ro_commands/helpers/out.rb +0 -88
- data/test/dummy/config/boot.rb +0 -5
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/roro_commands_test.rb +0 -7
- data/test/test_helper.rb +0 -15
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|
@@ -0,0 +1,12 @@
|
|
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 your secret_key_base is kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
Try::Application.config.secret_key_base = '13995251158661708278872eb658d15cb16371c397c1e6dfade66871392aa04be94b17f53354709e8b0517f0a1d0c03b92f7b81f73450a6aba4c1826a45481ca'
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# To learn more, please read the Rails Internationalization guide
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
+
|
22
|
+
en:
|
23
|
+
hello: "Hello world"
|
@@ -0,0 +1,56 @@
|
|
1
|
+
Try::Application.routes.draw do
|
2
|
+
# The priority is based upon order of creation: first created -> highest priority.
|
3
|
+
# See how all your routes lay out with "rake routes".
|
4
|
+
|
5
|
+
# You can have the root of your site routed with "root"
|
6
|
+
# root 'welcome#index'
|
7
|
+
|
8
|
+
# Example of regular route:
|
9
|
+
# get 'products/:id' => 'catalog#view'
|
10
|
+
|
11
|
+
# Example of named route that can be invoked with purchase_url(id: product.id)
|
12
|
+
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
13
|
+
|
14
|
+
# Example resource route (maps HTTP verbs to controller actions automatically):
|
15
|
+
# resources :products
|
16
|
+
|
17
|
+
# Example resource route with options:
|
18
|
+
# resources :products do
|
19
|
+
# member do
|
20
|
+
# get 'short'
|
21
|
+
# post 'toggle'
|
22
|
+
# end
|
23
|
+
#
|
24
|
+
# collection do
|
25
|
+
# get 'sold'
|
26
|
+
# end
|
27
|
+
# end
|
28
|
+
|
29
|
+
# Example resource route with sub-resources:
|
30
|
+
# resources :products do
|
31
|
+
# resources :comments, :sales
|
32
|
+
# resource :seller
|
33
|
+
# end
|
34
|
+
|
35
|
+
# Example resource route with more complex sub-resources:
|
36
|
+
# resources :products do
|
37
|
+
# resources :comments
|
38
|
+
# resources :sales do
|
39
|
+
# get 'recent', on: :collection
|
40
|
+
# end
|
41
|
+
# end
|
42
|
+
|
43
|
+
# Example resource route with concerns:
|
44
|
+
# concern :toggleable do
|
45
|
+
# post 'toggle'
|
46
|
+
# end
|
47
|
+
# resources :posts, concerns: :toggleable
|
48
|
+
# resources :photos, concerns: :toggleable
|
49
|
+
|
50
|
+
# Example resource route within a namespace:
|
51
|
+
# namespace :admin do
|
52
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
53
|
+
# # (app/controllers/admin/products_controller.rb)
|
54
|
+
# resources :products
|
55
|
+
# end
|
56
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# This file should contain all the record creation needed to seed the database with its default values.
|
2
|
+
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
3
|
+
#
|
4
|
+
# Examples:
|
5
|
+
#
|
6
|
+
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
|
7
|
+
# Mayor.create(name: 'Emanuel', city: cities.first)
|
File without changes
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/404.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
54
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/422.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The change you wanted was rejected.</h1>
|
54
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/500.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>We're sorry, but something went wrong.</h1>
|
54
|
+
</div>
|
55
|
+
<p>If you are the application owner check the logs for more information.</p>
|
56
|
+
</body>
|
57
|
+
</html>
|
File without changes
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `ro_rspec_helpers` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# Require this file using `require "spec_helper"` to ensure that it is only
|
4
|
+
# loaded once.
|
5
|
+
#
|
6
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
7
|
+
RSpec.configure do |config|
|
8
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
9
|
+
config.run_all_when_everything_filtered = true
|
10
|
+
config.filter_run :focus
|
11
|
+
|
12
|
+
# Run specs in random order to surface order dependencies. If you find an
|
13
|
+
# order dependency and want to debug it, you can fix the order by providing
|
14
|
+
# the seed, which is printed after each run.
|
15
|
+
# --seed 1234
|
16
|
+
config.order = 'random'
|
17
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
ENV["RAILS_ENV"] ||= "test"
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
3
|
+
require 'rails/test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
ActiveRecord::Migration.check_pending!
|
7
|
+
|
8
|
+
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
|
9
|
+
#
|
10
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
11
|
+
# -- they do not yet inherit this setting
|
12
|
+
fixtures :all
|
13
|
+
|
14
|
+
# Add more helper methods to be used by all tests here...
|
15
|
+
end
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Action Controller: Exception caught</title> <style> body { background-color: #FAFAFA; color: #333; margin: 0px; } body, p, ol, ul, td { font-family: helvetica, verdana, arial, sans-serif; font-size: 13px; line-height: 18px; } pre { font-size: 11px; white-space: pre-wrap; } pre.box { border: 1px solid #EEE; padding: 10px; margin: 0px; width: 958px; } header { color: #F0F0F0; background: #C52F24; padding: 0.5em 1.5em; } h1 { margin: 0.2em 0; line-height: 1.1em; font-size: 2em; } h2 { color: #C52F24; line-height: 25px; } .details { border: 1px solid #D0D0D0; border-radius: 4px; margin: 1em 0px; display: block; width: 978px; } .summary { padding: 8px 15px; border-bottom: 1px solid #D0D0D0; display: block; } .details pre { margin: 5px; border: none; } #container { box-sizing: border-box; width: 100%; padding: 0 1.5em; } .source * { margin: 0px; padding: 0px; } .source { border: 1px solid #D9D9D9; background: #ECECEC; width: 978px; } .source pre { padding: 10px 0px; border: none; } .source .data { font-size: 80%; overflow: auto; background-color: #FFF; } .info { padding: 0.5em; } .source .data .line_numbers { background-color: #ECECEC; color: #AAA; padding: 1em .5em; border-right: 1px solid #DDD; text-align: right; } .line { padding-left: 10px; } .line:hover { background-color: #F6F6F6; } .line.active { background-color: #FFCCCC; } a { color: #980905; } a:visited { color: #666; } a:hover { color: #C52F24; } </style> <script> var toggle = function(id) { var s = document.getElementById(id).style; s.display = s.display == 'none' ? 'block' : 'none'; return false; } var show = function(id) { document.getElementById(id).style.display = 'block'; } var hide = function(id) { document.getElementById(id).style.display = 'none'; } var toggleTrace = function() { return toggle('blame_trace'); } var toggleSessionDump = function() { return toggle('session_dump'); } var toggleEnvDump = function() { return toggle('RoCommands.rootdump'); } </script> </head> <body> <header> <h1>Routing Error</h1> </header> <div id="container"> <h2>No route matches [GET] "/app/index/www"</h2> <p><code>Rails.root: /home/zxr/Dropbox/ruby-projects/try</code></p> <div id="traces"> <a href="#" onclick="hide('Framework-Trace');hide('Full-Trace');show('Application-Trace');; return false;">Application Trace</a> | <a href="#" onclick="hide('Application-Trace');hide('Full-Trace');show('Framework-Trace');; return false;">Framework Trace</a> | <a href="#" onclick="hide('Application-Trace');hide('Framework-Trace');show('Full-Trace');; return false;">Full Trace</a> <div id="Application-Trace" style="display: block;"> <pre><code></code></pre> </div> <div id="Framework-Trace" style="display: none;"> <pre><code>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb:38:in `call_app' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb:20:in `block in call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:67:in `block in tagged' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:25:in `tagged' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:67:in `tagged' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb:20:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/request_id.rb:21:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/cache/strategy/local_cache.rb:83:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/static.rb:64:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb:511:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/application.rb:97:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'</code></pre> </div> <div id="Full-Trace" style="display: none;"> <pre><code>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb:38:in `call_app' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb:20:in `block in call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:67:in `block in tagged' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:25:in `tagged' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:67:in `tagged' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb:20:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/request_id.rb:21:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/cache/strategy/local_cache.rb:83:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/static.rb:64:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb:511:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/application.rb:97:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'</code></pre> </div> </div> </div> </body> </html>
|
@@ -0,0 +1 @@
|
|
1
|
+
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" <a href='http://localhost:3000/rodebug/start/> <title>Action Controller: Exception caught</title> <style> body { background-color: #FAFAFA; color: #333; margin: 0px; } body, p, ol, ul, td { font-family: helvetica, verdana, arial, sans-serif; font-size: 13px; line-height: 18px; } pre { font-size: 11px; white-space: pre-wrap; } pre.box { border: 1px solid #EEE; padding: 10px; margin: 0px; width: 958px; } header { color: #F0F0F0; background: #C52F24; padding: 0.5em 1.5em; } h1 { margin: 0.2em 0; line-height: 1.1em; font-size: 2em; } h2 { color: #C52F24; line-height: 25px; } .details { border: 1px solid #D0D0D0; border-radius: 4px; margin: 1em 0px; display: block; width: 978px; } .summary { padding: 8px 15px; border-bottom: 1px solid #D0D0D0; display: block; } .details pre { margin: 5px; border: none; } #container { box-sizing: border-box; width: 100%; padding: 0 1.5em; } .source * { margin: 0px; padding: 0px; } .source { border: 1px solid #D9D9D9; background: #ECECEC; width: 978px; } .source pre { padding: 10px 0px; border: none; } .source .data { font-size: 80%; overflow: auto; background-color: #FFF; } .info { padding: 0.5em; } .source .data .line_numbers { background-color: #ECECEC; color: #AAA; padding: 1em .5em; border-right: 1px solid #DDD; text-align: right; } .line { padding-left: 10px; } .line:hover { background-color: #F6F6F6; } .line.active { background-color: #FFCCCC; } a { color: #980905; } a:visited { color: #666; } a:hover { color: #C52F24; } </style> <script> var toggle = function(id) { var s = document.getElementById(id).style; s.display = s.display == 'none' ? 'block' : 'none'; return false; } var show = function(id) { document.getElementById(id).style.display = 'block'; } var hide = function(id) { document.getElementById(id).style.display = 'none'; } var toggleTrace = function() { return toggle('blame_trace'); } var toggleSessionDump = function() { return toggle('session_dump'); } var toggleEnvDump = function() { return toggle('RoCommands.rootdump'); } </script> </head> <body> <header> <h1>Routing Error</h1> </header> <div id="container"> <h2>No route matches [GET] "/app/index/www"</h2> <p><code>Rails.root: /home/zxr/Dropbox/ruby-projects/try</code></p> <div id="traces"> <a href="#" onclick="hide('Framework-Trace');hide('Full-Trace');show('Application-Trace');; return false;">Application Trace</a> | <a href="#" onclick="hide('Application-Trace');hide('Full-Trace');show('Framework-Trace');; return false;">Framework Trace</a> | <a href="#" onclick="hide('Application-Trace');hide('Framework-Trace');show('Full-Trace');; return false;">Full Trace</a> <div id="Application-Trace" style="display: block;"> <pre><code></code></pre> </div> <div id="Framework-Trace" style="display: none;"> <pre><code>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/debug_exceptions.rb/21'>/> <title>Action Controller: Exception caught</title> <style> body { background-color: #FAFAFA; color: #333; margin: 0px; } body, p, ol, ul, td { font-family: helvetica, verdana, arial, sans-serif; font-size: 13px; line-height: 18px; } pre { font-size: 11px; white-space: pre-wrap; } pre.box { border: 1px solid #EEE; padding: 10px; margin: 0px; width: 958px; } header { color: #F0F0F0; background: #C52F24; padding: 0.5em 1.5em; } h1 { margin: 0.2em 0; line-height: 1.1em; font-size: 2em; } h2 { color: #C52F24; line-height: 25px; } .details { border: 1px solid #D0D0D0; border-radius: 4px; margin: 1em 0px; display: block; width: 978px; } .summary { padding: 8px 15px; border-bottom: 1px solid #D0D0D0; display: block; } .details pre { margin: 5px; border: none; } #container { box-sizing: border-box; width: 100%; padding: 0 1.5em; } .source * { margin: 0px; padding: 0px; } .source { border: 1px solid #D9D9D9; background: #ECECEC; width: 978px; } .source pre { padding: 10px 0px; border: none; } .source .data { font-size: 80%; overflow: auto; background-color: #FFF; } .info { padding: 0.5em; } .source .data .line_numbers { background-color: #ECECEC; color: #AAA; padding: 1em .5em; border-right: 1px solid #DDD; text-align: right; } .line { padding-left: 10px; } .line:hover { background-color: #F6F6F6; } .line.active { background-color: #FFCCCC; } a { color: #980905; } a:visited { color: #666; } a:hover { color: #C52F24; } </style> <script> var toggle = function(id) { var s = document.getElementById(id).style; s.display = s.display == 'none' ? 'block' : 'none'; return false; } var show = function(id) { document.getElementById(id).style.display = 'block'; } var hide = function(id) { document.getElementById(id).style.display = 'none'; } var toggleTrace = function() { return toggle('blame_trace'); } var toggleSessionDump = function() { return toggle('session_dump'); } var toggleEnvDump = function() { return toggle('RoCommands.rootdump'); } </script> </head> <body> <header> <h1>Routing Error</h1> </header> <div id="container"> <h2>No route matches [GET] "/app/index/www"</h2> <p><code>Rails.root: /home/zxr/Dropbox/ruby-projects/try</code></p> <div id="traces"> <a href="#" onclick="hide('Framework-Trace');hide('Full-Trace');show('Application-Trace');; return false;">Application Trace</a> | <a href="#" onclick="hide('Application-Trace');hide('Full-Trace');show('Framework-Trace');; return false;">Framework Trace</a> | <a href="#" onclick="hide('Application-Trace');hide('Framework-Trace');show('Full-Trace');; return false;">Full Trace</a> <div id="Application-Trace" style="display: block;"> <pre><code></code></pre> </div> <div id="Framework-Trace" style="display: none;"> <pre><code>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:21</a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/show_exceptions.rb/30'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/show_exceptions.rb/30'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/show_exceptions.rb:30</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/38'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/38'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb:38</a></a>:in `call_app' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb:20</a></a></a></a>:in `block in call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:67</a></a></a></a>:in `block in tagged' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/25'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/25'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:25</a></a>:in `tagged' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:67</a></a></a></a>:in `tagged' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb:20</a></a></a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/request_id.rb/21'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/request_id.rb/21'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/request_id.rb:21</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb/21'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb/21'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb/17'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb/17'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/cache/strategy/local_cache.rb/83'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/cache/strategy/local_cache.rb/83'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/cache/strategy/local_cache.rb:83</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17</a></a></a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/static.rb/64'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/static.rb/64'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/static.rb:64</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb/112'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb/112'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb/511'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb/511'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb:511</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/application.rb/97'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/application.rb/97'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/application.rb:97</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17</a></a></a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb/14'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb/14'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb/60'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb/60'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60</a></a>:in `service' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb/138'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb/138'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138</a></a>:in `service' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb/94'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb/94'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94</a></a>:in `run' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb/295'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb/295'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295</a></a>:in `block in start_thread'<<a href='http://localhost:3000/rodebug/start/code></pre> </div> <div id="Full-Trace" style="display: none;"> <pre><code>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/debug_exceptions.rb/21'>/code></pre> </div> <div id="Full-Trace" style="display: none;"> <pre><code>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:21</a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/show_exceptions.rb/30'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/show_exceptions.rb/30'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/show_exceptions.rb:30</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/38'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/38'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb:38</a></a>:in `call_app' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb:20</a></a></a></a>:in `block in call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:67</a></a></a></a>:in `block in tagged' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/25'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/25'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:25</a></a>:in `tagged' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb/67'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:67</a></a></a></a>:in `tagged' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb/20'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/rack/logger.rb:20</a></a></a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/request_id.rb/21'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/request_id.rb/21'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/request_id.rb:21</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb/21'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb/21'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb/17'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb/17'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/cache/strategy/local_cache.rb/83'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/cache/strategy/local_cache.rb/83'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/active_support/cache/strategy/local_cache.rb:83</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17</a></a></a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/static.rb/64'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/static.rb/64'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/static.rb:64</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb/112'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb/112'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb/511'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb/511'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb:511</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/application.rb/97'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/application.rb/97'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/application.rb:97</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb/17'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17</a></a></a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb/14'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb/14'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14</a></a>:in `call' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb/60'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb/60'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60</a></a>:in `service' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb/138'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb/138'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138</a></a>:in `service' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb/94'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb/94'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94</a></a>:in `run' <a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb/295'><a href='http://localhost:3000/rodebug/start/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb/295'>/home/zxr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295</a></a>:in `block in start_thread'</code></pre> </div> </div> </div> </body> </html>
|