From fa7835f17417e31d716d6d51a18115e7d0ad7c73 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 9 Dec 2013 04:54:16 +0000 Subject: [PATCH] fixed everything to work in production --- Gemfile | 2 +- Gemfile.lock | 4 +- app/assets/stylesheets/application.css | 324 ++++++++++++++ app/views/layouts/application.html.erb | 3 +- db/production.sqlite3 | Bin 0 -> 10240 bytes log/production.log | 403 ++++++++++++++++++ ...cation-06b927a0de388ac6dd434f9a863fc90f.js | 7 + ...ion-06b927a0de388ac6dd434f9a863fc90f.js.gz | Bin 0 -> 75663 bytes ...ation-d74ad4fdccf7121ef1420ae1e33fe7d6.css | 1 + ...on-d74ad4fdccf7121ef1420ae1e33fe7d6.css.gz | Bin 0 -> 5526 bytes ...fest-f6673ff2ba2596053bd5c9ef6349ea71.json | 1 + ...en400-302111ca4b8654dacf6509da7ad0a589.ttf | Bin 0 -> 25596 bytes ...en400-49514c320f657b49e8c054f0e853ca69.eot | Bin 0 -> 21070 bytes ...n400-81d920b6baae249ef385698f2fce65b3.woff | Bin 0 -> 23336 bytes ...en700-229e7b920806b12ced67b228d3aefa10.ttf | Bin 0 -> 27552 bytes ...n700-b69af91c69f24be41ef9cf1db8041cf0.woff | Bin 0 -> 23868 bytes ...en700-c0a7692f6d6f031b34e1cb36d3d5a8f9.eot | Bin 0 -> 21728 bytes .../0047700ea779987f6a0536e0ffe7e50b | Bin 0 -> 707 bytes .../0c6610ca6b397050f605de7c62a8d7b6 | Bin 0 -> 274028 bytes .../13fe41fee1fe35b49d145bcc06610705 | Bin 0 -> 18793 bytes .../1e1d8680554aa7fd34bd9437666f45ce | Bin 0 -> 330 bytes .../2f5173deea6c795b8fdde723bb4b63af | Bin 0 -> 218800 bytes .../34c4a3bb101920273704e83f62217afb | Bin 0 -> 330 bytes .../357970feca3ac29060c1e3861e2c0953 | Bin 0 -> 18793 bytes .../386e9196dd0f9efdce6f92ce93a6d107 | Bin 0 -> 10262 bytes .../4ad413f3e3326481d2f5f9327bbd0e12 | Bin 0 -> 699 bytes .../4c9350f2b20f1fa17ffd38764220eeba | Bin 0 -> 14092 bytes .../54da75a4f975617a5e964da777e63722 | Bin 0 -> 329 bytes .../5721518c3e00804cb4b6368ed7dfbe12 | Bin 0 -> 329 bytes .../5b4907b56378cc81ec961c24ad4a10eb | Bin 0 -> 8004 bytes .../6659bb7317146552d38728df6a6da31c | Bin 0 -> 335 bytes .../66ef6b334653e6d57d0a0b8fb3f73786 | Bin 0 -> 14092 bytes .../6731cd844b07acc86708ce39bc6bb83a | Bin 0 -> 329 bytes .../773954174f64e89d38451dd8e9092b04 | Bin 0 -> 19916 bytes .../801aab3195e8a9520d0ebd769de0446d | Bin 0 -> 335 bytes .../8287b99e425e9bdb3c49e6f6532170c4 | Bin 0 -> 707 bytes .../837bef08e6a3cbc48a17a7310072e4c1 | Bin 0 -> 16319 bytes .../85ae64edf528ce6e981889f3f3c285d9 | Bin 0 -> 699 bytes .../8618cf35e48a1995329f3fcfea006ced | Bin 0 -> 715 bytes .../91538b88c626014969abafb623c72286 | Bin 0 -> 16319 bytes .../9443a4df05e4cc865b708fd2f2b5b4d8 | Bin 0 -> 8004 bytes .../9a038be696cbcf0834d1639950b1946b | Bin 0 -> 93745 bytes .../a51ba41ff6777866ce33812fd794ea1c | Bin 0 -> 274028 bytes .../ae3a952d6d3d42921dd513bbe53d34bc | Bin 0 -> 707 bytes .../cc6ca792014480b4b3b0beb4a32a75ca | Bin 0 -> 330 bytes .../cd6137e659740e45ff55b6988b9c6750 | Bin 0 -> 329 bytes .../cffd775d018f68ce5dba1ee0d951a994 | Bin 0 -> 218800 bytes .../d41741c431040d30557864a6dcb69afc | Bin 0 -> 715 bytes .../d771ace226fc8215a3572e0aa35bb0d6 | Bin 0 -> 11351 bytes .../e36b8fcf5914a3a6bf058abfe7367b19 | Bin 0 -> 10262 bytes .../e6de3b01146285d2a22a6623961f516f | Bin 0 -> 330 bytes .../f391b64235b7ad17b81ab7754710ea1d | Bin 0 -> 93745 bytes .../f795d79d61922699842768ef1cd2149c | Bin 0 -> 335 bytes .../f7cbd26ba1d28d48de824f0e94586655 | Bin 0 -> 3638 bytes .../fd7a15734013e24a3779ef20a7f3d281 | Bin 0 -> 707 bytes .../fdd0b729da4bef3d459b0856e70c416d | Bin 0 -> 19916 bytes .../ffe59ded01d9126977209b5ddbe5baf6 | Bin 0 -> 335 bytes 57 files changed, 740 insertions(+), 5 deletions(-) create mode 100644 db/production.sqlite3 create mode 100644 log/production.log create mode 100644 public/assets/application-06b927a0de388ac6dd434f9a863fc90f.js create mode 100644 public/assets/application-06b927a0de388ac6dd434f9a863fc90f.js.gz create mode 100644 public/assets/application-d74ad4fdccf7121ef1420ae1e33fe7d6.css create mode 100644 public/assets/application-d74ad4fdccf7121ef1420ae1e33fe7d6.css.gz create mode 100644 public/assets/manifest-f6673ff2ba2596053bd5c9ef6349ea71.json create mode 100644 public/assets/oxygen400-302111ca4b8654dacf6509da7ad0a589.ttf create mode 100644 public/assets/oxygen400-49514c320f657b49e8c054f0e853ca69.eot create mode 100644 public/assets/oxygen400-81d920b6baae249ef385698f2fce65b3.woff create mode 100644 public/assets/oxygen700-229e7b920806b12ced67b228d3aefa10.ttf create mode 100644 public/assets/oxygen700-b69af91c69f24be41ef9cf1db8041cf0.woff create mode 100644 public/assets/oxygen700-c0a7692f6d6f031b34e1cb36d3d5a8f9.eot create mode 100644 tmp/cache/assets/production/sprockets/0047700ea779987f6a0536e0ffe7e50b create mode 100644 tmp/cache/assets/production/sprockets/0c6610ca6b397050f605de7c62a8d7b6 create mode 100644 tmp/cache/assets/production/sprockets/13fe41fee1fe35b49d145bcc06610705 create mode 100644 tmp/cache/assets/production/sprockets/1e1d8680554aa7fd34bd9437666f45ce create mode 100644 tmp/cache/assets/production/sprockets/2f5173deea6c795b8fdde723bb4b63af create mode 100644 tmp/cache/assets/production/sprockets/34c4a3bb101920273704e83f62217afb create mode 100644 tmp/cache/assets/production/sprockets/357970feca3ac29060c1e3861e2c0953 create mode 100644 tmp/cache/assets/production/sprockets/386e9196dd0f9efdce6f92ce93a6d107 create mode 100644 tmp/cache/assets/production/sprockets/4ad413f3e3326481d2f5f9327bbd0e12 create mode 100644 tmp/cache/assets/production/sprockets/4c9350f2b20f1fa17ffd38764220eeba create mode 100644 tmp/cache/assets/production/sprockets/54da75a4f975617a5e964da777e63722 create mode 100644 tmp/cache/assets/production/sprockets/5721518c3e00804cb4b6368ed7dfbe12 create mode 100644 tmp/cache/assets/production/sprockets/5b4907b56378cc81ec961c24ad4a10eb create mode 100644 tmp/cache/assets/production/sprockets/6659bb7317146552d38728df6a6da31c create mode 100644 tmp/cache/assets/production/sprockets/66ef6b334653e6d57d0a0b8fb3f73786 create mode 100644 tmp/cache/assets/production/sprockets/6731cd844b07acc86708ce39bc6bb83a create mode 100644 tmp/cache/assets/production/sprockets/773954174f64e89d38451dd8e9092b04 create mode 100644 tmp/cache/assets/production/sprockets/801aab3195e8a9520d0ebd769de0446d create mode 100644 tmp/cache/assets/production/sprockets/8287b99e425e9bdb3c49e6f6532170c4 create mode 100644 tmp/cache/assets/production/sprockets/837bef08e6a3cbc48a17a7310072e4c1 create mode 100644 tmp/cache/assets/production/sprockets/85ae64edf528ce6e981889f3f3c285d9 create mode 100644 tmp/cache/assets/production/sprockets/8618cf35e48a1995329f3fcfea006ced create mode 100644 tmp/cache/assets/production/sprockets/91538b88c626014969abafb623c72286 create mode 100644 tmp/cache/assets/production/sprockets/9443a4df05e4cc865b708fd2f2b5b4d8 create mode 100644 tmp/cache/assets/production/sprockets/9a038be696cbcf0834d1639950b1946b create mode 100644 tmp/cache/assets/production/sprockets/a51ba41ff6777866ce33812fd794ea1c create mode 100644 tmp/cache/assets/production/sprockets/ae3a952d6d3d42921dd513bbe53d34bc create mode 100644 tmp/cache/assets/production/sprockets/cc6ca792014480b4b3b0beb4a32a75ca create mode 100644 tmp/cache/assets/production/sprockets/cd6137e659740e45ff55b6988b9c6750 create mode 100644 tmp/cache/assets/production/sprockets/cffd775d018f68ce5dba1ee0d951a994 create mode 100644 tmp/cache/assets/production/sprockets/d41741c431040d30557864a6dcb69afc create mode 100644 tmp/cache/assets/production/sprockets/d771ace226fc8215a3572e0aa35bb0d6 create mode 100644 tmp/cache/assets/production/sprockets/e36b8fcf5914a3a6bf058abfe7367b19 create mode 100644 tmp/cache/assets/production/sprockets/e6de3b01146285d2a22a6623961f516f create mode 100644 tmp/cache/assets/production/sprockets/f391b64235b7ad17b81ab7754710ea1d create mode 100644 tmp/cache/assets/production/sprockets/f795d79d61922699842768ef1cd2149c create mode 100644 tmp/cache/assets/production/sprockets/f7cbd26ba1d28d48de824f0e94586655 create mode 100644 tmp/cache/assets/production/sprockets/fd7a15734013e24a3779ef20a7f3d281 create mode 100644 tmp/cache/assets/production/sprockets/fdd0b729da4bef3d459b0856e70c416d create mode 100644 tmp/cache/assets/production/sprockets/ffe59ded01d9126977209b5ddbe5baf6 diff --git a/Gemfile b/Gemfile index e2b69c4..cd182c9 100644 --- a/Gemfile +++ b/Gemfile @@ -34,7 +34,7 @@ end gem 'rack-cors', :require => 'rack/cors' -gem 'ridc' +gem 'ridc', "~> 0.0.6" # Use ActiveModel has_secure_password # gem 'bcrypt-ruby', '~> 3.1.2' diff --git a/Gemfile.lock b/Gemfile.lock index 870fb54..7a39192 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -73,7 +73,7 @@ GEM rake (10.1.0) rdoc (3.12.2) json (~> 1.4) - ridc (0.0.5) + ridc (0.0.6) sass (3.2.12) sass-rails (4.0.1) railties (>= 4.0.0, < 5.0) @@ -115,7 +115,7 @@ DEPENDENCIES jquery-rails rack-cors rails (= 4.0.1) - ridc + ridc (~> 0.0.6) sass-rails (~> 4.0.0) sdoc sqlite3 diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 3192ec8..8b26787 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -11,3 +11,327 @@ *= require_self *= require_tree . */ + +@font-face { + font-family: 'Oxygen'; + font-style: normal; + font-weight: 400; + src: url(oxygen400.ttf) format('truetype'); + src: url(oxygen400.woff) format('woff'); + src: url(oxygen400.eot); + src: local('Oxygen'), local('Oxygen-Regular'), url(oxygen400.eot) format('embedded-opentype'), url(oxygen400.woff) format('woff'); +} + +@font-face { + font-family: 'Oxygen'; + font-style: normal; + font-weight: 700; + src: url(oxygen700.ttf) format('truetype'); + src: url(oxygen700.woff) format('woff'); + src: url(oxygen400.eot); + src: local('Oxygen Bold'), local('Oxygen-Bold'), url(oxygen700.eot) format('embedded-opentype'), url(oxygen700.woff) format('woff'); +} + + +html { + -webkit-tap-highlight-color: rgba(0,0,0,0); +} + +body { + font-family: Oxygen, sans-serif; + font-size: 16px; + min-width: 320px; + background-color: #ecebe6; + color: #666; +} + +a { + text-decoration: none; + color: #666; +} + +.main { + padding: 10px; + max-width: 820px; + min-width: 320px; + margin: 0 auto; +} + +.footer { + text-align: center; + font-size: .9em; + line-height: 1.7; + color: #666; + border-top: 1px solid #ccc; + padding: 5px; + + bottom: 0px; + left: 0px; + right: 0px; + z-index: -1; + min-width: 320px; +} + +.home { + text-align: center; + margin-top: 50px; +} + +.wins { + text-align: left; + border: 1px solid #ccc; + padding: 10px; + width: 80%; + margin: 20px auto; + overflow-y: auto; +} + +.word { + font-weight: bold; +} + +.topnav { + overflow: hidden; + margin-bottom: 20px; +} + +.title, .titlenum { + font-weight: bold; + font-size: 1.6em; + line-height: 1; + color: #faa51a; + margin: 0px; +} + +.title { + float: left; +} + +.titlenum { + float: right; +} + +.nav { + text-align: center; + margin: 20px; +} + +.nav span { + display: inline-block; + padding: 0px 10px; + cursor: pointer; + color: #666; + border: 1px solid #faa51a; + line-height: 1.5; + margin: 0px 5px; +} + +.timer { + color: #aaa; + position: absolute; + top: 0px; + left: 0px; + right: 0px; + text-align: center; + padding-top: 10px; + min-width: 340px; +} + +.content { + clear: both; +} + + + +body { + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -o-user-select: none; + user-select: none; +} + +.squares table { + width: 100%; + margin: 0px auto; +} + +.squares tr { + text-align: center; +} + +.squares td { + text-align: center; + width: 16%; + height: 62px; +} + +.letters { + margin: 5px; + -moz-user-select: none; + -webkit-user-select: none; + user-select: none; + -khtml-user-select: none; + font-size: 1.8em; + line-height: 1.8; + font-weight: bold; + text-transform: uppercase; + color: #fff; + text-align: center; + background-color: #FAA51A; + cursor: pointer + } + + +.puznum { + font-size: 1em; + padding: 5px; + margin: 20px auto; + border: 1px solid #333; + text-align: center; + position: relative; + outline: none; +} + +.btn { + padding: 0 10px; + margin-left: 5px; + -moz-user-select: none; + -webkit-user-select: none; + user-select: none; + -khtml-user-select: none; + font-size: 1.1em; + line-height: 1.6; + font-weight: bold; + text-transform: uppercase; + color: #fff; + text-align: center; + background-color: #FAA51A; + border: none; + cursor: pointer + } + +.clues { + margin: 0px; +} + +.clues ul { + margin: 0px; + padding: 0px; + list-style-type: none; +} +.clues li { + cursor: default; + padding: 5px; +} + +.clues li:nth-child(odd) { + background-color: #fff; +} + +.answer { + margin: 15px auto; + border: 1px solid #aaa; + overflow: hidden; + padding: 5px 5px; + text-align: center; + position: relative; + background-color: #fff; +} + +.answertext, .reset, .guess { + margin: 14px 20px 10px; +} + +.reset { + color: #aaa; + padding: 5px 13px; + cursor: pointer; + position: absolute; + right: 8px; + top: 8px; + margin: 0px; + font-size: 1.2em; +} + +.answertext { + font-weight: bold; + font-size: 2em; + color: #faa51a; +} + +.correct { + color: #faa51a; + font-weight: bold; +} + +.squares h1 { + text-align: center; + margin: 20px; + font-size: 3em; + color: green; +} + +.squares h3 { + text-align: center; +} + +.share { + margin-top: 20px; +} + +.share i { + display: inline-block; + padding-top: 3px; + width: 32px; + height: 32px; + vertical-align: middle; + background-repeat: no-repeat; + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAEJGlDQ1BJQ0MgUHJvZmlsZQAAOBGFVd9v21QUPolvUqQWPyBYR4eKxa9VU1u5Gx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G9xQuOP73mt58Lfeu67Cb/zgMo3aX1tby5j8azAMh2pi18FTSaKblmoreXhzPbu+Itg4p6kCZRrC0U3t5NoK9Nma78l8vplplVFVgOT1CwPB6+Pnif1/ve00KXC/Iavz/AiaNmp4c6XwYAAAAAElFTkSuQmCC); +} + + +@media (max-width: 959px) { + + .forkme{ + display:none; + } + +} + + + +@media (max-width: 480px) { + + body{ + font-size: 13px; + } + + .clues{ + overflow: auto; + height: 140px; + -webkit-overflow-scrolling: touch; + border: 1px solid #ccc; + } + + .nav { + margin: 10px; + } + + .letters { + margin: 1px; + font-size: 1.5em; + } + + .squares td{ + height: 38px; + } + + .forkme{ + display: none; + } + +} + + + diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index a90b209..8d55dc1 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -20,9 +20,8 @@ -Fork me on GitHub diff --git a/db/production.sqlite3 b/db/production.sqlite3 new file mode 100644 index 0000000000000000000000000000000000000000..e994c19a5ba4a6a94500f0c0181172638b66287d GIT binary patch literal 10240 zcmeI1?`zXQ7{~8&X`>UN3X&Ilu``0KY;$Rnjde`0x*%m;w$&Eho0Y7+b%7>z`7uQB zMfVT+#)1EV;GZDA^1Z&$m%j0?O-Hk?$R@+G-O)79eedV<2~VFReX&(?LW1|&zH5hA z2O@wFJi!PEjXAjRPiS^lSoeqJ~M zPT(36VDS&pFF-%MZ~~mb)hBQZqDk0{NDz>K=l`q!yt#**z(@kU{C^D4@yIT`ffL{a z#)&`?rop`jg@V2B1o*ApYffw`PEr{=M$FKha;vGgdP%P(ri=oS|LDYydQ z3Vbi*g`a43oE#nRy&OPEo}Y)EJE6VXB0+thxOUBTn!X)6Z7&!SglA>5P%&|(@U&!N zWvE@j)5;<713Fm2hqhnexBY2tVIhmHjS9A^rBb#d36lJnt~u{`4e}=PoP&tehGrTP zP`q^2DsELxT(nlrS6CS}T)`XGU-p;nEFwvkWq7pK^*##d#=Bo)(#x*KJaZZfUAJOB zH_LdlTwE`dxAB^}jSJPvM$w{!)=i6g8GAZQcSoo6Y?mZi(1yU>tFhS}FCE?` zJ0y*o9V)m%tQD`Xq>2VG!Tai8+*5y)ckdjx$Gx_?(9ZfB!e$zcGAwoWNxgVDT>q zJ3!b$4=-~aKKFGb&@t1!%xHHrWBk%7zDdc<7^@e~jAtGd8f4G$9CjT0r!3idDM|9w q6g+y@J2kXhQSXS?H*O|<3HthlyzwG;m-vI{n={k=$n(*8^8X)F?6Hpk literal 0 HcmV?d00001 diff --git a/log/production.log b/log/production.log new file mode 100644 index 0000000..68a4765 --- /dev/null +++ b/log/production.log @@ -0,0 +1,403 @@ +I, [2013-12-09T02:52:30.492990 #29636] INFO -- : Migrating to CreateUsers (20131202062124) +E, [2013-12-09T02:52:30.617519 #29636] ERROR -- : Connection refused - connect(2) +I, [2013-12-09T02:52:30.619222 #29636] INFO -- : Migrating to CreateResults (20131204034931) +E, [2013-12-09T02:52:30.759584 #29636] ERROR -- : Connection refused - connect(2) +I, [2013-12-09T02:52:30.761200 #29636] INFO -- : Migrating to CreateGuesses (20131204054438) +E, [2013-12-09T02:52:30.881497 #29636] ERROR -- : Connection refused - connect(2) +I, [2013-12-09T02:52:30.883211 #29636] INFO -- : Migrating to CreateSolutions (20131206040324) +E, [2013-12-09T02:52:31.028295 #29636] ERROR -- : Connection refused - connect(2) +I, [2013-12-09T03:20:34.192489 #25713] INFO -- : Started GET "/rijeci_backend/guesses/" for 46.36.161.64 at 2013-12-09 03:20:34 +0000 +I, [2013-12-09T03:20:34.204386 #25713] INFO -- : Processing by GuessesController#index as HTML +I, [2013-12-09T03:20:34.219324 #25713] INFO -- : Rendered guesses/index.html.erb within layouts/application (2.2ms) +I, [2013-12-09T03:20:34.221113 #25713] INFO -- : Completed 200 OK in 17ms (Views: 4.6ms | ActiveRecord: 0.3ms) +I, [2013-12-09T03:20:34.408428 #25732] INFO -- : Started GET "/rijeci_backend/javascripts/application.js" for 46.36.161.64 at 2013-12-09 03:20:34 +0000 +F, [2013-12-09T03:20:34.417631 #25732] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T03:20:44.204372 #25790] INFO -- : Started GET "/rijeci_backend/solutions" for 46.36.161.64 at 2013-12-09 03:20:44 +0000 +I, [2013-12-09T03:20:44.215965 #25790] INFO -- : Processing by SolutionsController#index as HTML +I, [2013-12-09T03:20:44.231800 #25790] INFO -- : Rendered solutions/index.html.erb within layouts/application (2.5ms) +I, [2013-12-09T03:20:44.233604 #25790] INFO -- : Completed 200 OK in 18ms (Views: 5.0ms | ActiveRecord: 0.3ms) +I, [2013-12-09T03:20:44.394625 #25815] INFO -- : Started GET "/rijeci_backend/javascripts/application.js" for 46.36.161.64 at 2013-12-09 03:20:44 +0000 +F, [2013-12-09T03:20:44.410704 #25815] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T03:23:48.891879 #25831] INFO -- : Started POST "/rijeci_backend/guesses.json" for 46.36.161.64 at 2013-12-09 03:23:48 +0000 +I, [2013-12-09T03:23:48.901529 #25831] INFO -- : Processing by GuessesController#create as JSON +I, [2013-12-09T03:23:48.901594 #25831] INFO -- : Parameters: {"username"=>"ahis", "definition"=>" zagonetno."} +I, [2013-12-09T03:23:49.211366 #25831] INFO -- : Rendered guesses/show.json.jbuilder (28.0ms) +I, [2013-12-09T03:23:49.211847 #25831] INFO -- : Completed 500 Internal Server Error in 310ms +F, [2013-12-09T03:23:49.214266 #25831] FATAL -- : +ActionView::Template::Error (undefined local variable or method `guess' for #<#:0x00000003d3e9f8>): + 1: json.extract! guess, :username, :definition + app/views/guesses/show.json.jbuilder:1:in `_app_views_guesses_show_json_jbuilder__503967911290946818_32156880' + app/controllers/guesses_controller.rb:23:in `block (2 levels) in create' + app/controllers/guesses_controller.rb:21:in `create' + + +I, [2013-12-09T03:23:52.892576 #26138] INFO -- : Started GET "/rijeci_backend/guesses" for 46.36.161.64 at 2013-12-09 03:23:52 +0000 +I, [2013-12-09T03:23:52.909097 #26138] INFO -- : Processing by GuessesController#index as HTML +I, [2013-12-09T03:23:52.934226 #26138] INFO -- : Rendered guesses/index.html.erb within layouts/application (12.1ms) +I, [2013-12-09T03:23:52.935851 #26138] INFO -- : Completed 200 OK in 27ms (Views: 14.0ms | ActiveRecord: 0.6ms) +I, [2013-12-09T03:23:53.110456 #26149] INFO -- : Started GET "/rijeci_backend/stylesheets/application.css" for 46.36.161.64 at 2013-12-09 03:23:53 +0000 +F, [2013-12-09T03:23:53.129099 #26149] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T03:24:05.028602 #26189] INFO -- : Started GET "/rijeci_backend/users?username=ahis" for 46.36.161.64 at 2013-12-09 03:24:05 +0000 +I, [2013-12-09T03:24:05.049900 #26189] INFO -- : Processing by UsersController#index as HTML +I, [2013-12-09T03:24:05.050017 #26189] INFO -- : Parameters: {"username"=>"ahis"} +I, [2013-12-09T03:24:05.075008 #26189] INFO -- : Rendered users/index.html.erb within layouts/application (10.9ms) +I, [2013-12-09T03:24:05.076657 #26189] INFO -- : Completed 200 OK in 26ms (Views: 12.7ms | ActiveRecord: 0.8ms) +I, [2013-12-09T03:24:05.285564 #26203] INFO -- : Started GET "/rijeci_backend/javascripts/application.js" for 46.36.161.64 at 2013-12-09 03:24:05 +0000 +F, [2013-12-09T03:24:05.295735 #26203] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T03:24:10.866344 #26236] INFO -- : Started GET "/rijeci_backend/users?username=ahis" for 46.36.161.64 at 2013-12-09 03:24:10 +0000 +I, [2013-12-09T03:24:10.877375 #26236] INFO -- : Processing by UsersController#index as HTML +I, [2013-12-09T03:24:10.877440 #26236] INFO -- : Parameters: {"username"=>"ahis"} +I, [2013-12-09T03:24:10.901616 #26236] INFO -- : Rendered users/index.html.erb within layouts/application (10.9ms) +I, [2013-12-09T03:24:10.903228 #26236] INFO -- : Completed 200 OK in 26ms (Views: 12.6ms | ActiveRecord: 0.8ms) +I, [2013-12-09T03:24:11.078761 #26246] INFO -- : Started GET "/rijeci_backend/javascripts/application.js" for 46.36.161.64 at 2013-12-09 03:24:11 +0000 +F, [2013-12-09T03:24:11.090563 #26246] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T03:28:34.688974 #26258] INFO -- : Started GET "/rijeci_backend/guesses" for 46.36.161.64 at 2013-12-09 03:28:34 +0000 +I, [2013-12-09T03:28:34.706593 #26258] INFO -- : Processing by GuessesController#index as HTML +I, [2013-12-09T03:28:34.729304 #26258] INFO -- : Rendered guesses/index.html.erb within layouts/application (9.7ms) +I, [2013-12-09T03:28:34.730895 #26258] INFO -- : Completed 200 OK in 24ms (Views: 11.7ms | ActiveRecord: 0.6ms) +I, [2013-12-09T03:28:34.998784 #26701] INFO -- : Started GET "/rijeci_backend/javascripts/application.js" for 46.36.161.64 at 2013-12-09 03:28:34 +0000 +F, [2013-12-09T03:28:35.014837 #26701] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T04:18:04.249872 #26713] INFO -- : Started GET "/rijeci_backend/solutions" for 46.36.161.64 at 2013-12-09 04:18:04 +0000 +I, [2013-12-09T04:18:04.268548 #26713] INFO -- : Processing by SolutionsController#index as HTML +I, [2013-12-09T04:18:04.284529 #26713] INFO -- : Rendered solutions/index.html.erb within layouts/application (2.0ms) +I, [2013-12-09T04:18:04.286086 #26713] INFO -- : Completed 200 OK in 17ms (Views: 4.1ms | ActiveRecord: 0.3ms) +I, [2013-12-09T04:18:23.354708 #990] INFO -- : Started GET "/rijeci_backend/javascripts/application.js" for 46.36.161.64 at 2013-12-09 04:18:23 +0000 +F, [2013-12-09T04:18:23.366814 #990] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T04:19:24.248126 #1015] INFO -- : Started GET "/rijeci_backend/guesses" for 46.36.161.64 at 2013-12-09 04:19:24 +0000 +I, [2013-12-09T04:19:24.265972 #1015] INFO -- : Processing by GuessesController#index as HTML +I, [2013-12-09T04:19:24.288216 #1015] INFO -- : Rendered guesses/index.html.erb within layouts/application (9.4ms) +I, [2013-12-09T04:19:24.289799 #1015] INFO -- : Completed 200 OK in 24ms (Views: 11.3ms | ActiveRecord: 0.6ms) +I, [2013-12-09T04:19:24.454529 #1131] INFO -- : Started GET "/rijeci_backend/javascripts/application.js" for 46.36.161.64 at 2013-12-09 04:19:24 +0000 +F, [2013-12-09T04:19:24.469264 #1131] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T04:19:34.898480 #1153] INFO -- : Started GET "/rijeci_backend/solutions" for 46.36.161.64 at 2013-12-09 04:19:34 +0000 +I, [2013-12-09T04:19:34.919570 #1153] INFO -- : Processing by SolutionsController#index as HTML +I, [2013-12-09T04:19:34.934768 #1153] INFO -- : Rendered solutions/index.html.erb within layouts/application (2.3ms) +I, [2013-12-09T04:19:34.936516 #1153] INFO -- : Completed 200 OK in 17ms (Views: 4.7ms | ActiveRecord: 0.3ms) +I, [2013-12-09T04:19:35.074453 #1164] INFO -- : Started GET "/rijeci_backend/javascripts/application.js" for 46.36.161.64 at 2013-12-09 04:19:35 +0000 +F, [2013-12-09T04:19:35.088960 #1164] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T04:28:36.999729 #1176] INFO -- : Started GET "/rijeci_backend/solutions" for 46.36.161.64 at 2013-12-09 04:28:36 +0000 +I, [2013-12-09T04:28:37.009159 #1176] INFO -- : Processing by SolutionsController#index as HTML +I, [2013-12-09T04:28:37.023625 #1176] INFO -- : Rendered solutions/index.html.erb within layouts/application (2.1ms) +I, [2013-12-09T04:28:37.025183 #1176] INFO -- : Completed 200 OK in 16ms (Views: 4.1ms | ActiveRecord: 0.3ms) +I, [2013-12-09T04:29:02.086722 #2002] INFO -- : Started GET "/rijeci_backend/javascripts/application.js" for 46.36.161.64 at 2013-12-09 04:29:02 +0000 +F, [2013-12-09T04:29:02.099924 #2002] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T04:30:01.243645 #2430] INFO -- : Started GET "/rijeci_backend/solutions" for 46.36.161.64 at 2013-12-09 04:30:01 +0000 +I, [2013-12-09T04:30:01.260431 #2430] INFO -- : Processing by SolutionsController#index as HTML +I, [2013-12-09T04:30:01.276852 #2430] INFO -- : Rendered solutions/index.html.erb within layouts/application (2.4ms) +I, [2013-12-09T04:30:01.279397 #2430] INFO -- : Completed 200 OK in 19ms (Views: 6.3ms | ActiveRecord: 0.3ms) +I, [2013-12-09T04:30:01.429507 #2442] INFO -- : Started GET "/rijeci_backend/stylesheets/application.css" for 46.36.161.64 at 2013-12-09 04:30:01 +0000 +F, [2013-12-09T04:30:01.436981 #2442] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T04:30:25.592380 #2479] INFO -- : Started GET "/rijeci_backend/guesses" for 46.36.161.64 at 2013-12-09 04:30:25 +0000 +I, [2013-12-09T04:30:25.610229 #2479] INFO -- : Processing by GuessesController#index as HTML +I, [2013-12-09T04:30:25.632586 #2479] INFO -- : Rendered guesses/index.html.erb within layouts/application (9.5ms) +I, [2013-12-09T04:30:25.634162 #2479] INFO -- : Completed 200 OK in 24ms (Views: 11.4ms | ActiveRecord: 0.6ms) +I, [2013-12-09T04:30:25.803248 #2521] INFO -- : Started GET "/rijeci_backend/stylesheets/application.css" for 46.36.161.64 at 2013-12-09 04:30:25 +0000 +F, [2013-12-09T04:30:25.811984 #2521] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T04:30:40.344016 #2529] INFO -- : Started GET "/rijeci_backend/stylesheets/application.css" for 46.36.161.64 at 2013-12-09 04:30:40 +0000 +F, [2013-12-09T04:30:40.352467 #2529] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T04:30:43.493402 #2553] INFO -- : Started GET "/rijeci_backend/stylesheets/application.css" for 46.36.161.64 at 2013-12-09 04:30:43 +0000 +F, [2013-12-09T04:30:43.503835 #2553] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T04:52:32.764929 #2566] INFO -- : Started GET "/rijeci_backend/guesses" for 46.36.161.64 at 2013-12-09 04:52:32 +0000 +I, [2013-12-09T04:52:32.783607 #2566] INFO -- : Processing by GuessesController#index as HTML +I, [2013-12-09T04:52:32.804915 #2566] INFO -- : Rendered guesses/index.html.erb within layouts/application (8.8ms) +I, [2013-12-09T04:52:32.806346 #2566] INFO -- : Completed 200 OK in 23ms (Views: 10.5ms | ActiveRecord: 0.5ms) +I, [2013-12-09T04:52:33.800141 #6238] INFO -- : Started GET "/rijeci_backend/stylesheets/application.css" for 46.36.161.64 at 2013-12-09 04:52:33 +0000 +F, [2013-12-09T04:52:33.807588 #6238] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T04:52:36.114711 #6246] INFO -- : Started GET "/rijeci_backend/guesses" for 46.36.161.64 at 2013-12-09 04:52:36 +0000 +I, [2013-12-09T04:52:36.133407 #6246] INFO -- : Processing by GuessesController#index as HTML +I, [2013-12-09T04:52:36.155667 #6246] INFO -- : Rendered guesses/index.html.erb within layouts/application (9.4ms) +I, [2013-12-09T04:52:36.157222 #6246] INFO -- : Completed 200 OK in 24ms (Views: 11.3ms | ActiveRecord: 0.6ms) +I, [2013-12-09T04:52:36.735238 #6259] INFO -- : Started GET "/rijeci_backend/assets/oxygen400.woff" for 46.36.161.64 at 2013-12-09 04:52:36 +0000 +F, [2013-12-09T04:52:36.743887 #6259] FATAL -- : +ActionController::RoutingError (No route matches [GET] "/assets/oxygen400.woff"): + actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.1) lib/rails/rack/logger.rb:22:in `call' + actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.1) lib/rails/engine.rb:511:in `call' + railties (4.0.1) lib/rails/application.rb:97:in `call' + passenger (4.0.27) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' + passenger (4.0.27) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' + passenger (4.0.27) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' + + +I, [2013-12-09T04:52:50.089337 #6267] INFO -- : Started GET "/rijeci_backend/solutions" for 46.36.161.64 at 2013-12-09 04:52:50 +0000 +I, [2013-12-09T04:52:50.104346 #6267] INFO -- : Processing by SolutionsController#index as HTML +I, [2013-12-09T04:52:50.119612 #6267] INFO -- : Rendered solutions/index.html.erb within layouts/application (2.4ms) +I, [2013-12-09T04:52:50.121361 #6267] INFO -- : Completed 200 OK in 17ms (Views: 4.7ms | ActiveRecord: 0.3ms) diff --git a/public/assets/application-06b927a0de388ac6dd434f9a863fc90f.js b/public/assets/application-06b927a0de388ac6dd434f9a863fc90f.js new file mode 100644 index 0000000..464b9ca --- /dev/null +++ b/public/assets/application-06b927a0de388ac6dd434f9a863fc90f.js @@ -0,0 +1,7 @@ +!function(e,t){function n(e){var t=e.length,n=ct.type(e);return ct.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=kt[e]={};return ct.each(e.match(pt)||[],function(e,n){t[n]=!0}),t}function i(e,n,r,i){if(ct.acceptData(e)){var o,a,s=ct.expando,u=e.nodeType,l=u?ct.cache:e,c=u?e[s]:e[s]&&s;if(c&&l[c]&&(i||l[c].data)||r!==t||"string"!=typeof n)return c||(c=u?e[s]=tt.pop()||ct.guid++:s),l[c]||(l[c]=u?{}:{toJSON:ct.noop}),("object"==typeof n||"function"==typeof n)&&(i?l[c]=ct.extend(l[c],n):l[c].data=ct.extend(l[c].data,n)),a=l[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[ct.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[ct.camelCase(n)])):o=a,o}}function o(e,t,n){if(ct.acceptData(e)){var r,i,o=e.nodeType,a=o?ct.cache:e,u=o?e[ct.expando]:ct.expando;if(a[u]){if(t&&(r=n?a[u]:a[u].data)){ct.isArray(t)?t=t.concat(ct.map(t,ct.camelCase)):t in r?t=[t]:(t=ct.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!s(r):!ct.isEmptyObject(r))return}(n||(delete a[u].data,s(a[u])))&&(o?ct.cleanData([e],!0):ct.support.deleteExpando||a!=a.window?delete a[u]:a[u]=null)}}}function a(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(St,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:Et.test(r)?ct.parseJSON(r):r}catch(o){}ct.data(e,n,r)}else r=t}return r}function s(e){var t;for(t in e)if(("data"!==t||!ct.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function u(){return!0}function l(){return!1}function c(){try{return G.activeElement}catch(e){}}function f(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function p(e,t,n){if(ct.isFunction(t))return ct.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ct.grep(e,function(e){return e===t!==n});if("string"==typeof t){if($t.test(t))return ct.filter(t,e,n);t=ct.filter(t,e)}return ct.grep(e,function(e){return ct.inArray(e,t)>=0!==n})}function d(e){var t=Ut.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function h(e,t){return ct.nodeName(e,"table")&&ct.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function m(e){return e.type=(null!==ct.find.attr(e,"type"))+"/"+e.type,e}function g(e){var t=on.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function y(e,t){for(var n,r=0;null!=(n=e[r]);r++)ct._data(n,"globalEval",!t||ct._data(t[r],"globalEval"))}function v(e,t){if(1===t.nodeType&&ct.hasData(e)){var n,r,i,o=ct._data(e),a=ct._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)ct.event.add(t,n,s[n][r])}a.data&&(a.data=ct.extend({},a.data))}}function b(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!ct.support.noCloneEvent&&t[ct.expando]){i=ct._data(t);for(r in i.events)ct.removeEvent(t,r,i.handle);t.removeAttribute(ct.expando)}"script"===n&&t.text!==e.text?(m(t).text=e.text,g(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),ct.support.html5Clone&&e.innerHTML&&!ct.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&tn.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}function x(e,n){var r,i,o=0,a=typeof e.getElementsByTagName!==Y?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==Y?e.querySelectorAll(n||"*"):t;if(!a)for(a=[],r=e.childNodes||e;null!=(i=r[o]);o++)!n||ct.nodeName(i,n)?a.push(i):ct.merge(a,x(i,n));return n===t||n&&ct.nodeName(e,n)?ct.merge([e],a):a}function w(e){tn.test(e.type)&&(e.defaultChecked=e.checked)}function T(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=kn.length;i--;)if(t=kn[i]+n,t in e)return t;return r}function N(e,t){return e=t||e,"none"===ct.css(e,"display")||!ct.contains(e.ownerDocument,e)}function C(e,t){for(var n,r,i,o=[],a=0,s=e.length;s>a;a++)r=e[a],r.style&&(o[a]=ct._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&N(r)&&(o[a]=ct._data(r,"olddisplay",j(r.nodeName)))):o[a]||(i=N(r),(n&&"none"!==n||!i)&&ct._data(r,"olddisplay",i?n:ct.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function k(e,t,n){var r=vn.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function E(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=ct.css(e,n+Cn[o],!0,i)),r?("content"===n&&(a-=ct.css(e,"padding"+Cn[o],!0,i)),"margin"!==n&&(a-=ct.css(e,"border"+Cn[o]+"Width",!0,i))):(a+=ct.css(e,"padding"+Cn[o],!0,i),"padding"!==n&&(a+=ct.css(e,"border"+Cn[o]+"Width",!0,i)));return a}function S(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=fn(e),a=ct.support.boxSizing&&"border-box"===ct.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=pn(e,t,o),(0>i||null==i)&&(i=e.style[t]),bn.test(i))return i;r=a&&(ct.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+E(e,t,n||(a?"border":"content"),r,o)+"px"}function j(e){var t=G,n=wn[e];return n||(n=A(e,t),"none"!==n&&n||(cn=(cn||ct("