uploadcare-rails 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +9 -22
- data/lib/generators/templates/uploadcare_config_template.yml +6 -0
- data/lib/uploadcare/rails/active_record/has_file.rb +2 -5
- data/lib/uploadcare/rails/active_record/has_group.rb +7 -2
- data/lib/uploadcare/rails/engine.rb +0 -2
- data/lib/uploadcare/rails/{file.rb → objects/file.rb} +14 -2
- data/lib/uploadcare/rails/objects/group.rb +53 -0
- data/lib/uploadcare/rails/version.rb +1 -1
- data/spec/caching/file_caching_spec.rb +34 -0
- data/spec/caching/group_caching_spec.rb +43 -0
- data/spec/dummy/app/views/post_with_collections/show.json.jbuilder +1 -0
- data/spec/dummy/app/views/posts/_form.html.erb +0 -1
- data/spec/dummy/app/views/posts/post.json.builder +1 -0
- data/spec/dummy/app/views/posts_with_collection_and_files/show.json.jbuilder +1 -0
- data/spec/dummy/config/uploadcare.yml +3 -0
- data/spec/dummy/log/development.log +1025 -0
- data/spec/dummy/log/test.log +4745 -0
- data/spec/helpers/form_helpers_has_file_spec.rb +1 -1
- data/spec/helpers/form_helpers_has_group_spec.rb +1 -1
- data/spec/helpers/form_helpers_spec.rb +1 -1
- data/spec/helpers/simple_form_spec.rb +1 -1
- data/spec/models/has_both_file_and_group_spec.rb +8 -15
- data/spec/models/has_file_spec.rb +5 -6
- data/spec/models/has_group_spec.rb +2 -11
- data/spec/{models → objects}/file_spec.rb +5 -6
- data/spec/{models → objects}/group_spec.rb +6 -10
- data/spec/spec_helper.rb +14 -0
- data/spec/{models/view.png → view.png} +0 -0
- data/spec/{models/view2.jpg → view2.jpg} +0 -0
- metadata +36 -158
- data/lib/uploadcare/rails/group.rb +0 -27
- data/spec/dummy/tmp/cache/3D4/431/http%3A%2F%2Fwww.ucarecdn.com%2F8436a2ac-2d87-4365-a889-08174c4640ef%2F +0 -0
- data/spec/dummy/tmp/cache/3DB/3C1/http%3A%2F%2Fwww.ucarecdn.com%2F370b6571-876a-4b45-9f2e-fd0192f58863%2F +0 -0
- data/spec/dummy/tmp/cache/3EE/DA1/http%3A%2F%2Fwww.ucarecdn.com%2F78305c4e-c1b0-4830-8608-b0ac38452f3d%2F +0 -0
- data/spec/dummy/tmp/cache/40D/7F1/http%3A%2F%2Fwww.ucarecdn.com%2F5e060271-12bf-4ac4-93bd-1a08137d304c%2F +0 -0
- data/spec/dummy/tmp/cache/42F/7B1/http%3A%2F%2Fwww.ucarecdn.com%2Fb5cd13b7-cf42-4749-bb6d-e41575626591%2F +0 -0
- data/spec/dummy/tmp/cache/43E/E81/http%3A%2F%2Fwww.ucarecdn.com%2F037ce242-a528-47f8-94fd-9f90b4f5717e%2F +0 -0
- data/spec/dummy/tmp/cache/441/C11/http%3A%2F%2Fwww.ucarecdn.com%2Fcdf7c898-4173-40d4-b32f-89c7f64650d8%2F +0 -0
- data/spec/dummy/tmp/cache/451/C11/http%3A%2F%2Fwww.ucarecdn.com%2F2570d716-70ca-49db-ae15-4553df0de057%2F +0 -0
- data/spec/dummy/tmp/cache/483/661/http%3A%2F%2Fwww.ucarecdn.com%2F8d39ee5d-f59a-4199-978d-738f64f5ab81%2F +0 -0
- data/spec/dummy/tmp/cache/487/661/http%3A%2F%2Fwww.ucarecdn.com%2F03f98fc0-94aa-4aee-8f03-5e61b0925f23%2F +0 -0
- data/spec/dummy/tmp/cache/491/8B1/http%3A%2F%2Fwww.ucarecdn.com%2Fa1f49450-55b8-44a6-b175-fde1fcd6f746%2F +0 -0
- data/spec/dummy/tmp/cache/4AD/FC1/http%3A%2F%2Fwww.ucarecdn.com%2F6b30f1b4-e0aa-44a7-a66e-e95ba77d2191%2F +0 -0
- data/spec/dummy/tmp/cache/4B0/D01/http%3A%2F%2Fwww.ucarecdn.com%2Fa4d1bebb-8e66-41d8-b776-33d6500feb11%2F +0 -0
- data/spec/dummy/tmp/cache/4B5/E71/http%3A%2F%2Fwww.ucarecdn.com%2F372c56ae-c5ca-4707-a7f1-7dbcad188560%2F +0 -0
- data/spec/dummy/tmp/cache/4B7/D81/+http%3A%2F%2Fwww.ucarecdn.com%2F19cde26d-e41b-4cf5-923e-f58729c0522a%2F +0 -0
- data/spec/dummy/tmp/cache/4B9/B01/http%3A%2F%2Fwww.ucarecdn.com%2Fca2d00e2-af56-49d5-8be5-bec99f471511%2F +0 -0
- data/spec/dummy/tmp/cache/4BA/D01/http%3A%2F%2Fwww.ucarecdn.com%2F67de1cd5-2f51-4887-afda-63e0f113e07f%2F +0 -0
- data/spec/dummy/tmp/cache/4C0/891/http%3A%2F%2Fwww.ucarecdn.com%2F99bb572d-80fa-4765-af86-db8e3e070b0c%2F +0 -0
- data/spec/dummy/tmp/cache/4C0/AA1/http%3A%2F%2Fwww.ucarecdn.com%2F601f6e00-d595-4e96-baa6-7dc0269ef8cc%2F +0 -0
- data/spec/dummy/tmp/cache/4CB/CA1/http%3A%2F%2Fwww.ucarecdn.com%2F883bc5d9-303e-484e-ab39-6db549fc5dd7%2F +0 -0
- data/spec/dummy/tmp/cache/4DF/531/http%3A%2F%2Fwww.ucarecdn.com%2Fc367f7e8-441d-4c12-b20c-7dc2c57dc1cc%2F +0 -0
- data/spec/dummy/tmp/cache/4E2/6A1/http%3A%2F%2Fwww.ucarecdn.com%2F0db66b19-d1b4-49ea-92d1-e7cdb77e101e%2F +0 -0
- data/spec/dummy/tmp/cache/4F2/8F1/http%3A%2F%2Fwww.ucarecdn.com%2F268e6a99-52c4-40eb-8fc9-a10be55a6ffd%2F +0 -0
- data/spec/dummy/tmp/cache/51B/2A1/http%3A%2F%2Fwww.ucarecdn.com%2Ffd9d23d9-858a-4b4d-810f-e501cb8adaa9%2F +0 -0
- data/spec/dummy/tmp/cache/525/2F1/http%3A%2F%2Fwww.ucarecdn.com%2Fdfe939ab-1ab8-460e-b458-7dac4b79a78d%2F +0 -0
- data/spec/dummy/tmp/cache/53B/821/http%3A%2F%2Fwww.ucarecdn.com%2Fb78fef84-0bec-43cd-8e0c-c3cd3e01302c%2F +0 -0
- data/spec/dummy/tmp/cache/578/AE1/http%3A%2F%2Fwww.ucarecdn.com%2F0eae640c-fe5e-4a11-b7d9-ce8b0f78acf6%2F +0 -0
- data/spec/dummy/tmp/cache/626/5D1/http%3A%2F%2Fwww.ucarecdn.com%2F3a8acafa-e189-49c5-ad3a-fddc1ab0afdb%2F +0 -0
- data/spec/dummy/tmp/cache/81C/770/18834125-8422-431e-a12b-14698e14354b +0 -0
- data/spec/dummy/tmp/cache/8C2/E80/8436a2ac-2d87-4365-a889-08174c4640ef +0 -0
- data/spec/dummy/tmp/cache/8C9/CC0/370b6571-876a-4b45-9f2e-fd0192f58863 +0 -0
- data/spec/dummy/tmp/cache/8DC/310/78305c4e-c1b0-4830-8608-b0ac38452f3d +0 -0
- data/spec/dummy/tmp/cache/8DE/4C0/f5f768e6-9433-47c8-8f97-f741f81c0346 +0 -0
- data/spec/dummy/tmp/cache/8F5/AB0/5d5295df-b587-4e06-8094-b882e301ee07 +0 -0
- data/spec/dummy/tmp/cache/91D/000/b5cd13b7-cf42-4749-bb6d-e41575626591 +0 -0
- data/spec/dummy/tmp/cache/93F/E00/2570d716-70ca-49db-ae15-4553df0de057 +0 -0
- data/spec/dummy/tmp/cache/96D/310/37ce4f9b-c916-4693-b4e3-e0ccf040a022 +0 -0
- data/spec/dummy/tmp/cache/970/DE0/7cb5c27a-155a-4514-b2eb-c65c970c268d +0 -0
- data/spec/dummy/tmp/cache/975/E30/03f98fc0-94aa-4aee-8f03-5e61b0925f23 +0 -0
- data/spec/dummy/tmp/cache/981/3B0/7b46c513-68d7-4b60-a2dc-1e6edf0859d9 +0 -0
- data/spec/dummy/tmp/cache/9A3/DA0/372c56ae-c5ca-4707-a7f1-7dbcad188560 +0 -0
- data/spec/dummy/tmp/cache/9A8/B40/67de1cd5-2f51-4887-afda-63e0f113e07f +0 -0
- data/spec/dummy/tmp/cache/9AE/7C0/601f6e00-d595-4e96-baa6-7dc0269ef8cc +0 -0
- data/spec/dummy/tmp/cache/9B9/7B0/883bc5d9-303e-484e-ab39-6db549fc5dd7 +0 -0
- data/spec/dummy/tmp/cache/9CD/C80/c367f7e8-441d-4c12-b20c-7dc2c57dc1cc +0 -0
- data/spec/dummy/tmp/cache/9D0/D60/0db66b19-d1b4-49ea-92d1-e7cdb77e101e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1004cb216c6a15b26aa9c52095902ee6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1930f1dc4fdf14493b9e0803644ae54a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1e8f75a6b5b33970fb8e397347caa0a1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/24204f742af588c8166d3160b500d20f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/416150dc3ac35079c94273cc46e90aa6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/452d6d871c74e1af2376c48d479d0de8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4a9c6a738b32dff53c7ff9e969e8a100 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5384ad85f52d3272dbc64d46ef3876a4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/699d74723d728056d850fb6a184402bd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/883a8569a0105010b3a20e0b3dbdf927 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/95e9749abfc334c7c5ad500b3b4072c4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/95f1667ad97500a482296c32c98e0fa0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9e674de141fc3a84d6d2a0d0fc9a2d4c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c5ee0ee454770d592be595422c5f89b8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c85016e7bbd4f3adbb7635d01f85d39b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d066c004d1fd26ae76a61303a7a18145 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e0420288cc577f8ffa3ed73c373d2451 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e41598315cab1b953e63b62bc36ee2f6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 228b2a85b1efe28f7d897e48ae26f6811a046e59
|
4
|
+
data.tar.gz: 9281c43077fcc20e79f6ad30be1ae4f05e8594f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b5d5e0565318f0c4a3bd24d89dbb4908e1736fe80ad6bf5f96c31f7219be0d8c208538755dff4bef50c44278b687b9c83c56a110f826c385e1dcca72b3a20c4
|
7
|
+
data.tar.gz: 737fb998ae0e0aa9bed97af045baa79572e0782030750314934ce7ef5907d417a254ece94314f6b7c6531098c48753664db5c9149aa218f8d077aeda27aee3ab
|
data/Rakefile
CHANGED
@@ -1,32 +1,19 @@
|
|
1
|
+
#!/usr/bin/env rake
|
1
2
|
begin
|
2
3
|
require 'bundler/setup'
|
3
4
|
rescue LoadError
|
4
5
|
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
5
6
|
end
|
6
7
|
|
7
|
-
require 'rdoc/task'
|
8
|
-
|
9
|
-
RDoc::Task.new(:rdoc) do |rdoc|
|
10
|
-
rdoc.rdoc_dir = 'rdoc'
|
11
|
-
rdoc.title = 'UploadcareRails'
|
12
|
-
rdoc.options << '--line-numbers'
|
13
|
-
rdoc.rdoc_files.include('README.rdoc')
|
14
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
|
-
end
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
8
|
Bundler::GemHelper.install_tasks
|
21
9
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
t.libs << 'lib'
|
26
|
-
t.libs << 'test'
|
27
|
-
t.pattern = 'test/**/*_test.rb'
|
28
|
-
t.verbose = false
|
29
|
-
end
|
10
|
+
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
|
11
|
+
load 'rails/tasks/engine.rake'
|
12
|
+
require "rspec/core/rake_task"
|
30
13
|
|
14
|
+
task :default => :spec
|
31
15
|
|
32
|
-
|
16
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
17
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
18
|
+
# spec.rspec_opts = ['-cfs --backtrace']
|
19
|
+
end
|
@@ -4,6 +4,12 @@ defaults: &defaults
|
|
4
4
|
|
5
5
|
live: true
|
6
6
|
|
7
|
+
# cache files json dumps to prevent calling to server if it posible
|
8
|
+
cache_files: true
|
9
|
+
|
10
|
+
# cache groups json dumps to prevent calling to server if it posible
|
11
|
+
cache_groups: true
|
12
|
+
|
7
13
|
# Avaliable options are listed at https://uploadcare.com/documentation/widget/#advanced-configuration
|
8
14
|
# please note, that for options marker as Global: N/A - there is no practical meaning
|
9
15
|
# of putting this option here, as it will not have any effect.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require "uploadcare/rails/file"
|
1
|
+
require "uploadcare/rails/objects/file"
|
2
2
|
|
3
3
|
module Uploadcare
|
4
4
|
module Rails
|
@@ -21,6 +21,7 @@ module Uploadcare
|
|
21
21
|
cdn_url = attributes[attribute.to_s].to_s
|
22
22
|
|
23
23
|
return nil if cdn_url.empty?
|
24
|
+
|
24
25
|
api = UPLOADCARE_SETTINGS.api
|
25
26
|
cache = ::Rails.cache
|
26
27
|
|
@@ -28,10 +29,6 @@ module Uploadcare
|
|
28
29
|
file = Uploadcare::Rails::File.new api, cdn_url, file_obj
|
29
30
|
else
|
30
31
|
file = Uploadcare::Rails::File.new api, cdn_url
|
31
|
-
|
32
|
-
cache.write file.cdn_url, file.marshal_dump
|
33
|
-
|
34
|
-
file
|
35
32
|
end
|
36
33
|
end
|
37
34
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require "uploadcare/rails/group"
|
1
|
+
require "uploadcare/rails/objects/group"
|
2
2
|
|
3
3
|
module Uploadcare
|
4
4
|
module Rails
|
@@ -20,7 +20,12 @@ module Uploadcare
|
|
20
20
|
return nil if cdn_url.empty?
|
21
21
|
|
22
22
|
api = UPLOADCARE_SETTINGS.api
|
23
|
-
|
23
|
+
cache = ::Rails.cache
|
24
|
+
if group_obj = cache.read(cdn_url)
|
25
|
+
group = Uploadcare::Rails::Group.new api, cdn_url, group_obj
|
26
|
+
else
|
27
|
+
group = Uploadcare::Rails::Group.new api, cdn_url
|
28
|
+
end
|
24
29
|
end
|
25
30
|
|
26
31
|
# before saving we checking what it is a actually file cdn url
|
@@ -23,12 +23,24 @@ module Uploadcare
|
|
23
23
|
|
24
24
|
def load_data
|
25
25
|
super
|
26
|
-
::Rails.cache.write
|
26
|
+
::Rails.cache.write(cdn_url, self.marshal_dump) if UPLOADCARE_SETTINGS.cache_files
|
27
|
+
self
|
27
28
|
end
|
29
|
+
alias_method :load, :load_data
|
28
30
|
|
29
31
|
def load_data!
|
30
32
|
super
|
31
|
-
::Rails.cache.write
|
33
|
+
::Rails.cache.write(cdn_url, self.marshal_dump) if UPLOADCARE_SETTINGS.cache_files
|
34
|
+
self
|
35
|
+
end
|
36
|
+
alias_method :load!, :load_data!
|
37
|
+
|
38
|
+
def to_builder
|
39
|
+
marshal_dump
|
40
|
+
end
|
41
|
+
|
42
|
+
def marshal_dump
|
43
|
+
@table.stringify_keys
|
32
44
|
end
|
33
45
|
end
|
34
46
|
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
include ActionView::Helpers::AssetTagHelper
|
2
|
+
|
3
|
+
module Uploadcare
|
4
|
+
module Rails
|
5
|
+
class Group < Uploadcare::Api::Group
|
6
|
+
|
7
|
+
# override default to string method
|
8
|
+
# for group we just will return the uuid
|
9
|
+
def to_s
|
10
|
+
uuid
|
11
|
+
end
|
12
|
+
|
13
|
+
def load_data
|
14
|
+
unless is_loaded?
|
15
|
+
load_data!
|
16
|
+
end
|
17
|
+
self
|
18
|
+
end
|
19
|
+
alias_method :load, :load_data
|
20
|
+
|
21
|
+
def load_data!
|
22
|
+
data = @api.get "/groups/#{uuid}/"
|
23
|
+
set_data data
|
24
|
+
::Rails.cache.write(cdn_url, self.marshal_dump) if UPLOADCARE_SETTINGS.cache_groups
|
25
|
+
self
|
26
|
+
end
|
27
|
+
alias_method :load!, :load_data!
|
28
|
+
|
29
|
+
def marshal_dump
|
30
|
+
table = @table.deep_dup.stringify_keys!
|
31
|
+
if table["files"]
|
32
|
+
table["files"].map! do |file|
|
33
|
+
file.marshal_dump.stringify_keys
|
34
|
+
end
|
35
|
+
end
|
36
|
+
table
|
37
|
+
end
|
38
|
+
|
39
|
+
private
|
40
|
+
def map_files data
|
41
|
+
data.stringify_keys!
|
42
|
+
data["files"].map! do |file|
|
43
|
+
unless file.nil?
|
44
|
+
Uploadcare::Rails::File.new(@api, file["uuid"], file)
|
45
|
+
else
|
46
|
+
file
|
47
|
+
end
|
48
|
+
end
|
49
|
+
data
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe Uploadcare::Rails::File do
|
4
|
+
|
5
|
+
before :each do
|
6
|
+
@post = Post.new title: "Post title", file: FILE_CDN_URL
|
7
|
+
end
|
8
|
+
|
9
|
+
after :each do
|
10
|
+
Rails.cache.delete FILE_CDN_URL
|
11
|
+
end
|
12
|
+
|
13
|
+
it "should be not loaded by default" do
|
14
|
+
@post.file.loaded?.should == false
|
15
|
+
end
|
16
|
+
|
17
|
+
it "rails cache for unloaded file should be nil" do
|
18
|
+
cached = Rails.cache.read @post.file.cdn_url
|
19
|
+
cached.should == nil
|
20
|
+
end
|
21
|
+
|
22
|
+
it "rails cache should updates after load call" do
|
23
|
+
@post.file.load!
|
24
|
+
cached = Rails.cache.read FILE_CDN_URL
|
25
|
+
cached.should be_kind_of(Hash)
|
26
|
+
cached["datetime_uploaded"].should be_kind_of(String)
|
27
|
+
end
|
28
|
+
|
29
|
+
it "file should stay loaded" do
|
30
|
+
@post.file.loaded?.should == false
|
31
|
+
@post.file.load!
|
32
|
+
@post.file.loaded?.should == true
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe Uploadcare::Rails::Group do
|
4
|
+
before :each do
|
5
|
+
@post = PostWithCollection.new title: "Post title", file: GROUP_CDN_URL
|
6
|
+
end
|
7
|
+
|
8
|
+
after :each do
|
9
|
+
Rails.cache.delete GROUP_CDN_URL
|
10
|
+
end
|
11
|
+
|
12
|
+
it "should be not loaded by default" do
|
13
|
+
@post.file.loaded?.should == false
|
14
|
+
end
|
15
|
+
|
16
|
+
it "rails cache should be nil" do
|
17
|
+
cached = Rails.cache.read @post.file.cdn_url
|
18
|
+
cached.should == nil
|
19
|
+
end
|
20
|
+
|
21
|
+
it "rails cache should updates after load call" do
|
22
|
+
@post.file.load!
|
23
|
+
cached = Rails.cache.read GROUP_CDN_URL
|
24
|
+
cached.should be_kind_of(Hash)
|
25
|
+
cached["datetime_created"].should be_kind_of(String)
|
26
|
+
end
|
27
|
+
|
28
|
+
it "group should stay loaded" do
|
29
|
+
@post.file.loaded?.should == false
|
30
|
+
@post.file.load!
|
31
|
+
@post.file.loaded?.should == true
|
32
|
+
end
|
33
|
+
|
34
|
+
it 'cached group should contained json representation of files' do
|
35
|
+
@post.file.load!
|
36
|
+
cached = Rails.cache.read GROUP_CDN_URL
|
37
|
+
cached.should be_kind_of(Hash)
|
38
|
+
cached["files"].sample.should be_kind_of(Hash)
|
39
|
+
end
|
40
|
+
|
41
|
+
it 'group restored from cache should contain Uploadcare::Rails::Files' do
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
json.extract! @post, :id, :title, :file, :group, :created_at, :updated_at
|
@@ -0,0 +1 @@
|
|
1
|
+
json.extract! @post, :id, :title, :file, :group, :created_at, :updated_at
|
@@ -0,0 +1 @@
|
|
1
|
+
json.extract! @post, :id, :title, :file, :group, :created_at, :updated_at
|
@@ -2,6 +2,9 @@ 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
|
+
cache_files: true
|
6
|
+
|
7
|
+
cache_groups: true
|
5
8
|
# Avaliable options are listed at https://uploadcare.com/documentation/widget/#advanced-configuration
|
6
9
|
# please note, that for options marker as Global: N/A - there is no practical meaning
|
7
10
|
# of putting this option here, as it will not have any effect.
|
@@ -4688,3 +4688,1028 @@ Processing by PostsController#show as HTML
|
|
4688
4688
|
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
|
4689
4689
|
Rendered posts/show.html.erb within layouts/application (3593841.9ms)
|
4690
4690
|
Completed 200 OK in 3593858ms (Views: 3593856.8ms | ActiveRecord: 0.2ms)
|
4691
|
+
|
4692
|
+
|
4693
|
+
Started GET "/" for 127.0.0.1 at 2014-04-03 16:18:16 +0700
|
4694
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4695
|
+
Processing by PostsController#index as HTML
|
4696
|
+
[1m[35mPost Load (14.6ms)[0m SELECT "posts".* FROM "posts"
|
4697
|
+
Rendered posts/index.html.erb within layouts/application (500.8ms)
|
4698
|
+
Completed 200 OK in 828ms (Views: 786.5ms | ActiveRecord: 14.9ms)
|
4699
|
+
|
4700
|
+
|
4701
|
+
Started GET "/assets/post_with_collections.css?body=1" for 127.0.0.1 at 2014-04-03 16:18:18 +0700
|
4702
|
+
|
4703
|
+
|
4704
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-04-03 16:18:18 +0700
|
4705
|
+
|
4706
|
+
|
4707
|
+
Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2014-04-03 16:18:18 +0700
|
4708
|
+
|
4709
|
+
|
4710
|
+
Started GET "/assets/posts_with_collection_and_files.css?body=1" for 127.0.0.1 at 2014-04-03 16:18:18 +0700
|
4711
|
+
|
4712
|
+
|
4713
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-04-03 16:18:18 +0700
|
4714
|
+
|
4715
|
+
|
4716
|
+
Started GET "/assets/post_with_collections.js?body=1" for 127.0.0.1 at 2014-04-03 16:18:18 +0700
|
4717
|
+
|
4718
|
+
|
4719
|
+
Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2014-04-03 16:18:18 +0700
|
4720
|
+
|
4721
|
+
|
4722
|
+
Started GET "/assets/posts_with_collection_and_files.js?body=1" for 127.0.0.1 at 2014-04-03 16:18:18 +0700
|
4723
|
+
|
4724
|
+
|
4725
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-04-03 16:18:18 +0700
|
4726
|
+
|
4727
|
+
|
4728
|
+
Started GET "/posts/2" for 127.0.0.1 at 2014-04-03 16:18:23 +0700
|
4729
|
+
Processing by PostsController#show as HTML
|
4730
|
+
Parameters: {"id"=>"2"}
|
4731
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "2"]]
|
4732
|
+
Rendered posts/show.html.erb within layouts/application (2.6ms)
|
4733
|
+
Completed 200 OK in 41ms (Views: 38.6ms | ActiveRecord: 0.2ms)
|
4734
|
+
|
4735
|
+
|
4736
|
+
Started GET "/assets/post_with_collections.js?body=1" for 127.0.0.1 at 2014-04-03 16:18:23 +0700
|
4737
|
+
|
4738
|
+
|
4739
|
+
Started GET "/posts/2.json" for 127.0.0.1 at 2014-04-03 16:18:27 +0700
|
4740
|
+
Processing by PostsController#show as JSON
|
4741
|
+
Parameters: {"id"=>"2"}
|
4742
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
|
4743
|
+
Completed 500 Internal Server Error in 59ms
|
4744
|
+
|
4745
|
+
ActionView::MissingTemplate - Missing template posts/show, application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
|
4746
|
+
* "/Users/romanonthego/Code/uploadcare/uploadcare-rails/spec/dummy/app/views"
|
4747
|
+
:
|
4748
|
+
actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
|
4749
|
+
actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
|
4750
|
+
actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
4751
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
|
4752
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
|
4753
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
4754
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
|
4755
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
|
4756
|
+
actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
|
4757
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
|
4758
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
|
4759
|
+
actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
|
4760
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
|
4761
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
|
4762
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
|
4763
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
4764
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
|
4765
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
4766
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
|
4767
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
|
4768
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
4769
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
|
4770
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
4771
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
4772
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
|
4773
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
4774
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
4775
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__3519480199064442709__process_action__callbacks'
|
4776
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
4777
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
4778
|
+
actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
4779
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
4780
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
|
4781
|
+
activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
4782
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
|
4783
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
4784
|
+
actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
4785
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
4786
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
|
4787
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
|
4788
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
|
4789
|
+
actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
4790
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
|
4791
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
|
4792
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
|
4793
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
|
4794
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
|
4795
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
|
4796
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
|
4797
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
|
4798
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
4799
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
4800
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
4801
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
4802
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
|
4803
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
4804
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
4805
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
|
4806
|
+
activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
|
4807
|
+
activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
|
4808
|
+
activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
|
4809
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
4810
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__1683336373158234211__call__callbacks'
|
4811
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
4812
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
4813
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
|
4814
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
4815
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
|
4816
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
|
4817
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
|
4818
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
4819
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
4820
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
4821
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
4822
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
4823
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
4824
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
4825
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
4826
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
4827
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
4828
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
4829
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
4830
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
4831
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
4832
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
4833
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
4834
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
4835
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
4836
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
4837
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
4838
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
4839
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
4840
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
4841
|
+
|
4842
|
+
|
4843
|
+
|
4844
|
+
Started POST "/__better_errors/70134144377340/variables" for 127.0.0.1 at 2014-04-03 16:18:27 +0700
|
4845
|
+
|
4846
|
+
|
4847
|
+
Started GET "/posts/2.json" for 127.0.0.1 at 2014-04-03 16:20:14 +0700
|
4848
|
+
Processing by PostsController#show as JSON
|
4849
|
+
Parameters: {"id"=>"2"}
|
4850
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "2"]]
|
4851
|
+
Completed 500 Internal Server Error in 4ms
|
4852
|
+
|
4853
|
+
ActionView::MissingTemplate - Missing template posts/show, application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
|
4854
|
+
* "/Users/romanonthego/Code/uploadcare/uploadcare-rails/spec/dummy/app/views"
|
4855
|
+
:
|
4856
|
+
actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
|
4857
|
+
actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
|
4858
|
+
actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
4859
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
|
4860
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
|
4861
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
4862
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
|
4863
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
|
4864
|
+
actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
|
4865
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
|
4866
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
|
4867
|
+
actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
|
4868
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
|
4869
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
|
4870
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
|
4871
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
4872
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
|
4873
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
4874
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
|
4875
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
|
4876
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
4877
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
|
4878
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
4879
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
4880
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
|
4881
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
4882
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
4883
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__3519480199064442709__process_action__callbacks'
|
4884
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
4885
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
4886
|
+
actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
4887
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
4888
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
|
4889
|
+
activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
4890
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
|
4891
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
4892
|
+
actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
4893
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
4894
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
|
4895
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
|
4896
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
|
4897
|
+
actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
4898
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
|
4899
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
|
4900
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
|
4901
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
|
4902
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
|
4903
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
|
4904
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
|
4905
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
|
4906
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
4907
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
4908
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
4909
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
4910
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
|
4911
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
4912
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
4913
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
|
4914
|
+
activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
|
4915
|
+
activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
|
4916
|
+
activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
|
4917
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
4918
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__1683336373158234211__call__callbacks'
|
4919
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
4920
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
4921
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
|
4922
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
4923
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
|
4924
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
|
4925
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
|
4926
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
4927
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
4928
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
4929
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
4930
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
4931
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
4932
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
4933
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
4934
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
4935
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
4936
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
4937
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
4938
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
4939
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
4940
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
4941
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
4942
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
4943
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
4944
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
4945
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
4946
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
4947
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
4948
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
4949
|
+
|
4950
|
+
|
4951
|
+
|
4952
|
+
Started POST "/__better_errors/70134177825000/variables" for 127.0.0.1 at 2014-04-03 16:20:15 +0700
|
4953
|
+
|
4954
|
+
|
4955
|
+
Started GET "/posts/2.json" for 127.0.0.1 at 2014-04-03 16:20:15 +0700
|
4956
|
+
Processing by PostsController#show as JSON
|
4957
|
+
Parameters: {"id"=>"2"}
|
4958
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
|
4959
|
+
Completed 500 Internal Server Error in 3ms
|
4960
|
+
|
4961
|
+
ActionView::MissingTemplate - Missing template posts/show, application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
|
4962
|
+
* "/Users/romanonthego/Code/uploadcare/uploadcare-rails/spec/dummy/app/views"
|
4963
|
+
:
|
4964
|
+
actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
|
4965
|
+
actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
|
4966
|
+
actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
4967
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
|
4968
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
|
4969
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
4970
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
|
4971
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
|
4972
|
+
actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
|
4973
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
|
4974
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
|
4975
|
+
actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
|
4976
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
|
4977
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
|
4978
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
|
4979
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
4980
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
|
4981
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
4982
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
|
4983
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
|
4984
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
4985
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
|
4986
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
4987
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
4988
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
|
4989
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
4990
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
4991
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__3519480199064442709__process_action__callbacks'
|
4992
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
4993
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
4994
|
+
actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
4995
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
4996
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
|
4997
|
+
activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
4998
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
|
4999
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
5000
|
+
actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
5001
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
5002
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
|
5003
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
|
5004
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
|
5005
|
+
actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
5006
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
|
5007
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
|
5008
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
|
5009
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
|
5010
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
|
5011
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
|
5012
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
|
5013
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
|
5014
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
5015
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
5016
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
5017
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
5018
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
|
5019
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
5020
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
5021
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
|
5022
|
+
activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
|
5023
|
+
activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
|
5024
|
+
activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
|
5025
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
5026
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__1683336373158234211__call__callbacks'
|
5027
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
5028
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
5029
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
|
5030
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
5031
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
|
5032
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
|
5033
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
|
5034
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
5035
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
5036
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
5037
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
5038
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
5039
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
5040
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
5041
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
5042
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
5043
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
5044
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
5045
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
5046
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5047
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
5048
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
5049
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
5050
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
5051
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5052
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
5053
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
5054
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
5055
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
5056
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
5057
|
+
|
5058
|
+
|
5059
|
+
|
5060
|
+
Started POST "/__better_errors/70134141472020/variables" for 127.0.0.1 at 2014-04-03 16:20:15 +0700
|
5061
|
+
|
5062
|
+
|
5063
|
+
Started GET "/posts/2.json" for 127.0.0.1 at 2014-04-03 16:21:12 +0700
|
5064
|
+
[1m[36mActiveRecord::SchemaMigration Load (17.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5065
|
+
Processing by PostsController#show as JSON
|
5066
|
+
Parameters: {"id"=>"2"}
|
5067
|
+
[1m[35mPost Load (6.8ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
|
5068
|
+
Completed 500 Internal Server Error in 38ms
|
5069
|
+
|
5070
|
+
ActionView::MissingTemplate - Missing template posts/show, application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
|
5071
|
+
* "/Users/romanonthego/Code/uploadcare/uploadcare-rails/spec/dummy/app/views"
|
5072
|
+
:
|
5073
|
+
actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
|
5074
|
+
actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
|
5075
|
+
actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
5076
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
|
5077
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
|
5078
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
5079
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
|
5080
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
|
5081
|
+
actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
|
5082
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
|
5083
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
|
5084
|
+
actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
|
5085
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
|
5086
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
|
5087
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
|
5088
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
5089
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
|
5090
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
5091
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
|
5092
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
|
5093
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
5094
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
|
5095
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
5096
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
5097
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
|
5098
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
5099
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
5100
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__2541389160896406404__process_action__callbacks'
|
5101
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
5102
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
5103
|
+
actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
5104
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
5105
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
|
5106
|
+
activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
5107
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
|
5108
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
5109
|
+
actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
5110
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
5111
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
|
5112
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
|
5113
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
|
5114
|
+
actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
5115
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
|
5116
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
|
5117
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
|
5118
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
|
5119
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
|
5120
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
|
5121
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
|
5122
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
|
5123
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
5124
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
5125
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
5126
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
5127
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
|
5128
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
5129
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
5130
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
|
5131
|
+
activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
|
5132
|
+
activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
|
5133
|
+
activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
|
5134
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
5135
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__3014095896083768053__call__callbacks'
|
5136
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
5137
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
5138
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
|
5139
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
5140
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
|
5141
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
|
5142
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
|
5143
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
5144
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
5145
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
5146
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
5147
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
5148
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
5149
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
5150
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
5151
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
5152
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
5153
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
5154
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
5155
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5156
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
5157
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
5158
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
5159
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
5160
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5161
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
5162
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
5163
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
5164
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
5165
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
5166
|
+
|
5167
|
+
|
5168
|
+
|
5169
|
+
Started POST "/__better_errors/70319625722640/variables" for 127.0.0.1 at 2014-04-03 16:21:14 +0700
|
5170
|
+
|
5171
|
+
|
5172
|
+
Started POST "/__better_errors/70319625722640/variables" for 127.0.0.1 at 2014-04-03 16:21:19 +0700
|
5173
|
+
|
5174
|
+
|
5175
|
+
Started POST "/__better_errors/70319625722640/variables" for 127.0.0.1 at 2014-04-03 16:21:20 +0700
|
5176
|
+
|
5177
|
+
|
5178
|
+
Started GET "/posts/2.json" for 127.0.0.1 at 2014-04-03 16:22:07 +0700
|
5179
|
+
Processing by PostsController#show as JSON
|
5180
|
+
Parameters: {"id"=>"2"}
|
5181
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "2"]]
|
5182
|
+
Completed 500 Internal Server Error in 2ms
|
5183
|
+
|
5184
|
+
ActionView::MissingTemplate - Missing template posts/show, application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
|
5185
|
+
* "/Users/romanonthego/Code/uploadcare/uploadcare-rails/spec/dummy/app/views"
|
5186
|
+
:
|
5187
|
+
actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
|
5188
|
+
actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
|
5189
|
+
actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
5190
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
|
5191
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
|
5192
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
5193
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
|
5194
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
|
5195
|
+
actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
|
5196
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
|
5197
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
|
5198
|
+
actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
|
5199
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
|
5200
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
|
5201
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
|
5202
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
5203
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
|
5204
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
5205
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
|
5206
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
|
5207
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
5208
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
|
5209
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
5210
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
5211
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
|
5212
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
5213
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
5214
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__2541389160896406404__process_action__callbacks'
|
5215
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
5216
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
5217
|
+
actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
5218
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
5219
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
|
5220
|
+
activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
5221
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
|
5222
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
5223
|
+
actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
5224
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
5225
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
|
5226
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
|
5227
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
|
5228
|
+
actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
5229
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
|
5230
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
|
5231
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
|
5232
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
|
5233
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
|
5234
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
|
5235
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
|
5236
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
|
5237
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
5238
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
5239
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
5240
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
5241
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
|
5242
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
5243
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
5244
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
|
5245
|
+
activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
|
5246
|
+
activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
|
5247
|
+
activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
|
5248
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
5249
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__3014095896083768053__call__callbacks'
|
5250
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
5251
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
5252
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
|
5253
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
5254
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
|
5255
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
|
5256
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
|
5257
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
5258
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
5259
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
5260
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
5261
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
5262
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
5263
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
5264
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
5265
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
5266
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
5267
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
5268
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
5269
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5270
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
5271
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
5272
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
5273
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
5274
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5275
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
5276
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
5277
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
5278
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
5279
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
5280
|
+
|
5281
|
+
|
5282
|
+
|
5283
|
+
Started POST "/__better_errors/70319625683600/variables" for 127.0.0.1 at 2014-04-03 16:22:07 +0700
|
5284
|
+
|
5285
|
+
|
5286
|
+
Started GET "/posts/2.json" for 127.0.0.1 at 2014-04-03 16:22:08 +0700
|
5287
|
+
Processing by PostsController#show as JSON
|
5288
|
+
Parameters: {"id"=>"2"}
|
5289
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
|
5290
|
+
Completed 500 Internal Server Error in 3ms
|
5291
|
+
|
5292
|
+
ActionView::MissingTemplate - Missing template posts/show, application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
|
5293
|
+
* "/Users/romanonthego/Code/uploadcare/uploadcare-rails/spec/dummy/app/views"
|
5294
|
+
:
|
5295
|
+
actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
|
5296
|
+
actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
|
5297
|
+
actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
5298
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
|
5299
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
|
5300
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
5301
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
|
5302
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
|
5303
|
+
actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
|
5304
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
|
5305
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
|
5306
|
+
actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
|
5307
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
|
5308
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
|
5309
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
|
5310
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
5311
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
|
5312
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
5313
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
|
5314
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
|
5315
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
5316
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
|
5317
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
5318
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
5319
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
|
5320
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
5321
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
5322
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__2541389160896406404__process_action__callbacks'
|
5323
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
5324
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
5325
|
+
actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
5326
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
5327
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
|
5328
|
+
activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
5329
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
|
5330
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
5331
|
+
actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
5332
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
5333
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
|
5334
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
|
5335
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
|
5336
|
+
actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
5337
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
|
5338
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
|
5339
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
|
5340
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
|
5341
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
|
5342
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
|
5343
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
|
5344
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
|
5345
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
5346
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
5347
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
5348
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
5349
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
|
5350
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
5351
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
5352
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
|
5353
|
+
activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
|
5354
|
+
activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
|
5355
|
+
activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
|
5356
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
5357
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__3014095896083768053__call__callbacks'
|
5358
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
5359
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
5360
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
|
5361
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
5362
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
|
5363
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
|
5364
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
|
5365
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
5366
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
5367
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
5368
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
5369
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
5370
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
5371
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
5372
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
5373
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
5374
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
5375
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
5376
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
5377
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5378
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
5379
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
5380
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
5381
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
5382
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5383
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
5384
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
5385
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
5386
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
5387
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
5388
|
+
|
5389
|
+
|
5390
|
+
|
5391
|
+
Started POST "/__better_errors/70319633951560/variables" for 127.0.0.1 at 2014-04-03 16:22:08 +0700
|
5392
|
+
|
5393
|
+
|
5394
|
+
Started GET "/posts/2.json" for 127.0.0.1 at 2014-04-03 16:22:09 +0700
|
5395
|
+
Processing by PostsController#show as JSON
|
5396
|
+
Parameters: {"id"=>"2"}
|
5397
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "2"]]
|
5398
|
+
Completed 500 Internal Server Error in 3ms
|
5399
|
+
|
5400
|
+
ActionView::MissingTemplate - Missing template posts/show, application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
|
5401
|
+
* "/Users/romanonthego/Code/uploadcare/uploadcare-rails/spec/dummy/app/views"
|
5402
|
+
:
|
5403
|
+
actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
|
5404
|
+
actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
|
5405
|
+
actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
5406
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
|
5407
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
|
5408
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
5409
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
|
5410
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
|
5411
|
+
actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
|
5412
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
|
5413
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
|
5414
|
+
actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
|
5415
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
|
5416
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
|
5417
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
|
5418
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
5419
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
|
5420
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
5421
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
|
5422
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
|
5423
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
5424
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
|
5425
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
5426
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
5427
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
|
5428
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
5429
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
5430
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__2541389160896406404__process_action__callbacks'
|
5431
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
5432
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
5433
|
+
actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
5434
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
5435
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
|
5436
|
+
activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
5437
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
|
5438
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
5439
|
+
actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
5440
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
5441
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
|
5442
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
|
5443
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
|
5444
|
+
actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
5445
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
|
5446
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
|
5447
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
|
5448
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
|
5449
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
|
5450
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
|
5451
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
|
5452
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
|
5453
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
5454
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
5455
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
5456
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
5457
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
|
5458
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
5459
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
5460
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
|
5461
|
+
activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
|
5462
|
+
activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
|
5463
|
+
activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
|
5464
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
5465
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__3014095896083768053__call__callbacks'
|
5466
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
5467
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
5468
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
|
5469
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
5470
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
|
5471
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
|
5472
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
|
5473
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
5474
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
5475
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
5476
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
5477
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
5478
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
5479
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
5480
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
5481
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
5482
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
5483
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
5484
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
5485
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5486
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
5487
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
5488
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
5489
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
5490
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5491
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
5492
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
5493
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
5494
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
5495
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
5496
|
+
|
5497
|
+
|
5498
|
+
|
5499
|
+
Started POST "/__better_errors/70319626413360/variables" for 127.0.0.1 at 2014-04-03 16:22:09 +0700
|
5500
|
+
|
5501
|
+
|
5502
|
+
Started GET "/posts/2.json" for 127.0.0.1 at 2014-04-03 16:22:22 +0700
|
5503
|
+
Processing by PostsController#show as JSON
|
5504
|
+
Parameters: {"id"=>"2"}
|
5505
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
|
5506
|
+
Completed 500 Internal Server Error in 2ms
|
5507
|
+
|
5508
|
+
ActionView::MissingTemplate - Missing template posts/show, application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
|
5509
|
+
* "/Users/romanonthego/Code/uploadcare/uploadcare-rails/spec/dummy/app/views"
|
5510
|
+
:
|
5511
|
+
actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
|
5512
|
+
actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
|
5513
|
+
actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
5514
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
|
5515
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
|
5516
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
5517
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
|
5518
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
|
5519
|
+
actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
|
5520
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
|
5521
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
|
5522
|
+
actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
|
5523
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
|
5524
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
|
5525
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
|
5526
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
5527
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
|
5528
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
5529
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
|
5530
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
|
5531
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
5532
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
|
5533
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
5534
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
5535
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
|
5536
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
5537
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
5538
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__2541389160896406404__process_action__callbacks'
|
5539
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
5540
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
5541
|
+
actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
5542
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
5543
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
|
5544
|
+
activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
5545
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
|
5546
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
5547
|
+
actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
5548
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
5549
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
|
5550
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
|
5551
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
|
5552
|
+
actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
5553
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
|
5554
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
|
5555
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
|
5556
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
|
5557
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
|
5558
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
|
5559
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
|
5560
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
|
5561
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
5562
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
5563
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
5564
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
5565
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
|
5566
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
5567
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
5568
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
|
5569
|
+
activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
|
5570
|
+
activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
|
5571
|
+
activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
|
5572
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
5573
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__3014095896083768053__call__callbacks'
|
5574
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
5575
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
5576
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
|
5577
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
5578
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
|
5579
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
|
5580
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
|
5581
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
5582
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
5583
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
5584
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
5585
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
5586
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
5587
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
5588
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
5589
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
5590
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
5591
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
5592
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
5593
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5594
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
5595
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
5596
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
5597
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
5598
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5599
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
5600
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
5601
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
5602
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
5603
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
5604
|
+
|
5605
|
+
|
5606
|
+
|
5607
|
+
Started POST "/__better_errors/70319645194440/variables" for 127.0.0.1 at 2014-04-03 16:22:22 +0700
|
5608
|
+
|
5609
|
+
|
5610
|
+
Started GET "/posts/2.json" for 127.0.0.1 at 2014-04-03 16:22:23 +0700
|
5611
|
+
Processing by PostsController#show as JSON
|
5612
|
+
Parameters: {"id"=>"2"}
|
5613
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "2"]]
|
5614
|
+
Completed 500 Internal Server Error in 3ms
|
5615
|
+
|
5616
|
+
ActionView::MissingTemplate - Missing template posts/show, application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
|
5617
|
+
* "/Users/romanonthego/Code/uploadcare/uploadcare-rails/spec/dummy/app/views"
|
5618
|
+
:
|
5619
|
+
actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
|
5620
|
+
actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
|
5621
|
+
actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
5622
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
|
5623
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
|
5624
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
5625
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
|
5626
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
|
5627
|
+
actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
|
5628
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
|
5629
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
|
5630
|
+
actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
|
5631
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
|
5632
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
|
5633
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
|
5634
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
5635
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
|
5636
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
5637
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
|
5638
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
|
5639
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
5640
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
|
5641
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
5642
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
5643
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
|
5644
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
5645
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
5646
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__2541389160896406404__process_action__callbacks'
|
5647
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
5648
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
5649
|
+
actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
5650
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
5651
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
|
5652
|
+
activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
5653
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
|
5654
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
5655
|
+
actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
5656
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
5657
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
|
5658
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
|
5659
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
|
5660
|
+
actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
5661
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
|
5662
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
|
5663
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
|
5664
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
|
5665
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
|
5666
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
|
5667
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
|
5668
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
|
5669
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
5670
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
5671
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
5672
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
5673
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
|
5674
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
5675
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
5676
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
|
5677
|
+
activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
|
5678
|
+
activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
|
5679
|
+
activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
|
5680
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
5681
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__3014095896083768053__call__callbacks'
|
5682
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
5683
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
5684
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
|
5685
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
5686
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
|
5687
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
|
5688
|
+
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
|
5689
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
5690
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
5691
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
5692
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
5693
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
5694
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
5695
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
5696
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
5697
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
5698
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
5699
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
5700
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
5701
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5702
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
5703
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
5704
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
5705
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
5706
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5707
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
5708
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
5709
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
5710
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
5711
|
+
/Users/romanonthego/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
5712
|
+
|
5713
|
+
|
5714
|
+
|
5715
|
+
Started POST "/__better_errors/70319662874880/variables" for 127.0.0.1 at 2014-04-03 16:22:23 +0700
|