backend_translator 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +19 -0
  3. data/Rakefile +38 -0
  4. data/lib/backend_translator/app.rb +139 -0
  5. data/lib/backend_translator/version.rb +3 -0
  6. data/lib/backend_translator.rb +28 -0
  7. data/lib/generators/backend_translator/install_generator.rb +22 -0
  8. data/lib/generators/templates/backend_translator.rb +5 -0
  9. data/lib/tasks/backend_translator_tasks.rake +4 -0
  10. data/test/backend_translator_test.rb +7 -0
  11. data/test/dummy/README.rdoc +261 -0
  12. data/test/dummy/Rakefile +7 -0
  13. data/test/dummy/app/assets/javascripts/application.js +15 -0
  14. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  15. data/test/dummy/app/controllers/application_controller.rb +3 -0
  16. data/test/dummy/app/helpers/application_helper.rb +2 -0
  17. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  18. data/test/dummy/config/application.rb +63 -0
  19. data/test/dummy/config/boot.rb +10 -0
  20. data/test/dummy/config/database.yml +25 -0
  21. data/test/dummy/config/environment.rb +5 -0
  22. data/test/dummy/config/environments/development.rb +37 -0
  23. data/test/dummy/config/environments/production.rb +67 -0
  24. data/test/dummy/config/environments/test.rb +37 -0
  25. data/test/dummy/config/initializers/backend_translator.rb +5 -0
  26. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  27. data/test/dummy/config/initializers/inflections.rb +15 -0
  28. data/test/dummy/config/initializers/mime_types.rb +5 -0
  29. data/test/dummy/config/initializers/secret_token.rb +7 -0
  30. data/test/dummy/config/initializers/session_store.rb +8 -0
  31. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  32. data/test/dummy/config/locales/en.yml +5 -0
  33. data/test/dummy/config/routes.rb +61 -0
  34. data/test/dummy/config.ru +4 -0
  35. data/test/dummy/db/development.sqlite3 +0 -0
  36. data/test/dummy/db/test.sqlite3 +0 -0
  37. data/test/dummy/lib/translator/app.rb +139 -0
  38. data/test/dummy/lib/translator.rb +26 -0
  39. data/test/dummy/log/development.log +682 -0
  40. data/test/dummy/log/test.log +79 -0
  41. data/test/dummy/public/404.html +26 -0
  42. data/test/dummy/public/422.html +26 -0
  43. data/test/dummy/public/500.html +25 -0
  44. data/test/dummy/public/favicon.ico +0 -0
  45. data/test/dummy/script/rails +6 -0
  46. data/test/dummy/tmp/cache/assets/C85/560/sprockets%2Fa29768f44a6245505c20de689c4a7073 +0 -0
  47. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  48. data/test/dummy/tmp/cache/assets/CF0/5D0/sprockets%2Fb4729a09965bf79ca3a41ede77743825 +0 -0
  49. data/test/dummy/tmp/cache/assets/D24/AD0/sprockets%2F8d13a051a1c01d0823efc0feec642706 +0 -0
  50. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  51. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  52. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  53. data/test/dummy/tmp/cache/assets/D84/C50/sprockets%2F5d34e5458f1dc78ccf9e59ab836f723b +0 -0
  54. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  55. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  56. data/test/integration/backend_translator_app_test.rb +23 -0
  57. data/test/support/integration_case.rb +5 -0
  58. data/test/test_helper.rb +18 -0
  59. metadata +209 -0
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
File without changes
File without changes
@@ -0,0 +1,139 @@
1
+ #---
2
+ # Excerpted from "Crafting Rails Applications",
3
+ # published by The Pragmatic Bookshelf.
4
+ # Copyrights apply to this code. It may not be used to create training material,
5
+ # courses, books, articles, and the like. Contact us if you are in doubt.
6
+ # We make no guarantees that this code is fit for any purpose.
7
+ # Visit http://www.pragmaticprogrammer.com/titles/jvrails for more book information.
8
+ #---
9
+ require 'sinatra/base'
10
+ require 'haml'
11
+
12
+ module Translator
13
+ class App < Sinatra::Base
14
+ set :environment, Rails.env
15
+ enable :inline_templates
16
+
17
+ #before do
18
+ # env["warden"].authenticate!(:scope => "admin")
19
+ #end
20
+
21
+ get "/:from/:to" do |from, to|
22
+ exhibit_translations(from, to)
23
+ end
24
+
25
+ post "/:from/:to" do |from, to|
26
+ I18n.backend.store_translations to, decoded_translations, :escape => false
27
+ Translator.store.save
28
+ @message = "Translations stored with success!"
29
+ exhibit_translations(from, to)
30
+ end
31
+
32
+ get "/:to" do |to|
33
+ new_translation(to)
34
+ end
35
+
36
+ post "/:to" do |to|
37
+ I18n.backend.store_translations to, {params[:key] => params[:value]}, :escape => false
38
+ Translator.store.save
39
+ @message = "Added translations"
40
+ new_translation(to)
41
+ end
42
+
43
+ protected
44
+
45
+ # Get all translations sent through the form and decode
46
+ # their JSON values to check validity.
47
+ def decoded_translations
48
+ translations = params.except("from", "to")
49
+ translations.each do |key, value|
50
+ translations[key] = ActiveSupport::JSON.decode(value) rescue nil
51
+ end
52
+ end
53
+
54
+ # Store from and to locales in variables and retrieve
55
+ # all keys available for translation.
56
+ def exhibit_translations(from, to)
57
+ @from, @to = from, to
58
+ @keys = available_keys(from)
59
+ haml :index
60
+ end
61
+
62
+ # Get all keys for a given locale removing the locale from
63
+ # the key and sorting them alphabetically. If a key is named
64
+ # "en.foo.bar", this method will return it as "foo.bar".
65
+ def available_keys(locale)
66
+ keys = Translator.store.keys("#{locale}.*")
67
+ range = Range.new(locale.size + 1, -1)
68
+ keys.map { |k| k.slice(range) }.sort!
69
+ end
70
+
71
+ # Get the stored value in the translator store for a given
72
+ # locale. This method needs to decode values and check if they
73
+ # are a hash, because we don't want subtrees available for
74
+ # translation since they are managed automatically by I18n.
75
+ def locale_value(locale, key)
76
+ value = Translator.store["#{locale}.#{key}"]
77
+ value if value && !ActiveSupport::JSON.decode(value).is_a?(Hash)
78
+ end
79
+
80
+ def new_translation(to)
81
+ @to = to
82
+ haml :new
83
+ end
84
+ end
85
+ end
86
+
87
+ __END__
88
+
89
+ @@ index
90
+ !!!
91
+ %html
92
+ %head
93
+ %title
94
+ Translator::App
95
+ %body
96
+ %h2= "From #{@from} to #{@to}"
97
+
98
+ %p(style="color:green")= @message
99
+
100
+ - if @keys.empty?
101
+ No translations available for #{@from}
102
+ - else
103
+ %form(method="post" action="")
104
+ - @keys.each do |key|
105
+ - from_value = locale_value(@from, key)
106
+ - next unless from_value
107
+ - to_value = locale_value(@to, key) || from_value
108
+
109
+ %p
110
+ %label(for=key)
111
+ %small= key
112
+ = from_value
113
+ %br
114
+ %input(id=key name=key type="text" value=to_value size="120")
115
+
116
+ %p
117
+ %input(type="submit" value="Store translations")
118
+
119
+ @@ new
120
+ !!!
121
+ %html
122
+ %head
123
+ %title
124
+ Translator::App
125
+ %body
126
+ %h2= "Create #{@to}"
127
+
128
+ %p(style="color:green")= @message
129
+
130
+ %form(method="post" action="")
131
+ %label(for="key") CLAVE
132
+ %br
133
+ %input(id="key" name="key")
134
+ %br
135
+ %label(for="value") VALOR
136
+ %br
137
+ %input(id="value" name="value")
138
+ %br
139
+ %input(type="submit" value="Store translations")
@@ -0,0 +1,26 @@
1
+ module Translator
2
+ autoload :App, "translator/app"
3
+
4
+ DATABASES = {
5
+ "development" => 0,
6
+ "test" => 1,
7
+ "production" => 2
8
+ }
9
+
10
+ def self.store
11
+ @store ||= Redis.new(:db => DATABASES[Rails.env.to_s])
12
+ end
13
+
14
+ def self.reload!
15
+ Translator.store.flushdb
16
+ I18n.backend.load_translations
17
+ end
18
+
19
+ class Backend < I18n::Backend::KeyValue
20
+ include I18n::Backend::Memoize
21
+
22
+ def initialize
23
+ super(Translator.store)
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,682 @@
1
+
2
+
3
+ Started GET "/" for 127.0.0.1 at 2013-03-03 11:02:00 +0100
4
+ Connecting to database specified by database.yml
5
+
6
+ ActionController::RoutingError (No route matches [GET] "/"):
7
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
8
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
9
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
10
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
11
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
12
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
13
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
14
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
15
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
16
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
17
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
18
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
19
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
20
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
21
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
22
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
23
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
24
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
25
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
26
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
27
+
28
+
29
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.1ms)
30
+
31
+
32
+ Started GET "/translator" for 127.0.0.1 at 2013-03-03 11:03:32 +0100
33
+
34
+ ActionController::RoutingError (No route matches [GET] "/translator"):
35
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
36
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
37
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
38
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
39
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
40
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
41
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
42
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
43
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
44
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
45
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
46
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
47
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
48
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
49
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
50
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
51
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
52
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
53
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
54
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
55
+
56
+
57
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
58
+
59
+
60
+ Started GET "/translator" for 127.0.0.1 at 2013-03-03 11:05:39 +0100
61
+
62
+ ActionController::RoutingError (No route matches [GET] "/translator"):
63
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
64
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
65
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
66
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
67
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
68
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
69
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
70
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
71
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
72
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
73
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
74
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
75
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
76
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
77
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
78
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
79
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
80
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
81
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
82
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
83
+
84
+
85
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
86
+
87
+
88
+ Started GET "/" for 127.0.0.1 at 2013-03-03 11:05:43 +0100
89
+
90
+ ActionController::RoutingError (No route matches [GET] "/"):
91
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
92
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
93
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
94
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
95
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
96
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
97
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
98
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
99
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
100
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
101
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
102
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
103
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
104
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
105
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
106
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
107
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
108
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
109
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
110
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
111
+
112
+
113
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
114
+
115
+
116
+ Started GET "/" for 127.0.0.1 at 2013-03-03 11:05:45 +0100
117
+
118
+ ActionController::RoutingError (No route matches [GET] "/"):
119
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
120
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
121
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
122
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
123
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
124
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
125
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
126
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
127
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
128
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
129
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
130
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
131
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
132
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
133
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
134
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
135
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
136
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
137
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
138
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
139
+
140
+
141
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
142
+
143
+
144
+ Started GET "/" for 127.0.0.1 at 2013-03-03 11:08:04 +0100
145
+
146
+ ActionController::RoutingError (No route matches [GET] "/"):
147
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
148
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
149
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
150
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
151
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
152
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
153
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
154
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
155
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
156
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
157
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
158
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
159
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
160
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
161
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
162
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
163
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
164
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
165
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
166
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
167
+
168
+
169
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
170
+
171
+
172
+ Started GET "/" for 127.0.0.1 at 2013-03-03 11:11:11 +0100
173
+
174
+ TypeError (can't convert Class into String):
175
+ config/routes.rb:3:in `+'
176
+ config/routes.rb:3:in `block in <top (required)>'
177
+ config/routes.rb:1:in `<top (required)>'
178
+
179
+
180
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
181
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (8.3ms)
182
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.8ms)
183
+
184
+
185
+ Started GET "/" for 127.0.0.1 at 2013-03-03 11:11:19 +0100
186
+
187
+ ActionController::RoutingError (No route matches [GET] "/"):
188
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
189
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
190
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
191
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
192
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
193
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
194
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
195
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
196
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
197
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
198
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
199
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
200
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
201
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
202
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
203
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
204
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
205
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
206
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
207
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
208
+
209
+
210
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
211
+
212
+
213
+ Started GET "/" for 127.0.0.1 at 2013-03-03 11:11:36 +0100
214
+
215
+ ActionController::RoutingError (No route matches [GET] "/"):
216
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
217
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
218
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
219
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
220
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
221
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
222
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
223
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
224
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
225
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
226
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
227
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
228
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
229
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
230
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
231
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
232
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
233
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
234
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
235
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
236
+
237
+
238
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
239
+
240
+
241
+ Started GET "/" for 127.0.0.1 at 2013-03-03 11:12:00 +0100
242
+
243
+ ActionController::RoutingError (No route matches [GET] "/"):
244
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
245
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
246
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
247
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
248
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
249
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
250
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
251
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
252
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
253
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
254
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
255
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
256
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
257
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
258
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
259
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
260
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
261
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
262
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
263
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
264
+
265
+
266
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
267
+
268
+
269
+ Started GET "/" for 127.0.0.1 at 2013-03-03 11:26:19 +0100
270
+ Connecting to database specified by database.yml
271
+
272
+ ActionController::RoutingError (No route matches [GET] "/"):
273
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
274
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
275
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
276
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
277
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
278
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
279
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
280
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
281
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
282
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
283
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
284
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
285
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
286
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
287
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
288
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
289
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
290
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
291
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
292
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
293
+
294
+
295
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.1ms)
296
+
297
+
298
+ Started GET "/translator" for 127.0.0.1 at 2013-03-03 11:26:27 +0100
299
+
300
+ ActionController::RoutingError (No route matches [GET] "/translator"):
301
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
302
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
303
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
304
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
305
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
306
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
307
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
308
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
309
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
310
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
311
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
312
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
313
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
314
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
315
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
316
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
317
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
318
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
319
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
320
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
321
+
322
+
323
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
324
+
325
+
326
+ Started GET "/translator" for 127.0.0.1 at 2013-03-03 11:26:30 +0100
327
+
328
+ ActionController::RoutingError (No route matches [GET] "/translator"):
329
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
330
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
331
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
332
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
333
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
334
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
335
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
336
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
337
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
338
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
339
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
340
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
341
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
342
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
343
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
344
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
345
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
346
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
347
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
348
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
349
+
350
+
351
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
352
+
353
+
354
+ Started GET "/translator" for 127.0.0.1 at 2013-03-03 11:28:46 +0100
355
+
356
+ ActionController::RoutingError (No route matches [GET] "/translator"):
357
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
358
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
359
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
360
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
361
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
362
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
363
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
364
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
365
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
366
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
367
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
368
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
369
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
370
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
371
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
372
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
373
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
374
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
375
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
376
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
377
+
378
+
379
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
380
+
381
+
382
+ Started GET "/" for 127.0.0.1 at 2013-03-03 11:28:48 +0100
383
+ Processing by MainController#home as HTML
384
+ Rendered main/home.html.erb within layouts/application (0.4ms)
385
+ Compiled application.css (0ms) (pid 17373)
386
+ Compiled jquery.js (2ms) (pid 17373)
387
+ Compiled jquery_ujs.js (0ms) (pid 17373)
388
+ Compiled application.js (85ms) (pid 17373)
389
+ Completed 200 OK in 128ms (Views: 127.9ms | ActiveRecord: 0.0ms)
390
+
391
+
392
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-03 11:28:48 +0100
393
+ Served asset /jquery_ujs.js - 304 Not Modified (3ms)
394
+
395
+
396
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-03 11:28:48 +0100
397
+ Served asset /application.css - 200 OK (2ms)
398
+
399
+
400
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-03 11:28:48 +0100
401
+ Served asset /jquery.js - 304 Not Modified (5ms)
402
+
403
+
404
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-03 11:28:48 +0100
405
+ Served asset /application.js - 200 OK (6ms)
406
+
407
+
408
+ Started GET "/translator" for 127.0.0.1 at 2013-03-03 11:29:01 +0100
409
+
410
+ ActionController::RoutingError (No route matches [GET] "/translator"):
411
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
412
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
413
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
414
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
415
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
416
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
417
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
418
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
419
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
420
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
421
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
422
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
423
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
424
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
425
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
426
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
427
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
428
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
429
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
430
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
431
+
432
+
433
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
434
+
435
+
436
+ Started GET "/translator" for 127.0.0.1 at 2013-03-03 11:29:34 +0100
437
+
438
+ ActionController::RoutingError (No route matches [GET] "/translator"):
439
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
440
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
441
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
442
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
443
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
444
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
445
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
446
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
447
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
448
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
449
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
450
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
451
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
452
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
453
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
454
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
455
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
456
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
457
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
458
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
459
+
460
+
461
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
462
+
463
+
464
+ Started GET "/translator" for 127.0.0.1 at 2013-03-03 11:31:22 +0100
465
+ Connecting to database specified by database.yml
466
+
467
+ ActionController::RoutingError (No route matches [GET] "/translator"):
468
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
469
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
470
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
471
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
472
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
473
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
474
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
475
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
476
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
477
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
478
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
479
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
480
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
481
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
482
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
483
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
484
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
485
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
486
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
487
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
488
+
489
+
490
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.7ms)
491
+
492
+
493
+ Started GET "/translator" for 127.0.0.1 at 2013-03-03 11:31:24 +0100
494
+
495
+ ActionController::RoutingError (No route matches [GET] "/translator"):
496
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
497
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
498
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
499
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
500
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
501
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
502
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
503
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
504
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
505
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
506
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
507
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
508
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
509
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
510
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
511
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
512
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
513
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
514
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
515
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
516
+
517
+
518
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
519
+
520
+
521
+ Started GET "/translator" for 127.0.0.1 at 2013-03-03 11:31:24 +0100
522
+
523
+ ActionController::RoutingError (No route matches [GET] "/translator"):
524
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
525
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
526
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
527
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
528
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
529
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
530
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
531
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
532
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
533
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
534
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
535
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
536
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
537
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
538
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
539
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
540
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
541
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
542
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
543
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
544
+
545
+
546
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
547
+
548
+
549
+ Started GET "/translator" for 127.0.0.1 at 2013-03-03 11:31:25 +0100
550
+
551
+ ActionController::RoutingError (No route matches [GET] "/translator"):
552
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
553
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
554
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
555
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
556
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
557
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
558
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
559
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
560
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
561
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
562
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
563
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
564
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
565
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
566
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
567
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
568
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
569
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
570
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
571
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
572
+
573
+
574
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
575
+
576
+
577
+ Started GET "/translator" for 127.0.0.1 at 2013-03-03 11:31:26 +0100
578
+
579
+ ActionController::RoutingError (No route matches [GET] "/translator"):
580
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
581
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
582
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
583
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
584
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
585
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
586
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
587
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
588
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
589
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
590
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
591
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
592
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
593
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
594
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
595
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
596
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
597
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
598
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
599
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
600
+
601
+
602
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
603
+
604
+
605
+ Started GET "/translator/es" for 127.0.0.1 at 2013-03-03 11:31:50 +0100
606
+
607
+
608
+ Started GET "/translator/es" for 127.0.0.1 at 2013-03-03 11:32:37 +0100
609
+ Connecting to database specified by database.yml
610
+
611
+
612
+ Started GET "/translator/es" for 127.0.0.1 at 2013-03-03 11:32:39 +0100
613
+
614
+
615
+ Started GET "/translator/es" for 127.0.0.1 at 2013-03-03 11:42:53 +0100
616
+ Connecting to database specified by database.yml
617
+
618
+
619
+ Started POST "/translator/es" for 127.0.0.1 at 2013-03-03 11:43:21 +0100
620
+
621
+
622
+ Started GET "/translator/es/en" for 127.0.0.1 at 2013-03-03 11:43:31 +0100
623
+
624
+
625
+ Started GET "/translator/es/en" for 127.0.0.1 at 2013-03-03 11:53:04 +0100
626
+
627
+
628
+ Started GET "/en/es" for 127.0.0.1 at 2013-03-03 12:44:44 +0100
629
+
630
+ ActionController::RoutingError (No route matches [GET] "/en/es"):
631
+ actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
632
+ actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
633
+ railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
634
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
635
+ activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
636
+ railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
637
+ actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
638
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
639
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
640
+ activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
641
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
642
+ actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
643
+ railties (3.2.12) lib/rails/engine.rb:479:in `call'
644
+ railties (3.2.12) lib/rails/application.rb:223:in `call'
645
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
646
+ railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
647
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
648
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
649
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
650
+ /Users/xuxo/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
651
+
652
+
653
+ Rendered /Users/xuxo/.rvm/gems/ruby-1.9.3-p194@xovenau/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (93.5ms)
654
+
655
+
656
+ Started GET "/translator/en/es" for 127.0.0.1 at 2013-03-03 12:44:57 +0100
657
+
658
+
659
+ Started GET "/translator/en/es" for 127.0.0.1 at 2013-03-03 13:20:40 +0100
660
+ Connecting to database specified by database.yml
661
+
662
+
663
+ Started GET "/translator/en/es" for 127.0.0.1 at 2013-03-03 13:53:40 +0100
664
+ Connecting to database specified by database.yml
665
+
666
+
667
+ Started GET "/translator/es" for 127.0.0.1 at 2013-03-03 13:53:49 +0100
668
+
669
+
670
+ Started POST "/translator/es" for 127.0.0.1 at 2013-03-03 13:54:03 +0100
671
+
672
+
673
+ Started GET "/translator/es/en" for 127.0.0.1 at 2013-03-03 13:54:07 +0100
674
+
675
+
676
+ Started GET "/translator/es/en" for 127.0.0.1 at 2013-03-03 14:25:38 +0100
677
+
678
+
679
+ Started GET "/translator/es" for 127.0.0.1 at 2013-03-03 14:25:42 +0100
680
+
681
+
682
+ Started POST "/translator/es" for 127.0.0.1 at 2013-03-03 14:25:57 +0100