uploadcare-rails 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generators/templates/uploadcare_config_template.yml +7 -0
  3. data/lib/uploadcare/rails/active_record/has_file.rb +29 -5
  4. data/lib/uploadcare/rails/active_record/has_group.rb +30 -6
  5. data/lib/uploadcare/rails/engine.rb +2 -1
  6. data/lib/uploadcare/rails/formtastic/formtastic.rb +55 -0
  7. data/lib/uploadcare/rails/objects/file.rb +8 -0
  8. data/lib/uploadcare/rails/objects/group.rb +8 -0
  9. data/lib/uploadcare/rails/version.rb +1 -1
  10. data/spec/dummy/config/uploadcare.yml +7 -0
  11. data/spec/dummy/db/development.sqlite3 +0 -0
  12. data/spec/dummy/log/development.log +1106 -0
  13. data/spec/dummy/log/test.log +1223 -0
  14. data/spec/dummy/tmp/cache/474/EF1/http%3A%2F%2Fwww.ucarecdn.com%2Fd27c9628-0056-4f6d-9924-2a53b31349e5%7E1%2F +0 -0
  15. data/spec/dummy/tmp/cache/5B7/AF1/http%3A%2F%2Fwww.ucarecdn.com%2F30f0dd8b-8c80-4c23-b4e4-8bf19cab791c%7E2%2F +0 -0
  16. data/spec/dummy/tmp/cache/assets/development/sprockets/1004cb216c6a15b26aa9c52095902ee6 +0 -0
  17. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  18. data/spec/dummy/tmp/cache/assets/development/sprockets/1930f1dc4fdf14493b9e0803644ae54a +0 -0
  19. data/spec/dummy/tmp/cache/assets/development/sprockets/1e8f75a6b5b33970fb8e397347caa0a1 +0 -0
  20. data/spec/dummy/tmp/cache/assets/development/sprockets/24204f742af588c8166d3160b500d20f +0 -0
  21. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  22. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  23. data/spec/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
  24. data/spec/dummy/tmp/cache/assets/development/sprockets/416150dc3ac35079c94273cc46e90aa6 +0 -0
  25. data/spec/dummy/tmp/cache/assets/development/sprockets/452d6d871c74e1af2376c48d479d0de8 +0 -0
  26. data/spec/dummy/tmp/cache/assets/development/sprockets/4a9c6a738b32dff53c7ff9e969e8a100 +0 -0
  27. data/spec/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5 +0 -0
  28. data/spec/dummy/tmp/cache/assets/development/sprockets/5384ad85f52d3272dbc64d46ef3876a4 +0 -0
  29. data/spec/dummy/tmp/cache/assets/development/sprockets/699d74723d728056d850fb6a184402bd +0 -0
  30. data/spec/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
  31. data/spec/dummy/tmp/cache/assets/development/sprockets/883a8569a0105010b3a20e0b3dbdf927 +0 -0
  32. data/spec/dummy/tmp/cache/assets/development/sprockets/95e9749abfc334c7c5ad500b3b4072c4 +0 -0
  33. data/spec/dummy/tmp/cache/assets/development/sprockets/95f1667ad97500a482296c32c98e0fa0 +0 -0
  34. data/spec/dummy/tmp/cache/assets/development/sprockets/9e674de141fc3a84d6d2a0d0fc9a2d4c +0 -0
  35. data/spec/dummy/tmp/cache/assets/development/sprockets/c5ee0ee454770d592be595422c5f89b8 +0 -0
  36. data/spec/dummy/tmp/cache/assets/development/sprockets/c85016e7bbd4f3adbb7635d01f85d39b +0 -0
  37. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  38. data/spec/dummy/tmp/cache/assets/development/sprockets/d066c004d1fd26ae76a61303a7a18145 +0 -0
  39. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  40. data/spec/dummy/tmp/cache/assets/development/sprockets/e0420288cc577f8ffa3ed73c373d2451 +0 -0
  41. data/spec/dummy/tmp/cache/assets/development/sprockets/e41598315cab1b953e63b62bc36ee2f6 +0 -0
  42. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  43. data/spec/helpers/formtastic_spec.rb +32 -0
  44. data/spec/models/has_file_spec.rb +11 -0
  45. data/spec/models/has_group_spec.rb +11 -0
  46. data/spec/objects/group_spec.rb +0 -1
  47. metadata +77 -3
  48. data/lib/uploadcare/rails/formastic/formastic.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 228b2a85b1efe28f7d897e48ae26f6811a046e59
4
- data.tar.gz: 9281c43077fcc20e79f6ad30be1ae4f05e8594f7
3
+ metadata.gz: 49a76350f1d3a5df585cb73e2aaa0bf57f6285cb
4
+ data.tar.gz: 67f1feb79cc91cb60853ec5264244049d284316d
5
5
  SHA512:
6
- metadata.gz: 1b5d5e0565318f0c4a3bd24d89dbb4908e1736fe80ad6bf5f96c31f7219be0d8c208538755dff4bef50c44278b687b9c83c56a110f826c385e1dcca72b3a20c4
7
- data.tar.gz: 737fb998ae0e0aa9bed97af045baa79572e0782030750314934ce7ef5907d417a254ece94314f6b7c6531098c48753664db5c9149aa218f8d077aeda27aee3ab
6
+ metadata.gz: 3cc68907326b401ac9d3fb4f9ae35856c4f9cbdd0487e67dd9d05e1da24a9ced5e146171db1a7aa460855134d425f5568a788b8a7151b42903f6447c759d048a
7
+ data.tar.gz: da962794b6aaea69ffc192f666f33f02a5935fcbaba6749278dac142bbca2143ccef5d79551180abdb42566ad255c40bf605c8cd8e0bbb47e6a79ff4f51e02dc
@@ -2,6 +2,7 @@ defaults: &defaults
2
2
  public_key: "demopublickey" # replace it with your public key
