awesome_translations 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/lib/awesome_translations.rb +0 -2
  3. data/lib/awesome_translations/handlers/model_handler.rb +16 -2
  4. data/lib/awesome_translations/model_inspector.rb +9 -1
  5. data/lib/awesome_translations/version.rb +1 -1
  6. data/spec/dummy/app/models/role.rb +5 -2
  7. data/spec/dummy/config/application.rb +5 -1
  8. data/spec/dummy/db/development.sqlite3 +0 -0
  9. data/spec/dummy/db/migrate/20150607110245_add_price_cents_to_roles.rb +5 -0
  10. data/spec/dummy/db/schema.rb +2 -1
  11. data/spec/dummy/db/test.sqlite3 +0 -0
  12. data/spec/dummy/log/development.log +500 -0
  13. data/spec/dummy/log/test.log +2924 -0
  14. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/2S3FXevY1QIhpSWf8Q_wLVVed6OE4MwIoCWF1nNjvdw.cache +1 -0
  15. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/5zUDnyGW8pnqn9eoHvW4fOBfVbTt9L83VTsjTN_emmo.cache +1 -0
  16. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/7QKZ7V7qzDK3EtnZ695pi2UHVib9nj_W6crYsRXdL3k.cache +0 -0
  17. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/AwkOC2gVDWMkSj54qADI_lu4Sfz9TS2FLAl0uAnoDkk.cache +0 -0
  18. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/AyNPDW3Dgg140bGx7uc2Fyehos3xkt6fL-jfJkv6-qU.cache +0 -0
  19. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/BrDzTsxp9UnHHzHEX28hHrcLUZv2vC-CcToUdBmjgHo.cache +0 -0
  20. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/H2lEwhgwd2SbRoXcQ64jUm4dpG1CJGZYMpYGWvXVam4.cache +0 -0
  21. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JU1edprYccFyRmg3oGL-MRuknvcB2_pQYTG5o63Ag8Q.cache +0 -0
  22. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/L0AV6BEMf52JcHA55hmNVo2VHUKjVW8ZVuTIx27sRa4.cache +0 -0
  23. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/LAprG4VocNonottPjxuFFCww48n4YCtJJiYDk1iDL9o.cache +0 -0
  24. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/QbJd9uihGphd-h3qb5FEbRTdtdQGL_rCzK7fh3kwBFU.cache +0 -0
  25. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Rhafj2GpRZtp-MvV8OPk2PMmp5ovrXMGbfkfJDC5rJk.cache +0 -0
  26. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/SMah6xBmkbU_8e-9Ys77k0Vx4Ut7TXwr494LZGp7BY0.cache +0 -0
  27. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/T7-ktcoZK9XVmYk74-QFlUBoFrIqfWZDYZHF9QsO1KQ.cache +0 -0
  28. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UMznzQq-uwbslH-8M6pmrNrruRcrHtfOwclv5rh-yVc.cache +0 -0
  29. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/XXVgQaXIqeZePB8w3OojaKBepeay8N8Dht-pY9-BzYc.cache +0 -0
  30. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bq4ayPBoJ3P2twJ_AfUk_9dSy5v_LZuEeQY2Dg4bQmk.cache +1 -0
  31. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ctR7CyZiQ_H9JUQ82aXvfhPEiYw_9biQFi1t0ODt19k.cache +0 -0
  32. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/dMFeGxOIVkOd4tx60u_-2_Wdao-Kg0waBf9NHDBqUAI.cache +0 -0
  33. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/eB4rtnh6CHhj84gj2Pr06A1_zEE7R7fg1QZ0V-CBK04.cache +0 -0
  34. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/hA7aBF-f5PrPHDCU4_rX8RGuqSnI9NCgyCuUqdLhDrM.cache +1 -0
  35. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/i86GHirKPk5F2FgVVKH3xQvACxb6pMWe6jY8pRbqgAg.cache +1 -0
  36. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ioHTiBF-8-6CURnZ7YlpQrSyfHbnQEoAncw3Hkpc-fI.cache +0 -0
  37. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/jP9zZQjroxUOZZkI8Fu4jl7u2ksMMGKDpixzk119Zic.cache +1 -0
  38. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lBXKiv2k-ODSn6dfiYEUn3l_EDOu0ge79iuhn-DAqZk.cache +0 -0
  39. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/mFbF4IvBWjgt_vwp7v7rFY1bGKbqGkGnONfS6HnsKnM.cache +1 -0
  40. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/nHHgYQwKCJDU6sJhdCFspLo132x7T0KEbaIRYasTn9o.cache +1 -0
  41. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pj7Zt9BnWoEsYKpKqDUVTbdupv2Oqe4oRmyzyzwuJas.cache +1 -0
  42. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/tAG3ILvje5Ldk4QK_XED38PXirtc745_9jwIzmlTdkY.cache +1 -0
  43. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2ePvf7uuSi9IWydA-7YBn6gj5GDS_VftHJp3LDT2EMk.cache +0 -0
  44. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2p155H920Y76tD9Gj4HuvSeyKPX48gW2EeT0uJ-qDC4.cache +0 -0
  45. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/6AKSuLQ7-rmru8z6X93bpAnu7f-pBhVaPqrLnlZEEr4.cache +0 -0
  46. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7QKZ7V7qzDK3EtnZ695pi2UHVib9nj_W6crYsRXdL3k.cache +0 -0
  47. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AwkOC2gVDWMkSj54qADI_lu4Sfz9TS2FLAl0uAnoDkk.cache +0 -0
  48. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/BrDzTsxp9UnHHzHEX28hHrcLUZv2vC-CcToUdBmjgHo.cache +0 -0
  49. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/CoTd33v9gkcqVl0gfcR4-uFjVkWeEdLi-KSv7GGA8nM.cache +0 -0
  50. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/GDzC1chWWGmhgF3fUvOghjlCyrUvZCCVC_YH1oldtsM.cache +0 -0
  51. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/GYYF0YA4aRQirmTZh4-Zz72l1yXNBwv_Nf1IyUSnm0s.cache +0 -0
  52. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/GYYh9bV34kWHaEdZHJ3Vj5NJf7gHSaYdqsxbAMUmOQU.cache +1 -0
  53. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/JOgVNi_2ZnabkY8ZA1S4A9dolCAYe2eN7N5wgGAize8.cache +0 -0
  54. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/K6dcmv3rL2-a64bGvjvlt3V40jZoespDpJI43ozVwx4.cache +0 -0
  55. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/LmxkfpwC41PgyGjIYCA7x9YPSD-6s8B4Mi4hqdbYzw4.cache +1 -0
  56. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Lra_lUnCq3UxcsTplESpDJMjC0aR8xhaqEQJZNQmOlc.cache +0 -0
  57. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/LtuKwRcTWtNm0-9U116mcMNSEOapgDhyZaj926hhVPs.cache +0 -0
  58. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/MR1NqdyKxCHe9jA_fNZHSfQJOaeHmav2vv8iUg1H9d4.cache +0 -0
  59. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/MzYsi2S393224patsQC_5aJpDwq4F97WspZCPEXC2Q0.cache +0 -0
  60. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/NY5z3cpix2h7B64lLs5m2CArxRqzjesaGZx6Xt8si5A.cache +1 -0
  61. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/OnRq-dwbTzBXS4XQuBUpuBul105QTof7HWmejDG-up8.cache +1 -0
  62. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Qz3aXVOQV-hb4VezgZnvkWV5_puuCLP1XPzASTgwJoA.cache +1 -0
  63. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Rhafj2GpRZtp-MvV8OPk2PMmp5ovrXMGbfkfJDC5rJk.cache +0 -0
  64. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/TuA-1z5QC0DZ3Dwx7EFw4J4i3erwa-jspsxfAbRVqCU.cache +1 -0
  65. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/cIGnbFf0j5QUf_wBKIMm5S3IN4Ubwgt3vkMFFSS6A3I.cache +1 -0
  66. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/fbdG78s4uopDHNZqVoq_xLWsWWp4zoNnHO5la05KIVE.cache +1 -0
  67. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/gUG99SIJAJtfXBhDQhetAIrO_baTzx_a5SSjHw4PufY.cache +0 -0
  68. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hM39IQa4fw3m9qQN2pfEBGJE2T1bTMz5-wpUScGeFCE.cache +0 -0
  69. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ioHTiBF-8-6CURnZ7YlpQrSyfHbnQEoAncw3Hkpc-fI.cache +0 -0
  70. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/js_-GbuvJQ4VGhFUV6QutWkBN2J467qAxjx2Yf91Eak.cache +0 -0
  71. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/kpvMjOghMFzyC-GGH1hyZYp6seOMyTvwNee7K2gZ_Co.cache +0 -0
  72. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lBXKiv2k-ODSn6dfiYEUn3l_EDOu0ge79iuhn-DAqZk.cache +0 -0
  73. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/naeeUXJcvbOPtRddkG0HY8EBueijTTAVcak5IKubQ-U.cache +0 -0
  74. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/rwnfxTyQ5JDjuDtIBdhI_NTqtQ9mls38vnGCvGUhjAU.cache +1 -0
  75. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/sqnal_QFHldgZCbm7ElwpcD7FN730fRy5FFbJgUvViU.cache +1 -0
  76. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/tfGFfOAYiI9wS251EOcY9iJd8BeHDP7lUING5ER7J5U.cache +0 -0
  77. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ujMpOMkHKO6nLCblqGWOXPwfhwwOj8Nk32JRPvxP9Ew.cache +1 -0
  78. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/wEjIcbsVwfQq53aYJymEBRcssP4JwNgpFkmBiQ8D-lM.cache +1 -0
  79. data/spec/handlers/model_handler_spec.rb +6 -0
  80. data/spec/lib/erb_inspector_spec.rb +1 -1
  81. data/spec/lib/model_inspector_spec.rb +1 -1
  82. metadata +138 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd3e10b8b058c439e7fc3c1a021179ca1ed9cd9d
4
- data.tar.gz: fdf32e50a7d1f58390cae4003e995911034d0d66
3
+ metadata.gz: a2b2ed6fcd8e5b42d71a00434b0565986624523a
4
+ data.tar.gz: 85bc149c65a980f40ec128b98b611fe508d3076f
5
5
  SHA512:
6
- metadata.gz: 2566e9b30cc9ce4439eba219e42d951e812138de8a1567db5114c637dc8a852a2c726d171eb83188a83b85453a80f15db5cde76a1db1ebdbaefa7cfb95d0df3d
7
- data.tar.gz: 7a82a921ddce20a8f17de78507fb202ffca639e3c0b924107849f6ce5e9de27d56d7f842c13f028d2bfe79e0b12225d2178c16e787f63271932fb0ba12e32ac7
6
+ metadata.gz: 18ffa5b938502e75a4782e700616520b5dcc91f6860c7faa2bf42c23e7a006f5b00fc0ee5f8ceb92eb563649bda52350dc3ab673d21fd097b57b1ee9fe33ebda
7
+ data.tar.gz: 7e8e8191fd6222c66ef7ec2d9afcd4d42ee35d122cf2e75ffc270ab3cdf3f6d94027416cc433ac6b3030d2bcddf116bab4374a805c4ba0f2d1935827c6baf6df
@@ -1,7 +1,5 @@
1
- require "haml"
2
1
  require "string-cases"