3
3
  private_key: "demoprivatekey" # replace it with your private key
4
4
 
5
+ # instances of widget initialized for you on page load
5
6
  live: true
6
7
 
7
8
  # cache files json dumps to prevent calling to server if it posible
@@ -10,6 +11,12 @@ defaults: &defaults
10
11
  # cache groups json dumps to prevent calling to server if it posible
11
12
  cache_groups: true
12
13
 
14
+ # store file or group after model is created or updated
15
+ store_after_save: true
16
+
17
+ # deletes file or group after model object is deleted
18
+ delete_after_destroy: true
19
+
13
20
  # Avaliable options are listed at https://uploadcare.com/documentation/widget/#advanced-configuration
14
21
  # please note, that for options marker as Global: N/A - there is no practical meaning
15
22
  # of putting this option here, as it will not have any effect.
@@ -32,11 +32,6 @@ module Uploadcare
32
32
  end
33
33
  end
34
34
 
35
- # before saving we checking what it is a actually file cdn url
36
- # or uuid. uuid will do.
37
- # group url or uuid should raise an erorr
38
- before_save "check_#{attribute}_for_uuid"
39
-
40
35
  define_method "check_#{attribute}_for_uuid" do
41
36
  url = self.attributes[attribute.to_s]
42
37
  unless url.empty?
@@ -44,6 +39,35 @@ module Uploadcare
44
39
  raise "Invalid Uploadcare file uuid" unless result.is_a?(Uploadcare::Parser::File)
45
40
  end
46
41
  end
42
+
43
+ define_method "store_#{attribute}" do
44
+ cdn_url = attributes[attribute.to_s].to_s
45
+ api = UPLOADCARE_SETTINGS.api
46
+
47
+ file = Uploadcare::Rails::File.new api, cdn_url
48
+ file.store
49
+
50
+ ::Rails.cache.write(cdn_url, file.marshal_dump) if UPLOADCARE_SETTINGS.cache_files
51
+ end
52
+
53
+ define_method "delete_#{attribute}" do
54
+ cdn_url = attributes[attribute.to_s].to_s
55
+ api = UPLOADCARE_SETTINGS.api
56
+
57
+ file = Uploadcare::Rails::File.new api, cdn_url
58
+ file.delete
59
+
60
+ ::Rails.cache.write(cdn_url, file.marshal_dump) if UPLOADCARE_SETTINGS.cache_files
61
+ end
62
+
63
+ # before saving we checking what it is a actually file cdn url
64
+ # or uuid. uuid will do.
65
+ # group url or uuid should raise an erorr
66
+ before_save "check_#{attribute}_for_uuid"
67
+
68
+ after_save "store_#{attribute}" if UPLOADCARE_SETTINGS.store_after_save
69
+
70
+ after_destroy "delete_#{attribute}" if UPLOADCARE_SETTINGS.delete_after_destroy
47
71
  end
48
72
  end
49
73
  end
@@ -28,18 +28,42 @@ module Uploadcare
28
28
  end
29
29
  end
30
30
 
31
- # before saving we checking what it is a actually file cdn url
32
- # or uuid. uuid will do.
33
- # group url or uuid should raise an erorr
34
- before_save "check_#{attribute}_for_uuid"
35
-
36
31
  define_method "check_#{attribute}_for_uuid" do
37
32
  url = self.attributes[attribute.to_s]
38
33
  unless url.empty?
39
34
  result = Uploadcare::Parser.parse(url)
40
- raise "Invalid group uuid" if result.is_a?(Uploadcare::Parser::Group)
35
+ raise "Invalid group uuid" unless result.is_a?(Uploadcare::Parser::Group)
41
36
  end
42
37
  end
38
+
39
+ define_method "store_#{attribute}" do
40
+ cdn_url = attributes[attribute.to_s].to_s
41
+ api = UPLOADCARE_SETTINGS.api
42
+
43
+ group = Uploadcare::Rails::Group.new api, cdn_url
44
+ group.store
45
+
46
+ ::Rails.cache.write(cdn_url, group.marshal_dump) if UPLOADCARE_SETTINGS.cache_groups
47
+ end
48
+
49
+ define_method "delete_#{attribute}" do
50
+ cdn_url = attributes[attribute.to_s].to_s
51
+ api = UPLOADCARE_SETTINGS.api
52
+
53
+ group = Uploadcare::Rails::Group.new api, cdn_url
54
+ group.delete
55
+
56
+ ::Rails.cache.write(cdn_url, group.marshal_dump) if UPLOADCARE_SETTINGS.cache_groups
57
+ end
58
+
59
+ # before saving we checking what it is a actually file cdn url
60
+ # or uuid. uuid will do.
61
+ # group url or uuid should raise an erorr
62
+ before_save "check_#{attribute}_for_uuid"
63
+
64
+ after_save "store_#{attribute}" if UPLOADCARE_SETTINGS.store_after_save
65
+
66
+ after_destroy "delete_#{attribute}" if UPLOADCARE_SETTINGS.delete_after_destroy
43
67
  end
44
68
  end
45
69
  end
@@ -20,8 +20,9 @@ module Uploadcare
20
20
 
21
21
  # Simple Form helpers
22
22
  require 'uploadcare/rails/simple_form/simple_form' if defined?(SimpleForm)