3
2
  require "array_enumerator"
4
- require "jquery-rails"
5
3
 
6
4
  module AwesomeTranslations
7
5
  path = "#{File.dirname(__FILE__)}/awesome_translations"
@@ -19,6 +19,7 @@ class AwesomeTranslations::Handlers::ModelHandler < AwesomeTranslations::Handler
19
19
  active_record_attributes(model_inspector).each { |translation| yielder << translation }
20
20
  paperclip_attachments(model_inspector).each { |translation| yielder << translation }
21
21
  relationships(model_inspector).each { |translation| yielder << translation }
22
+ monetized_attributes(model_inspector).each { |translation| yielder << translation }
22
23
  end
23
24
  end
24
25
 
@@ -29,9 +30,9 @@ private
29
30
  class_name = class_name.gsub("::", "_")
30
31
  class_name = StringCases.camel_to_snake(class_name)
31
32
 
32
- dir_path = "#{Rails.root}/config/locales/awesome_translations/models/#{class_name}"
33
+ dir_path = Rails.root.join('config', 'locales', 'awesome_translations', 'models', class_name)
33
34
 
34
- return dir_path
35
+ return dir_path.to_s
35
36
  end
36
37
 
37
38
  def active_record_attributes(model_inspector)
@@ -92,4 +93,17 @@ private
92
93
 
93
94
  return result
94
95
  end
96
+
97
+ def monetized_attributes(model_inspector)
98
+ result = []
99
+
100
+ model_inspector.money_attributes do |name|
101
+ result << AwesomeTranslations::Translation.new(
102
+ key: model_inspector.attribute_key(name),
103
+ dir: dir_path(model_inspector)
104
+ )
105
+ end
106
+
107
+ return result
108
+ end
95
109
  end
@@ -34,12 +34,20 @@ class AwesomeTranslations::ModelInspector
34
34
  end
35
35
 
36
36
  def paperclip_attachments
37
- return [] unless ::Kernel.const_defined?("Paperclip")
37
+ return unless ::Kernel.const_defined?("Paperclip")
38
38
  Paperclip::AttachmentRegistry.names_for(@clazz).each do |name|
39
39
  yield name
40
40
  end
41
41
  end
42
42
 
43
+ def money_attributes
44
+ return if !::Kernel.const_defined?('Money') || !@clazz.respond_to?(:monetized_attributes)
45
+
46
+ @clazz.monetized_attributes.each do |attribute|
47
+ yield attribute[0].to_s
48
+ end
49
+ end
50
+
43
51
  def snake_name
44
52
  clazz.name.gsub("::", "/").split("/").map { |part| ::StringCases.camel_to_snake(part) }.join("/")
45
53
  end
@@ -1,3 +1,3 @@
1
1
  module AwesomeTranslations
2
- VERSION = '0.0.15'
2
+ VERSION = '0.0.16'
3
3
  end
@@ -1,11 +1,14 @@
1
1
  class Role < ActiveRecord::Base
2
2
  belongs_to :user
3
+
3
4
  validates_presence_of :user, :role
4
5
 
6
+ monetize :price_cents, allow_nil: true
7
+
5
8
  def self.roles
6
9
  return {
7
- t(".administrator") => "admin",
8
- t(".moderator") => "moderator"
10
+ t('.administrator') => 'admin',
11
+ t('.moderator') => 'moderator'
9
12
  }
10
13
  end
11
14
 
@@ -8,7 +8,11 @@ require "sprockets/railtie"
8
8
  # require "rails/test_unit/railtie"
9
9
 
10
10
  Bundler.require(*Rails.groups)
11
- require "awesome_translations"
11
+
12
+ require 'haml'
13
+ require 'jquery-rails'
14
+ require 'money-rails'
15
+ require 'awesome_translations'
12
16
 
13
17
  module Dummy
14
18
  class Application < Rails::Application
Binary file
@@ -0,0 +1,5 @@
1
+ class AddPriceCentsToRoles < ActiveRecord::Migration
2
+ def change
3
+ add_column :roles, :price_cents, :integer
4
+ end
5
+ end
@@ -11,11 +11,12 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20141018081640) do
14
+ ActiveRecord::Schema.define(version: 20150607110245) do
15
15
 
16
16
  create_table "roles", force: true do |t|
17
17
  t.integer "user_id"
18
18
  t.string "role"
19
+ t.integer "price_cents"
19
20
  end
20
21
 
21
22
  add_index "roles", ["user_id"], name: "index_roles_on_user_id"
Binary file
@@ -18188,3 +18188,503 @@ Started GET "/assets/awesome_translations/application.self.css?body=1" for 127.0
18188
18188
 
18189
18189
 
18190
18190
  Started GET "/assets/awesome_translations/application.self.js?body=1" for 127.0.0.1 at 2015-05-20 11:48:21 +0200