23
+
23
24
  # Formastic helpers
24
- require 'uploadcare/rails/formastic/formastic' if defined?(Formastic)
25
+ require 'uploadcare/rails/formtastic/formtastic' if defined?(Formtastic)
25
26
  end
26
27
  end
27
28
  end
@@ -0,0 +1,55 @@
1
+ module Uploadcare::Rails::Formtastic
2
+ class UploadcareInput < Formtastic::Inputs::HiddenInput
3
+ include Uploadcare::Rails::ActionView::UploaderTags
4
+
5
+ def role
6
+ "#{@options[:role]}".strip
7
+ end
8
+
9
+ def input_html_options
10
+ @options = uploadcare_uploader_options(@options)
11
+ super.merge role: role, data: @options[:data]
12
+ end
13
+
14
+ def is_file?
15
+ @builder.object.try("has_#{@attribute}_as_uploadcare_file?".to_sym) && !@builder.object.try("has_#{@attribute}_as_uploadcare_group?".to_sym)
16
+ end
17
+
18
+ def is_group?
19
+ @builder.object.try("has_#{@attribute}_as_uploadcare_file?".to_sym) && !@builder.object.try("has_#{@attribute}_as_uploadcare_group?".to_sym)
20
+ end
21
+ end
22
+
23
+ class UploadcareUploaderInput < Uploadcare::Rails::Formtastic::UploadcareInput
24
+ def input
25
+ @options ||= {}
26
+ @options[:uploadcare] ||= {}
27
+ if is_file?
28
+ @options[:uploadcare][:multiple] = false
29
+ elsif is_group?
30
+ @options[:uploadcare][:multiple] = true
31
+ end
32
+ super
33
+ end
34
+ end
35
+
36
+ class UploadcareSingleUploaderInput < Uploadcare::Rails::Formtastic::UploadcareInput
37
+ def input
38
+ @options ||= {}
39
+ @options[:uploadcare] ||= {}
40
+ @options[:uploadcare][:multiple] = false
41
+ super
42
+ end
43
+ end
44
+
45
+ class UploadcareMultipleUploaderInput < Uploadcare::Rails::Formtastic::UploadcareInput
46
+ def input
47
+ @options ||= {}
48
+ @options[:uploadcare] ||= {}
49
+ @options[:uploadcare][:multiple] = true
50
+ super
51
+ end
52
+ end
53
+ end
54
+
55
+ Formtastic::Inputs.send :include, Uploadcare::Rails::Formtastic
@@ -39,6 +39,14 @@ module Uploadcare
39
39
  marshal_dump
40
40
  end
41
41
 
42
+ def to_json
43
+ marshal_dump
44
+ end
45
+
46
+ def as_json options={}
47
+ marshal_dump
48
+ end
49
+
42
50
  def marshal_dump
43
51
  @table.stringify_keys
44
52
  end
@@ -36,6 +36,14 @@ module Uploadcare
36
36
  table
37
37
  end
38
38
 
39
+ def to_json
40
+ marshal_dump
41
+ end
42
+
43
+ def as_json options={}
44
+ marshal_dump
45
+ end
46
+
39
47
  private
40
48
  def map_files data
41
49
  data.stringify_keys!
@@ -1,5 +1,5 @@
1
1
  module Uploadcare
2
2
  module Rails
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.3"
4
4
  end
5
5
  end
@@ -5,6 +5,13 @@ defaults: &defaults
5
5
  cache_files: true
6
6
 
7
7
  cache_groups: true
8
+
9
+ # store file or group after model is created or updated
10
+ store_after_save: true
11
+
12
+ # deletes file or group after model object is deleted
13
+ delete_after_destroy: true
14
+
8
15
  # Avaliable options are listed at https://uploadcare.com/documentation/widget/#advanced-configuration
9
16
  # please note, that for options marker as Global: N/A - there is no practical meaning
10
17
  # of putting this option here, as it will not have any effect.
@@ -5713,3 +5713,1109 @@ ActionView::MissingTemplate - Missing template posts/show, application/show with
5713
5713
 
5714
5714
 
5715
5715
  Started POST "/__better_errors/70319662874880/variables" for 127.0.0.1 at 2014-04-03 16:22:23 +0700
5716
+
5717
+
5718
+ Started GET "/posts/2.json" for 127.0.0.1 at 2014-04-22 14:23:03 +0700
5719
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
5720
+ Processing by PostsController#show as JSON
5721
+ Parameters: {"id"=>"2"}
5722
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
5723
+ Completed 500 Internal Server Error in 40ms
5724
+
5725
+ ActionView::MissingTemplate - Missing template posts/show, application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
5726
+ * "/Users/romanonthego/Code/uploadcare/uploadcare-rails/spec/dummy/app/views"
5727
+ :
5728
+ actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
5729
+ actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
5730
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
5731
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
5732
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
5733
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
5734
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
5735
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
5736
+ actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
5737
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
5738
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
5739
+ actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
5740
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
5741
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
5742
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
5743
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
5744
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
5745
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
5746
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
5747
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
5748
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
5749
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
5750
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
5751
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
5752
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
5753
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
5754
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
5755
+ activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__944205700205720422__process_action__callbacks'
5756
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
5757
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
5758
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
5759
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
5760
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
5761
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
5762
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
5763
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
5764
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
5765
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
5766
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
5767
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
5768
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
5769
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
5770
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
5771
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
5772
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
5773
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
5774
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
5775
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
5776
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
5777
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
5778
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
5779
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
5780
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
5781
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
5782
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
5783
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
5784
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
5785
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
5786
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
5787
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
5788
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
5789
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
5790
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4592503410880338672__call__callbacks'
5791
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
5792
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
5793
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
5794
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
5795
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
5796
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
5797
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
5798
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
5799
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
5800
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
5801
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
5802
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
5803
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
5804
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
5805
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
5806
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
5807
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
5808
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
5809
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
5810
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
5811
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
5812
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
5813
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
5814
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
5815
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
5816
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
5817
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
5818
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
5819
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
5820
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
5821
+
5822
+
5823
+
5824
+ Started POST "/__better_errors/70173468366740/variables" for 127.0.0.1 at 2014-04-22 14:23:03 +0700
5825
+
5826
+
5827
+ Started GET "/posts/2.json" for 127.0.0.1 at 2014-04-22 14:23:15 +0700
5828
+ Processing by PostsController#show as JSON
5829
+ Parameters: {"id"=>"2"}
5830
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
5831
+ Completed 500 Internal Server Error in 2ms
5832
+
5833
+ ActionView::MissingTemplate - Missing template posts/show, application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
5834
+ * "/Users/romanonthego/Code/uploadcare/uploadcare-rails/spec/dummy/app/views"
5835
+ :
5836
+ actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
5837
+ actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
5838
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
5839
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
5840
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
5841
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
5842
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
5843
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
5844
+ actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
5845
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
5846
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
5847
+ actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
5848
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
5849
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
5850
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
5851
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
5852
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
5853
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
5854
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
5855
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
5856
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
5857
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
5858
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
5859
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
5860
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
5861
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
5862
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
5863
+ activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__944205700205720422__process_action__callbacks'
5864
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
5865
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
5866
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
5867
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
5868
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
5869
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
5870
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
5871
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
5872
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
5873
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
5874
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
5875
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
5876
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
5877
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
5878
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
5879
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
5880
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
5881
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
5882
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
5883
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
5884
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
5885
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
5886
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
5887
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
5888
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
5889
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
5890
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
5891
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
5892
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
5893
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
5894
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
5895
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
5896
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
5897
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
5898
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4592503410880338672__call__callbacks'
5899
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
5900
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
5901
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
5902
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
5903
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
5904
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
5905
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
5906
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
5907
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
5908
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
5909
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
5910
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
5911
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
5912
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
5913
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
5914
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
5915
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
5916
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
5917
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
5918
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
5919
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
5920
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
5921
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
5922
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
5923
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
5924
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
5925
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
5926
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
5927
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
5928
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
5929
+
5930
+
5931
+
5932
+ Started POST "/__better_errors/70173473786240/variables" for 127.0.0.1 at 2014-04-22 14:23:15 +0700
5933
+
5934
+
5935
+ Started GET "/posts/2.json" for 127.0.0.1 at 2014-04-22 14:24:35 +0700
5936
+ Processing by PostsController#show as JSON
5937
+ Parameters: {"id"=>"2"}
5938
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
5939
+ Rendered posts/show.json.builder (34.9ms)
5940
+ Completed 500 Internal Server Error in 39ms
5941
+
5942
+ NameError - undefined local variable or method `json' for #<#<Class:0x007fa51426a4d8>:0x007fa5115392e8>:
5943
+ app/views/posts/show.json.builder:1:in `_app_views_posts_show_json_builder__228750947705017477_70173468532640'
5944
+ actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render'
5945
+ activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument'
5946
+ actionpack (4.0.4) lib/action_view/template.rb:141:in `render'
5947
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
5948
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
5949
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
5950
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
5951
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
5952
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
5953
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
5954
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
5955
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
5956
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
5957
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
5958
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
5959
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
5960
+ actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
5961
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
5962
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
5963
+ actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
5964
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
5965
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
5966
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
5967
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
5968
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
5969
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
5970
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
5971
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
5972
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
5973
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
5974
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
5975
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
5976
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
5977
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
5978
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
5979
+ activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__944205700205720422__process_action__callbacks'
5980
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
5981
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
5982
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
5983
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
5984
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
5985
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
5986
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
5987
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
5988
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
5989
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
5990
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
5991
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
5992
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
5993
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
5994
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
5995
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
5996
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
5997
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
5998
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
5999
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
6000
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
6001
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
6002
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
6003
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
6004
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
6005
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
6006
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
6007
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
6008
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
6009
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
6010
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
6011
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
6012
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
6013
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
6014
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4592503410880338672__call__callbacks'
6015
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
6016
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
6017
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
6018
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
6019
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
6020
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
6021
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
6022
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
6023
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
6024
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
6025
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
6026
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
6027
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
6028
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
6029
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
6030
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
6031
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
6032
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
6033
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
6034
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6035
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
6036
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
6037
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
6038
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
6039
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6040
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
6041
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
6042
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
6043
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
6044
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
6045
+
6046
+
6047
+
6048
+ Started POST "/__better_errors/70173468699780/variables" for 127.0.0.1 at 2014-04-22 14:24:36 +0700
6049
+
6050
+
6051
+ Started GET "/posts/2.json" for 127.0.0.1 at 2014-04-22 14:24:36 +0700
6052
+ Processing by PostsController#show as JSON
6053
+ Parameters: {"id"=>"2"}
6054
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
6055
+ Rendered posts/show.json.builder (40.7ms)
6056
+ Completed 500 Internal Server Error in 44ms
6057
+
6058
+ NameError - undefined local variable or method `json' for #<#<Class:0x007fa51426a4d8>:0x007fa5129bb4c8>:
6059
+ app/views/posts/show.json.builder:1:in `_app_views_posts_show_json_builder__228750947705017477_70173468532640'
6060
+ actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render'
6061
+ activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument'
6062
+ actionpack (4.0.4) lib/action_view/template.rb:141:in `render'
6063
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
6064
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
6065
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
6066
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
6067
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
6068
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
6069
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
6070
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
6071
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
6072
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
6073
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
6074
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
6075
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
6076
+ actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
6077
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
6078
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
6079
+ actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
6080
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
6081
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
6082
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
6083
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
6084
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
6085
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
6086
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
6087
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
6088
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
6089
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
6090
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
6091
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
6092
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
6093
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
6094
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
6095
+ activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__944205700205720422__process_action__callbacks'
6096
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
6097
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
6098
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
6099
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
6100
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
6101
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
6102
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
6103
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
6104
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
6105
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
6106
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
6107
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
6108
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
6109
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
6110
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
6111
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
6112
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
6113
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
6114
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
6115
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
6116
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
6117
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
6118
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
6119
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
6120
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
6121
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
6122
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
6123
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
6124
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
6125
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
6126
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
6127
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
6128
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
6129
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
6130
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4592503410880338672__call__callbacks'
6131
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
6132
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
6133
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
6134
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
6135
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
6136
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
6137
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
6138
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
6139
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
6140
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
6141
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
6142
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
6143
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
6144
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
6145
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
6146
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
6147
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
6148
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
6149
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
6150
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6151
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
6152
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
6153
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
6154
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
6155
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6156
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
6157
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
6158
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
6159
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
6160
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
6161
+
6162
+
6163
+
6164
+ Started POST "/__better_errors/70173471708080/variables" for 127.0.0.1 at 2014-04-22 14:24:36 +0700
6165
+
6166
+
6167
+ Started GET "/posts/2.json" for 127.0.0.1 at 2014-04-22 14:24:37 +0700
6168
+ Processing by PostsController#show as JSON
6169
+ Parameters: {"id"=>"2"}
6170
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
6171
+ Rendered posts/show.json.builder (6.7ms)
6172
+ Completed 500 Internal Server Error in 10ms
6173
+
6174
+ NameError - undefined local variable or method `json' for #<#<Class:0x007fa51426a4d8>:0x007fa511523768>:
6175
+ app/views/posts/show.json.builder:1:in `_app_views_posts_show_json_builder__228750947705017477_70173468532640'
6176
+ actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render'
6177
+ activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument'
6178
+ actionpack (4.0.4) lib/action_view/template.rb:141:in `render'
6179
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
6180
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
6181
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
6182
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
6183
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
6184
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
6185
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
6186
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
6187
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
6188
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
6189
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
6190
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
6191
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
6192
+ actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
6193
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
6194
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
6195
+ actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
6196
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
6197
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
6198
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
6199
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
6200
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
6201
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
6202
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
6203
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
6204
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
6205
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
6206
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
6207
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
6208
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
6209
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
6210
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
6211
+ activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__944205700205720422__process_action__callbacks'
6212
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
6213
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
6214
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
6215
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
6216
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
6217
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
6218
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
6219
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
6220
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
6221
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
6222
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
6223
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
6224
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
6225
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
6226
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
6227
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
6228
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
6229
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
6230
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
6231
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
6232
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
6233
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
6234
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
6235
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
6236
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
6237
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
6238
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
6239
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
6240
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
6241
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
6242
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
6243
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
6244
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
6245
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
6246
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4592503410880338672__call__callbacks'
6247
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
6248
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
6249
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
6250
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
6251
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
6252
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
6253
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
6254
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
6255
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
6256
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
6257
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
6258
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
6259
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
6260
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
6261
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
6262
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
6263
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
6264
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
6265
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
6266
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6267
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
6268
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
6269
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
6270
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
6271
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6272
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
6273
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
6274
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
6275
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
6276
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
6277
+
6278
+
6279
+
6280
+ Started POST "/__better_errors/70173492607420/variables" for 127.0.0.1 at 2014-04-22 14:24:37 +0700
6281
+
6282
+
6283
+ Started GET "/posts_with_collection_and_files/" for 127.0.0.1 at 2014-04-22 14:24:57 +0700
6284
+ Processing by PostsWithCollectionAndFilesController#index as HTML
6285
+ PostsWithCollectionAndFile Load (12.3ms) SELECT "posts_with_collection_and_files".* FROM "posts_with_collection_and_files"
6286
+ Rendered posts_with_collection_and_files/index.html.erb within layouts/application (15.1ms)
6287
+ Completed 200 OK in 205ms (Views: 188.7ms | ActiveRecord: 12.3ms)
6288
+
6289
+
6290
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-04-22 14:24:57 +0700
6291
+
6292
+
6293
+ Started GET "/assets/post_with_collections.css?body=1" for 127.0.0.1 at 2014-04-22 14:24:57 +0700
6294
+
6295
+
6296
+ Started GET "/assets/posts_with_collection_and_files.css?body=1" for 127.0.0.1 at 2014-04-22 14:24:57 +0700
6297
+
6298
+
6299
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-04-22 14:24:57 +0700
6300
+
6301
+
6302
+ Started GET "/assets/post_with_collections.js?body=1" for 127.0.0.1 at 2014-04-22 14:24:57 +0700
6303
+
6304
+
6305
+ Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2014-04-22 14:24:57 +0700
6306
+
6307
+
6308
+ Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2014-04-22 14:24:57 +0700
6309
+
6310
+
6311
+ Started GET "/assets/posts_with_collection_and_files.js?body=1" for 127.0.0.1 at 2014-04-22 14:24:57 +0700
6312
+
6313
+
6314
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-04-22 14:24:57 +0700
6315
+
6316
+
6317
+ Started GET "/posts_with_collection_and_files/new" for 127.0.0.1 at 2014-04-22 14:25:02 +0700
6318
+ Processing by PostsWithCollectionAndFilesController#new as HTML
6319
+ Rendered posts_with_collection_and_files/_form.html.erb (58.6ms)
6320
+ Rendered posts_with_collection_and_files/new.html.erb within layouts/application (82.7ms)
6321
+ Completed 200 OK in 115ms (Views: 113.6ms | ActiveRecord: 0.4ms)
6322
+
6323
+
6324
+ Started POST "/posts_with_collection_and_files" for 127.0.0.1 at 2014-04-22 14:25:06 +0700
6325
+ Processing by PostsWithCollectionAndFilesController#create as HTML
6326
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"s3I66ZkufLzdxigZwYBEdROU1VApB9PbPPfyGdBTfuI=", "posts_with_collection_and_file"=>{"title"=>"", "file"=>""}, "commit"=>"Create Posts with collection and file"}
6327
+ Completed 500 Internal Server Error in 1ms
6328
+
6329
+ ActiveModel::ForbiddenAttributesError - ActiveModel::ForbiddenAttributesError:
6330
+ activemodel (4.0.4) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment'
6331
+ activerecord (4.0.4) lib/active_record/attribute_assignment.rb:21:in `assign_attributes'
6332
+ activerecord (4.0.4) lib/active_record/core.rb:468:in `init_attributes'
6333
+ activerecord (4.0.4) lib/active_record/core.rb:185:in `initialize'
6334
+ activerecord (4.0.4) lib/active_record/inheritance.rb:30:in `new'
6335
+ activerecord (4.0.4) lib/active_record/inheritance.rb:30:in `new'
6336
+ app/controllers/posts_with_collection_and_files_controller.rb:24:in `create'
6337
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
6338
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
6339
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
6340
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
6341
+ activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__572736165532980446__process_action__callbacks'
6342
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
6343
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
6344
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
6345
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
6346
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
6347
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
6348
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
6349
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
6350
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
6351
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
6352
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
6353
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
6354
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
6355
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
6356
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
6357
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
6358
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
6359
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
6360
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
6361
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
6362
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
6363
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
6364
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
6365
+ rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
6366
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
6367
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
6368
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
6369
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
6370
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
6371
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
6372
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
6373
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
6374
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
6375
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
6376
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4592503410880338672__call__callbacks'
6377
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
6378
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
6379
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
6380
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
6381
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
6382
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
6383
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
6384
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
6385
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
6386
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
6387
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
6388
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
6389
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
6390
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
6391
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
6392
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
6393
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
6394
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
6395
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
6396
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6397
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
6398
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
6399
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
6400
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
6401
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6402
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
6403
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
6404
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
6405
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
6406
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
6407
+
6408
+
6409
+
6410
+ Started POST "/__better_errors/70173473031180/variables" for 127.0.0.1 at 2014-04-22 14:25:06 +0700
6411
+
6412
+
6413
+ Started POST "/posts_with_collection_and_files" for 127.0.0.1 at 2014-04-22 14:25:28 +0700
6414
+ Processing by PostsWithCollectionAndFilesController#create as HTML
6415
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"s3I66ZkufLzdxigZwYBEdROU1VApB9PbPPfyGdBTfuI=", "posts_with_collection_and_file"=>{"title"=>"pum", "file"=>""}, "commit"=>"Create Posts with collection and file"}
6416
+ Completed 500 Internal Server Error in 1ms
6417
+
6418
+ ActiveModel::ForbiddenAttributesError - ActiveModel::ForbiddenAttributesError:
6419
+ activemodel (4.0.4) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment'
6420
+ activerecord (4.0.4) lib/active_record/attribute_assignment.rb:21:in `assign_attributes'
6421
+ activerecord (4.0.4) lib/active_record/core.rb:468:in `init_attributes'
6422
+ activerecord (4.0.4) lib/active_record/core.rb:185:in `initialize'
6423
+ activerecord (4.0.4) lib/active_record/inheritance.rb:30:in `new'
6424
+ activerecord (4.0.4) lib/active_record/inheritance.rb:30:in `new'
6425
+ app/controllers/posts_with_collection_and_files_controller.rb:24:in `create'
6426
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
6427
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
6428
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
6429
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
6430
+ activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__572736165532980446__process_action__callbacks'
6431
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
6432
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
6433
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
6434
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
6435
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
6436
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
6437
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
6438
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
6439
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
6440
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
6441
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
6442
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
6443
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
6444
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
6445
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
6446
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
6447
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
6448
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
6449
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
6450
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
6451
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
6452
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
6453
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
6454
+ rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
6455
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
6456
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
6457
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
6458
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
6459
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
6460
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
6461
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
6462
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
6463
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
6464
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
6465
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4592503410880338672__call__callbacks'
6466
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
6467
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
6468
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
6469
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
6470
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
6471
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
6472
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
6473
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
6474
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
6475
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
6476
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
6477
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
6478
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
6479
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
6480
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
6481
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
6482
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
6483
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
6484
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
6485
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6486
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
6487
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
6488
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
6489
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
6490
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6491
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
6492
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
6493
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
6494
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
6495
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
6496
+
6497
+
6498
+
6499
+ Started POST "/__better_errors/70173468445540/variables" for 127.0.0.1 at 2014-04-22 14:25:28 +0700
6500
+
6501
+
6502
+ Started POST "/posts_with_collection_and_files" for 127.0.0.1 at 2014-04-22 14:31:00 +0700
6503
+ Processing by PostsWithCollectionAndFilesController#create as HTML
6504
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"s3I66ZkufLzdxigZwYBEdROU1VApB9PbPPfyGdBTfuI=", "posts_with_collection_and_file"=>{"title"=>"pum", "file"=>"http://www.ucarecdn.com/300c13d5-9026-4156-9f69-37c440d99f79/"}, "commit"=>"Create Posts with collection and file"}
6505
+ Completed 500 Internal Server Error in 1ms
6506
+
6507
+ ActiveModel::ForbiddenAttributesError - ActiveModel::ForbiddenAttributesError:
6508
+ activemodel (4.0.4) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment'
6509
+ activerecord (4.0.4) lib/active_record/attribute_assignment.rb:21:in `assign_attributes'
6510
+ activerecord (4.0.4) lib/active_record/core.rb:468:in `init_attributes'
6511
+ activerecord (4.0.4) lib/active_record/core.rb:185:in `initialize'
6512
+ activerecord (4.0.4) lib/active_record/inheritance.rb:30:in `new'
6513
+ activerecord (4.0.4) lib/active_record/inheritance.rb:30:in `new'
6514
+ app/controllers/posts_with_collection_and_files_controller.rb:24:in `create'
6515
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
6516
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
6517
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
6518
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
6519
+ activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__572736165532980446__process_action__callbacks'
6520
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
6521
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
6522
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
6523
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
6524
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
6525
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
6526
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
6527
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
6528
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
6529
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
6530
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
6531
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
6532
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
6533
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
6534
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
6535
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
6536
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
6537
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
6538
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
6539
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
6540
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
6541
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
6542
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
6543
+ rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
6544
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
6545
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
6546
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
6547
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
6548
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
6549
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
6550
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
6551
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
6552
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
6553
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
6554
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4592503410880338672__call__callbacks'
6555
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
6556
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
6557
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
6558
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
6559
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
6560
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
6561
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
6562
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
6563
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
6564
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
6565
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
6566
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
6567
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
6568
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
6569
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
6570
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
6571
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
6572
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
6573
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
6574
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6575
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
6576
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
6577
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
6578
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
6579
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6580
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
6581
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
6582
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
6583
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
6584
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
6585
+
6586
+
6587
+
6588
+ Started POST "/__better_errors/70173469178360/variables" for 127.0.0.1 at 2014-04-22 14:31:01 +0700
6589
+
6590
+
6591
+ Started POST "/__better_errors/70173469178360/variables" for 127.0.0.1 at 2014-04-22 14:31:09 +0700
6592
+
6593
+
6594
+ Started POST "/__better_errors/70173469178360/variables" for 127.0.0.1 at 2014-04-22 14:31:10 +0700
6595
+
6596
+
6597
+ Started POST "/__better_errors/70173469178360/variables" for 127.0.0.1 at 2014-04-22 14:31:13 +0700
6598
+
6599
+
6600
+ Started POST "/__better_errors/70173469178360/variables" for 127.0.0.1 at 2014-04-22 14:31:16 +0700
6601
+
6602
+
6603
+ Started POST "/__better_errors/70173469178360/variables" for 127.0.0.1 at 2014-04-22 14:31:18 +0700
6604
+
6605
+
6606
+ Started POST "/__better_errors/70173469178360/variables" for 127.0.0.1 at 2014-04-22 14:31:19 +0700
6607
+
6608
+
6609
+ Started GET "/posts_with_collection/" for 127.0.0.1 at 2014-04-22 14:31:39 +0700
6610
+
6611
+ ActionController::RoutingError (No route matches [GET] "/posts_with_collection"):
6612
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
6613
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
6614
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
6615
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
6616
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
6617
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
6618
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
6619
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
6620
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
6621
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
6622
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
6623
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
6624
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6625
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
6626
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
6627
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
6628
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
6629
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6630
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
6631
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
6632
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
6633
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
6634
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
6635
+
6636
+
6637
+ Rendered /Users/romanonthego/.rvm/gems/ruby-2.0.0-p247@uploadcare/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
6638
+ Rendered /Users/romanonthego/.rvm/gems/ruby-2.0.0-p247@uploadcare/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.2ms)
6639
+ Rendered /Users/romanonthego/.rvm/gems/ruby-2.0.0-p247@uploadcare/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (29.3ms)
6640
+ Rendered /Users/romanonthego/.rvm/gems/ruby-2.0.0-p247@uploadcare/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (60.3ms)
6641
+
6642
+
6643
+ Started GET "/posts_with_collections/" for 127.0.0.1 at 2014-04-22 14:31:43 +0700
6644
+
6645
+ ActionController::RoutingError (No route matches [GET] "/posts_with_collections"):
6646
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
6647
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
6648
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
6649
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
6650
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
6651
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
6652
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
6653
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
6654
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
6655
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
6656
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
6657
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
6658
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6659
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
6660
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
6661
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
6662
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
6663
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6664
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
6665
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
6666
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
6667
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
6668
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
6669
+
6670
+
6671
+ Rendered /Users/romanonthego/.rvm/gems/ruby-2.0.0-p247@uploadcare/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
6672
+ Rendered /Users/romanonthego/.rvm/gems/ruby-2.0.0-p247@uploadcare/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.3ms)
6673
+ Rendered /Users/romanonthego/.rvm/gems/ruby-2.0.0-p247@uploadcare/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (39.4ms)
6674
+ Rendered /Users/romanonthego/.rvm/gems/ruby-2.0.0-p247@uploadcare/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (62.5ms)
6675
+
6676
+
6677
+ Started GET "/post_with_collections" for 127.0.0.1 at 2014-04-22 14:32:00 +0700
6678
+ Processing by PostWithCollectionsController#index as HTML
6679
+ PostWithCollection Load (13.9ms) SELECT "post_with_collections".* FROM "post_with_collections"
6680
+ Rendered post_with_collections/index.html.erb within layouts/application (15.5ms)
6681
+ Completed 200 OK in 41ms (Views: 23.7ms | ActiveRecord: 13.9ms)
6682
+
6683
+
6684
+ Started GET "/post_with_collections" for 127.0.0.1 at 2014-04-22 14:32:04 +0700
6685
+ Processing by PostWithCollectionsController#index as HTML
6686
+ PostWithCollection Load (0.2ms) SELECT "post_with_collections".* FROM "post_with_collections"
6687
+ Rendered post_with_collections/index.html.erb within layouts/application (1.0ms)
6688
+ Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.2ms)
6689
+
6690
+
6691
+ Started GET "/post_with_collections/new" for 127.0.0.1 at 2014-04-22 14:32:06 +0700
6692
+ Processing by PostWithCollectionsController#new as HTML
6693
+ Rendered post_with_collections/_form.html.erb (8.7ms)
6694
+ Rendered post_with_collections/new.html.erb within layouts/application (10.6ms)
6695
+ Completed 200 OK in 20ms (Views: 18.0ms | ActiveRecord: 0.5ms)
6696
+
6697
+
6698
+ Started POST "/post_with_collections" for 127.0.0.1 at 2014-04-22 14:32:28 +0700
6699
+ Processing by PostWithCollectionsController#create as HTML
6700
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"s3I66ZkufLzdxigZwYBEdROU1VApB9PbPPfyGdBTfuI=", "post_with_collection"=>{"title"=>"12", "file"=>"http://www.ucarecdn.com/d27c9628-0056-4f6d-9924-2a53b31349e5~1/"}, "commit"=>"Create Post with collection"}
6701
+  (0.1ms) begin transaction
6702
+ SQL (34.3ms) INSERT INTO "post_with_collections" ("created_at", "file", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 22 Apr 2014 07:32:28 UTC +00:00], ["file", "http://www.ucarecdn.com/d27c9628-0056-4f6d-9924-2a53b31349e5~1/"], ["title", "12"], ["updated_at", Tue, 22 Apr 2014 07:32:28 UTC +00:00]]
6703
+  (1.4ms) commit transaction
6704
+ Redirected to http://localhost:3000/post_with_collections/1
6705
+ Completed 302 Found in 3194ms (ActiveRecord: 35.8ms)
6706
+
6707
+
6708
+ Started GET "/post_with_collections/1" for 127.0.0.1 at 2014-04-22 14:32:31 +0700
6709
+ Processing by PostWithCollectionsController#show as HTML
6710
+ Parameters: {"id"=>"1"}
6711
+ PostWithCollection Load (0.2ms) SELECT "post_with_collections".* FROM "post_with_collections" WHERE "post_with_collections"."id" = ? LIMIT 1 [["id", "1"]]
6712
+ Rendered post_with_collections/show.html.erb within layouts/application (3.2ms)
6713
+ Completed 200 OK in 28ms (Views: 26.8ms | ActiveRecord: 0.2ms)
6714
+
6715
+
6716
+ Started GET "/post_with_collections/1.json" for 127.0.0.1 at 2014-04-22 14:32:38 +0700
6717
+ Processing by PostWithCollectionsController#show as JSON
6718
+ Parameters: {"id"=>"1"}
6719
+ PostWithCollection Load (0.1ms) SELECT "post_with_collections".* FROM "post_with_collections" WHERE "post_with_collections"."id" = ? LIMIT 1 [["id", "1"]]
6720
+ Completed 500 Internal Server Error in 2ms
6721
+
6722
+ ActionView::MissingTemplate - Missing template post_with_collections/show, application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
6723
+ * "/Users/romanonthego/Code/uploadcare/uploadcare-rails/spec/dummy/app/views"
6724
+ :
6725
+ actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
6726
+ actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
6727
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
6728
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
6729
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
6730
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
6731
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
6732
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
6733
+ actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
6734
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
6735
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
6736
+ actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
6737
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
6738
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
6739
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
6740
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
6741
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
6742
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
6743
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
6744
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
6745
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
6746
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
6747
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
6748
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
6749
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
6750
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
6751
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
6752
+ activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__2871092244333315232__process_action__callbacks'
6753
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
6754
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
6755
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
6756
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
6757
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
6758
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
6759
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
6760
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
6761
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
6762
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
6763
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
6764
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
6765
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
6766
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
6767
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
6768
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
6769
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
6770
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
6771
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
6772
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
6773
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
6774
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
6775
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
6776
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
6777
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
6778
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
6779
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
6780
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
6781
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
6782
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
6783
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
6784
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
6785
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
6786
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
6787
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4592503410880338672__call__callbacks'
6788
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
6789
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
6790
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
6791
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
6792
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
6793
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
6794
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
6795
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
6796
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
6797
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
6798
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
6799
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
6800
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
6801
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
6802
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
6803
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
6804
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
6805
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
6806
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
6807
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6808
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
6809
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
6810
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
6811
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
6812
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
6813
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
6814
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
6815
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
6816
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
6817
+ /Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
6818
+
6819
+
6820
+
6821
+ Started POST "/__better_errors/70173471932760/variables" for 127.0.0.1 at 2014-04-22 14:32:38 +0700