18191
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18192
+ Migrating to AddPriceCentsToRoles (20150607110245)
18193
+  (0.0ms) begin transaction
18194
+  (0.2ms) ALTER TABLE "roles" ADD "price_cents" integer
18195
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150607110245"]]
18196
+  (27.5ms) commit transaction
18197
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18198
+
18199
+
18200
+ Started GET "/" for 127.0.0.1 at 2015-06-07 13:22:58 +0200
18201
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18202
+ Processing by UsersController#index as HTML
18203
+ User Load (0.1ms) SELECT "users".* FROM "users"
18204
+ Rendered users/index.html.haml within layouts/application (7.3ms)
18205
+ Completed 200 OK in 156ms (Views: 146.8ms | ActiveRecord: 0.1ms)
18206
+
18207
+
18208
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:22:58 +0200
18209
+
18210
+
18211
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-06-07 13:22:58 +0200
18212
+
18213
+
18214
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-06-07 13:22:58 +0200
18215
+
18216
+
18217
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-06-07 13:22:58 +0200
18218
+
18219
+
18220
+ Started GET "/awesome_translations" for 127.0.0.1 at 2015-06-07 13:23:00 +0200
18221
+ Processing by AwesomeTranslations::HandlersController#index as HTML
18222
+ Rendered /media/storage/Dev/Rails/awesome_translations/app/views/awesome_translations/handlers/index.html.haml within layouts/awesome_translations/application (1.9ms)
18223
+ Completed 200 OK in 35ms (Views: 33.5ms | ActiveRecord: 0.0ms)
18224
+
18225
+
18226
+ Started GET "/assets/awesome_translations/application.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:23:00 +0200
18227
+
18228
+
18229
+ Started GET "/assets/awesome_translations/layout.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:23:00 +0200
18230
+
18231
+
18232
+ Started GET "/assets/awesome_translations/application.self.js?body=1" for 127.0.0.1 at 2015-06-07 13:23:00 +0200
18233
+
18234
+
18235
+ Started GET "/assets/awesome_translations/groups.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:23:00 +0200
18236
+
18237
+
18238
+ Started GET "/awesome_translations/handlers/library_handler" for 127.0.0.1 at 2015-06-07 13:23:01 +0200
18239
+ Processing by AwesomeTranslations::HandlersController#show as HTML
18240
+ Parameters: {"id"=>"library_handler"}
18241
+ Rendered /media/storage/Dev/Rails/awesome_translations/app/views/awesome_translations/handlers/show.html.haml within layouts/awesome_translations/application (161.3ms)
18242
+ Completed 200 OK in 171ms (Views: 170.0ms | ActiveRecord: 0.0ms)
18243
+
18244
+
18245
+ Started GET "/assets/awesome_translations/application.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:23:02 +0200
18246
+
18247
+
18248
+ Started GET "/assets/awesome_translations/layout.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:23:02 +0200
18249
+
18250
+
18251
+ Started GET "/assets/awesome_translations/groups.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:23:02 +0200
18252
+
18253
+
18254
+ Started GET "/assets/awesome_translations/application.self.js?body=1" for 127.0.0.1 at 2015-06-07 13:23:02 +0200
18255
+
18256
+
18257
+ Started GET "/awesome_translations/handlers/model_handler/groups/Product" for 127.0.0.1 at 2015-06-07 13:24:10 +0200
18258
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18259
+ Processing by AwesomeTranslations::GroupsController#show as HTML
18260
+ Parameters: {"handler_id"=>"model_handler", "id"=>"Product"}
18261
+ Completed 404 Not Found in 8ms
18262
+
18263
+ ActiveRecord::RecordNotFound (Group not found by handler and ID: 'ModelHandler', 'Product'.):
18264
+ /media/storage/Dev/Rails/awesome_translations/app/models/awesome_translations/group.rb:9:in `find_by_handler_and_id'
18265
+ /media/storage/Dev/Rails/awesome_translations/app/controllers/awesome_translations/groups_controller.rb:36:in `set_group'
18266
+ activesupport (4.0.10) lib/active_support/callbacks.rb:387:in `_run__1539009464468462026__process_action__callbacks'
18267
+ activesupport (4.0.10) lib/active_support/callbacks.rb:80:in `run_callbacks'
18268
+ actionpack (4.0.10) lib/abstract_controller/callbacks.rb:17:in `process_action'
18269
+ actionpack (4.0.10) lib/action_controller/metal/rescue.rb:29:in `process_action'
18270
+ actionpack (4.0.10) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
18271
+ activesupport (4.0.10) lib/active_support/notifications.rb:159:in `block in instrument'
18272
+ activesupport (4.0.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
18273
+ activesupport (4.0.10) lib/active_support/notifications.rb:159:in `instrument'
18274
+ actionpack (4.0.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
18275
+ actionpack (4.0.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
18276
+ activerecord (4.0.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
18277
+ actionpack (4.0.10) lib/abstract_controller/base.rb:136:in `process'
18278
+ actionpack (4.0.10) lib/abstract_controller/rendering.rb:44:in `process'
18279
+ actionpack (4.0.10) lib/action_controller/metal.rb:195:in `dispatch'
18280
+ actionpack (4.0.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
18281
+ actionpack (4.0.10) lib/action_controller/metal.rb:231:in `block in action'
18282
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:82:in `call'
18283
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
18284
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:50:in `call'
18285
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:71:in `block in call'
18286
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `each'
18287
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `call'
18288
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:676:in `call'
18289
+ railties (4.0.10) lib/rails/engine.rb:511:in `call'
18290
+ railties (4.0.10) lib/rails/railtie/configurable.rb:30:in `method_missing'
18291
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:71:in `block in call'
18292
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `each'
18293
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `call'
18294
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:676:in `call'
18295
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
18296
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
18297
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
18298
+ actionpack (4.0.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
18299
+ actionpack (4.0.10) lib/action_dispatch/middleware/flash.rb:241:in `call'
18300
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
18301
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
18302
+ actionpack (4.0.10) lib/action_dispatch/middleware/cookies.rb:486:in `call'
18303
+ activerecord (4.0.10) lib/active_record/query_cache.rb:36:in `call'
18304
+ activerecord (4.0.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
18305
+ activerecord (4.0.10) lib/active_record/migration.rb:373:in `call'
18306
+ actionpack (4.0.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
18307
+ activesupport (4.0.10) lib/active_support/callbacks.rb:373:in `_run__1269739957741112544__call__callbacks'
18308
+ activesupport (4.0.10) lib/active_support/callbacks.rb:80:in `run_callbacks'
18309
+ actionpack (4.0.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
18310
+ actionpack (4.0.10) lib/action_dispatch/middleware/reloader.rb:64:in `call'
18311
+ actionpack (4.0.10) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
18312
+ actionpack (4.0.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
18313
+ actionpack (4.0.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18314
+ railties (4.0.10) lib/rails/rack/logger.rb:38:in `call_app'
18315
+ railties (4.0.10) lib/rails/rack/logger.rb:20:in `block in call'
18316
+ activesupport (4.0.10) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18317
+ activesupport (4.0.10) lib/active_support/tagged_logging.rb:26:in `tagged'
18318
+ activesupport (4.0.10) lib/active_support/tagged_logging.rb:68:in `tagged'
18319
+ railties (4.0.10) lib/rails/rack/logger.rb:20:in `call'
18320
+ actionpack (4.0.10) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18321
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18322
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18323
+ activesupport (4.0.10) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
18324
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18325
+ actionpack (4.0.10) lib/action_dispatch/middleware/static.rb:64:in `call'
18326
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18327
+ railties (4.0.10) lib/rails/engine.rb:511:in `call'
18328
+ railties (4.0.10) lib/rails/application.rb:97:in `call'
18329
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18330
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18331
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18332
+ /home/kaspernj/.rvm/rubies/ruby-2.1-head/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18333
+ /home/kaspernj/.rvm/rubies/ruby-2.1-head/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18334
+ /home/kaspernj/.rvm/rubies/ruby-2.1-head/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18335
+
18336
+
18337
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
18338
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
18339
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.5ms)
18340
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.7ms)
18341
+
18342
+
18343
+ Started GET "/awesome_translations/handlers/model_handler/groups/Product" for 127.0.0.1 at 2015-06-07 13:24:14 +0200
18344
+ Processing by AwesomeTranslations::GroupsController#show as HTML
18345
+ Parameters: {"handler_id"=>"model_handler", "id"=>"Product"}
18346
+ Completed 404 Not Found in 0ms
18347
+
18348
+ ActiveRecord::RecordNotFound (Group not found by handler and ID: 'ModelHandler', 'Product'.):
18349
+ /media/storage/Dev/Rails/awesome_translations/app/models/awesome_translations/group.rb:9:in `find_by_handler_and_id'
18350
+ /media/storage/Dev/Rails/awesome_translations/app/controllers/awesome_translations/groups_controller.rb:36:in `set_group'
18351
+ activesupport (4.0.10) lib/active_support/callbacks.rb:387:in `_run__1539009464468462026__process_action__callbacks'
18352
+ activesupport (4.0.10) lib/active_support/callbacks.rb:80:in `run_callbacks'
18353
+ actionpack (4.0.10) lib/abstract_controller/callbacks.rb:17:in `process_action'
18354
+ actionpack (4.0.10) lib/action_controller/metal/rescue.rb:29:in `process_action'
18355
+ actionpack (4.0.10) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
18356
+ activesupport (4.0.10) lib/active_support/notifications.rb:159:in `block in instrument'
18357
+ activesupport (4.0.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
18358
+ activesupport (4.0.10) lib/active_support/notifications.rb:159:in `instrument'
18359
+ actionpack (4.0.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
18360
+ actionpack (4.0.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
18361
+ activerecord (4.0.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
18362
+ actionpack (4.0.10) lib/abstract_controller/base.rb:136:in `process'
18363
+ actionpack (4.0.10) lib/abstract_controller/rendering.rb:44:in `process'
18364
+ actionpack (4.0.10) lib/action_controller/metal.rb:195:in `dispatch'
18365
+ actionpack (4.0.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
18366
+ actionpack (4.0.10) lib/action_controller/metal.rb:231:in `block in action'
18367
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:82:in `call'
18368
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
18369
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:50:in `call'
18370
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:71:in `block in call'
18371
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `each'
18372
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `call'
18373
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:676:in `call'
18374
+ railties (4.0.10) lib/rails/engine.rb:511:in `call'
18375
+ railties (4.0.10) lib/rails/railtie/configurable.rb:30:in `method_missing'
18376
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:71:in `block in call'
18377
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `each'
18378
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `call'
18379
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:676:in `call'
18380
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
18381
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
18382
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
18383
+ actionpack (4.0.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
18384
+ actionpack (4.0.10) lib/action_dispatch/middleware/flash.rb:241:in `call'
18385
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
18386
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
18387
+ actionpack (4.0.10) lib/action_dispatch/middleware/cookies.rb:486:in `call'
18388
+ activerecord (4.0.10) lib/active_record/query_cache.rb:36:in `call'
18389
+ activerecord (4.0.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
18390
+ activerecord (4.0.10) lib/active_record/migration.rb:373:in `call'
18391
+ actionpack (4.0.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
18392
+ activesupport (4.0.10) lib/active_support/callbacks.rb:373:in `_run__1269739957741112544__call__callbacks'
18393
+ activesupport (4.0.10) lib/active_support/callbacks.rb:80:in `run_callbacks'
18394
+ actionpack (4.0.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
18395
+ actionpack (4.0.10) lib/action_dispatch/middleware/reloader.rb:64:in `call'
18396
+ actionpack (4.0.10) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
18397
+ actionpack (4.0.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
18398
+ actionpack (4.0.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18399
+ railties (4.0.10) lib/rails/rack/logger.rb:38:in `call_app'
18400
+ railties (4.0.10) lib/rails/rack/logger.rb:20:in `block in call'
18401
+ activesupport (4.0.10) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18402
+ activesupport (4.0.10) lib/active_support/tagged_logging.rb:26:in `tagged'
18403
+ activesupport (4.0.10) lib/active_support/tagged_logging.rb:68:in `tagged'
18404
+ railties (4.0.10) lib/rails/rack/logger.rb:20:in `call'
18405
+ actionpack (4.0.10) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18406
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18407
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18408
+ activesupport (4.0.10) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
18409
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18410
+ actionpack (4.0.10) lib/action_dispatch/middleware/static.rb:64:in `call'
18411
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18412
+ railties (4.0.10) lib/rails/engine.rb:511:in `call'
18413
+ railties (4.0.10) lib/rails/application.rb:97:in `call'
18414
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18415
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18416
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18417
+ /home/kaspernj/.rvm/rubies/ruby-2.1-head/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18418
+ /home/kaspernj/.rvm/rubies/ruby-2.1-head/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18419
+ /home/kaspernj/.rvm/rubies/ruby-2.1-head/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18420
+
18421
+
18422
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.4ms)
18423
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.7ms)
18424
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
18425
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.8ms)
18426
+
18427
+
18428
+ Started GET "/awesome_translations/handlers/model_handler/groups/Product" for 127.0.0.1 at 2015-06-07 13:24:20 +0200
18429
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18430
+ Processing by AwesomeTranslations::GroupsController#show as HTML
18431
+ Parameters: {"handler_id"=>"model_handler", "id"=>"Product"}
18432
+ Completed 404 Not Found in 8ms
18433
+
18434
+ ActiveRecord::RecordNotFound (Group not found by handler and ID: 'ModelHandler', 'Product'.):
18435
+ /media/storage/Dev/Rails/awesome_translations/app/models/awesome_translations/group.rb:9:in `find_by_handler_and_id'
18436
+ /media/storage/Dev/Rails/awesome_translations/app/controllers/awesome_translations/groups_controller.rb:36:in `set_group'
18437
+ activesupport (4.0.10) lib/active_support/callbacks.rb:387:in `_run__681829626198959552__process_action__callbacks'
18438
+ activesupport (4.0.10) lib/active_support/callbacks.rb:80:in `run_callbacks'
18439
+ actionpack (4.0.10) lib/abstract_controller/callbacks.rb:17:in `process_action'
18440
+ actionpack (4.0.10) lib/action_controller/metal/rescue.rb:29:in `process_action'
18441
+ actionpack (4.0.10) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
18442
+ activesupport (4.0.10) lib/active_support/notifications.rb:159:in `block in instrument'
18443
+ activesupport (4.0.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
18444
+ activesupport (4.0.10) lib/active_support/notifications.rb:159:in `instrument'
18445
+ actionpack (4.0.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
18446
+ actionpack (4.0.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
18447
+ activerecord (4.0.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
18448
+ actionpack (4.0.10) lib/abstract_controller/base.rb:136:in `process'
18449
+ actionpack (4.0.10) lib/abstract_controller/rendering.rb:44:in `process'
18450
+ actionpack (4.0.10) lib/action_controller/metal.rb:195:in `dispatch'
18451
+ actionpack (4.0.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
18452
+ actionpack (4.0.10) lib/action_controller/metal.rb:231:in `block in action'
18453
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:82:in `call'
18454
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
18455
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:50:in `call'
18456
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:71:in `block in call'
18457
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `each'
18458
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `call'
18459
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:676:in `call'
18460
+ railties (4.0.10) lib/rails/engine.rb:511:in `call'
18461
+ railties (4.0.10) lib/rails/railtie/configurable.rb:30:in `method_missing'
18462
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:71:in `block in call'
18463
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `each'
18464
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `call'
18465
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:676:in `call'
18466
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
18467
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
18468
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
18469
+ actionpack (4.0.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
18470
+ actionpack (4.0.10) lib/action_dispatch/middleware/flash.rb:241:in `call'
18471
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
18472
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
18473
+ actionpack (4.0.10) lib/action_dispatch/middleware/cookies.rb:486:in `call'
18474
+ activerecord (4.0.10) lib/active_record/query_cache.rb:36:in `call'
18475
+ activerecord (4.0.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
18476
+ activerecord (4.0.10) lib/active_record/migration.rb:373:in `call'
18477
+ actionpack (4.0.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
18478
+ activesupport (4.0.10) lib/active_support/callbacks.rb:373:in `_run__2318767150298491093__call__callbacks'
18479
+ activesupport (4.0.10) lib/active_support/callbacks.rb:80:in `run_callbacks'
18480
+ actionpack (4.0.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
18481
+ actionpack (4.0.10) lib/action_dispatch/middleware/reloader.rb:64:in `call'
18482
+ actionpack (4.0.10) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
18483
+ actionpack (4.0.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
18484
+ actionpack (4.0.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18485
+ railties (4.0.10) lib/rails/rack/logger.rb:38:in `call_app'
18486
+ railties (4.0.10) lib/rails/rack/logger.rb:20:in `block in call'
18487
+ activesupport (4.0.10) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18488
+ activesupport (4.0.10) lib/active_support/tagged_logging.rb:26:in `tagged'
18489
+ activesupport (4.0.10) lib/active_support/tagged_logging.rb:68:in `tagged'
18490
+ railties (4.0.10) lib/rails/rack/logger.rb:20:in `call'
18491
+ actionpack (4.0.10) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18492
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18493
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18494
+ activesupport (4.0.10) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
18495
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18496
+ actionpack (4.0.10) lib/action_dispatch/middleware/static.rb:64:in `call'
18497
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18498
+ railties (4.0.10) lib/rails/engine.rb:511:in `call'
18499
+ railties (4.0.10) lib/rails/application.rb:97:in `call'
18500
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18501
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18502
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18503
+ /home/kaspernj/.rvm/rubies/ruby-2.1-head/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18504
+ /home/kaspernj/.rvm/rubies/ruby-2.1-head/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18505
+ /home/kaspernj/.rvm/rubies/ruby-2.1-head/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18506
+
18507
+
18508
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
18509
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
18510
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.6ms)
18511
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.3ms)
18512
+
18513
+
18514
+ Started GET "/awesome_translations/handlers/model_handler/groups/Product" for 127.0.0.1 at 2015-06-07 13:24:21 +0200
18515
+ Processing by AwesomeTranslations::GroupsController#show as HTML
18516
+ Parameters: {"handler_id"=>"model_handler", "id"=>"Product"}
18517
+ Completed 404 Not Found in 0ms
18518
+
18519
+ ActiveRecord::RecordNotFound (Group not found by handler and ID: 'ModelHandler', 'Product'.):
18520
+ /media/storage/Dev/Rails/awesome_translations/app/models/awesome_translations/group.rb:9:in `find_by_handler_and_id'
18521
+ /media/storage/Dev/Rails/awesome_translations/app/controllers/awesome_translations/groups_controller.rb:36:in `set_group'
18522
+ activesupport (4.0.10) lib/active_support/callbacks.rb:387:in `_run__681829626198959552__process_action__callbacks'
18523
+ activesupport (4.0.10) lib/active_support/callbacks.rb:80:in `run_callbacks'
18524
+ actionpack (4.0.10) lib/abstract_controller/callbacks.rb:17:in `process_action'
18525
+ actionpack (4.0.10) lib/action_controller/metal/rescue.rb:29:in `process_action'
18526
+ actionpack (4.0.10) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
18527
+ activesupport (4.0.10) lib/active_support/notifications.rb:159:in `block in instrument'
18528
+ activesupport (4.0.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
18529
+ activesupport (4.0.10) lib/active_support/notifications.rb:159:in `instrument'
18530
+ actionpack (4.0.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
18531
+ actionpack (4.0.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
18532
+ activerecord (4.0.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
18533
+ actionpack (4.0.10) lib/abstract_controller/base.rb:136:in `process'
18534
+ actionpack (4.0.10) lib/abstract_controller/rendering.rb:44:in `process'
18535
+ actionpack (4.0.10) lib/action_controller/metal.rb:195:in `dispatch'
18536
+ actionpack (4.0.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
18537
+ actionpack (4.0.10) lib/action_controller/metal.rb:231:in `block in action'
18538
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:82:in `call'
18539
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
18540
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:50:in `call'
18541
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:71:in `block in call'
18542
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `each'
18543
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `call'
18544
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:676:in `call'
18545
+ railties (4.0.10) lib/rails/engine.rb:511:in `call'
18546
+ railties (4.0.10) lib/rails/railtie/configurable.rb:30:in `method_missing'
18547
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:71:in `block in call'
18548
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `each'
18549
+ actionpack (4.0.10) lib/action_dispatch/journey/router.rb:59:in `call'
18550
+ actionpack (4.0.10) lib/action_dispatch/routing/route_set.rb:676:in `call'
18551
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
18552
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
18553
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
18554
+ actionpack (4.0.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
18555
+ actionpack (4.0.10) lib/action_dispatch/middleware/flash.rb:241:in `call'
18556
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
18557
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
18558
+ actionpack (4.0.10) lib/action_dispatch/middleware/cookies.rb:486:in `call'
18559
+ activerecord (4.0.10) lib/active_record/query_cache.rb:36:in `call'
18560
+ activerecord (4.0.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
18561
+ activerecord (4.0.10) lib/active_record/migration.rb:373:in `call'
18562
+ actionpack (4.0.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
18563
+ activesupport (4.0.10) lib/active_support/callbacks.rb:373:in `_run__2318767150298491093__call__callbacks'
18564
+ activesupport (4.0.10) lib/active_support/callbacks.rb:80:in `run_callbacks'
18565
+ actionpack (4.0.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
18566
+ actionpack (4.0.10) lib/action_dispatch/middleware/reloader.rb:64:in `call'
18567
+ actionpack (4.0.10) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
18568
+ actionpack (4.0.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
18569
+ actionpack (4.0.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18570
+ railties (4.0.10) lib/rails/rack/logger.rb:38:in `call_app'
18571
+ railties (4.0.10) lib/rails/rack/logger.rb:20:in `block in call'
18572
+ activesupport (4.0.10) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18573
+ activesupport (4.0.10) lib/active_support/tagged_logging.rb:26:in `tagged'
18574
+ activesupport (4.0.10) lib/active_support/tagged_logging.rb:68:in `tagged'
18575
+ railties (4.0.10) lib/rails/rack/logger.rb:20:in `call'
18576
+ actionpack (4.0.10) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18577
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18578
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18579
+ activesupport (4.0.10) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
18580
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18581
+ actionpack (4.0.10) lib/action_dispatch/middleware/static.rb:64:in `call'
18582
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18583
+ railties (4.0.10) lib/rails/engine.rb:511:in `call'
18584
+ railties (4.0.10) lib/rails/application.rb:97:in `call'
18585
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18586
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18587
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18588
+ /home/kaspernj/.rvm/rubies/ruby-2.1-head/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18589
+ /home/kaspernj/.rvm/rubies/ruby-2.1-head/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18590
+ /home/kaspernj/.rvm/rubies/ruby-2.1-head/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18591
+
18592
+
18593
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
18594
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
18595
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
18596
+ Rendered /home/kaspernj/.rvm/gems/ruby-2.1-head/gems/actionpack-4.0.10/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.5ms)
18597
+
18598
+
18599
+ Started GET "/awesome_translations/" for 127.0.0.1 at 2015-06-07 13:24:25 +0200
18600
+ Processing by AwesomeTranslations::HandlersController#index as HTML
18601
+ Rendered /media/storage/Dev/Rails/awesome_translations/app/views/awesome_translations/handlers/index.html.haml within layouts/awesome_translations/application (8.1ms)
18602
+ Completed 200 OK in 120ms (Views: 120.2ms | ActiveRecord: 0.0ms)
18603
+
18604
+
18605
+ Started GET "/assets/awesome_translations/application.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:26 +0200
18606
+
18607
+
18608
+ Started GET "/assets/awesome_translations/layout.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:26 +0200
18609
+
18610
+
18611
+ Started GET "/assets/awesome_translations/groups.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:26 +0200
18612
+
18613
+
18614
+ Started GET "/assets/awesome_translations/application.self.js?body=1" for 127.0.0.1 at 2015-06-07 13:24:26 +0200
18615
+
18616
+
18617
+ Started GET "/awesome_translations/" for 127.0.0.1 at 2015-06-07 13:24:26 +0200
18618
+ Processing by AwesomeTranslations::HandlersController#index as HTML
18619
+ Rendered /media/storage/Dev/Rails/awesome_translations/app/views/awesome_translations/handlers/index.html.haml within layouts/awesome_translations/application (0.7ms)
18620
+ Completed 200 OK in 8ms (Views: 8.1ms | ActiveRecord: 0.0ms)
18621
+
18622
+
18623
+ Started GET "/assets/awesome_translations/application.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:26 +0200
18624
+
18625
+
18626
+ Started GET "/assets/awesome_translations/layout.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:26 +0200
18627
+
18628
+
18629
+ Started GET "/assets/awesome_translations/application.self.js?body=1" for 127.0.0.1 at 2015-06-07 13:24:26 +0200
18630
+
18631
+
18632
+ Started GET "/assets/awesome_translations/groups.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:26 +0200
18633
+
18634
+
18635
+ Started GET "/awesome_translations/handlers/model_handler" for 127.0.0.1 at 2015-06-07 13:24:27 +0200
18636
+ Processing by AwesomeTranslations::HandlersController#show as HTML
18637
+ Parameters: {"id"=>"model_handler"}
18638
+ Rendered /media/storage/Dev/Rails/awesome_translations/app/views/awesome_translations/handlers/show.html.haml within layouts/awesome_translations/application (14.9ms)
18639
+ Completed 200 OK in 73ms (Views: 72.9ms | ActiveRecord: 0.0ms)
18640
+
18641
+
18642
+ Started GET "/assets/awesome_translations/application.self.js?body=1" for 127.0.0.1 at 2015-06-07 13:24:27 +0200
18643
+
18644
+
18645
+ Started GET "/assets/awesome_translations/groups.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:27 +0200
18646
+
18647
+
18648
+ Started GET "/assets/awesome_translations/application.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:27 +0200
18649
+
18650
+
18651
+ Started GET "/assets/awesome_translations/layout.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:27 +0200
18652
+
18653
+
18654
+ Started GET "/awesome_translations/handlers/model_handler" for 127.0.0.1 at 2015-06-07 13:24:37 +0200
18655
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18656
+ Processing by AwesomeTranslations::HandlersController#show as HTML
18657
+ Parameters: {"id"=>"model_handler"}
18658
+ Rendered /media/storage/Dev/Rails/awesome_translations/app/views/awesome_translations/handlers/show.html.haml within layouts/awesome_translations/application (23.8ms)
18659
+ Completed 200 OK in 158ms (Views: 156.5ms | ActiveRecord: 0.0ms)
18660
+
18661
+
18662
+ Started GET "/assets/awesome_translations/layout.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:37 +0200
18663
+
18664
+
18665
+ Started GET "/assets/awesome_translations/application.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:37 +0200
18666
+
18667
+
18668
+ Started GET "/assets/awesome_translations/groups.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:37 +0200
18669
+
18670
+
18671
+ Started GET "/assets/awesome_translations/application.self.js?body=1" for 127.0.0.1 at 2015-06-07 13:24:37 +0200
18672
+
18673
+
18674
+ Started GET "/awesome_translations/handlers/model_handler" for 127.0.0.1 at 2015-06-07 13:24:38 +0200
18675
+ Processing by AwesomeTranslations::HandlersController#show as HTML
18676
+ Parameters: {"id"=>"model_handler"}
18677
+ Rendered /media/storage/Dev/Rails/awesome_translations/app/views/awesome_translations/handlers/show.html.haml within layouts/awesome_translations/application (10.4ms)
18678
+ Completed 200 OK in 19ms (Views: 18.4ms | ActiveRecord: 0.0ms)
18679
+
18680
+
18681
+ Started GET "/assets/awesome_translations/application.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:38 +0200
18682
+
18683
+
18684
+ Started GET "/assets/awesome_translations/groups.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:38 +0200
18685
+
18686
+
18687
+ Started GET "/assets/awesome_translations/layout.self.css?body=1" for 127.0.0.1 at 2015-06-07 13:24:38 +0200
18688
+
18689
+
18690
+ Started GET "/assets/awesome_translations/application.self.js?body=1" for 127.0.0.1 at 2015-06-07 13:24:38 +0200