polygallery 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/polygallery/gallery.rb +13 -7
- data/app/models/polygallery/photo.rb +20 -3
- data/lib/polygallery/has_polygallery.rb +16 -2
- data/lib/polygallery/version.rb +1 -1
- data/test/dummy/log/development.log +457 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/003/medium/DSC_5099.JPG +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/003/thumb/DSC_5099.JPG +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/004/medium/SALON_RUNWAY_(1).jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/004/thumb/SALON_RUNWAY_(1).jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/006/medium/SALON_RUNWAY_(1).jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/006/thumb/SALON_RUNWAY_(1).jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/007/medium/DSC_5099.JPG +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/007/thumb/DSC_5099.JPG +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/009/medium/DSC_5099.JPG +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/009/thumb/DSC_5099.JPG +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/010/medium/SALON_RUNWAY_(1).jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/010/thumb/SALON_RUNWAY_(1).jpg +0 -0
- metadata +2 -4
- data/test/dummy/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52bfbb46e0f9c7caaa2f0eb947efbbb0b21aec4c
|
4
|
+
data.tar.gz: c5d029c37ad88510e12eda7603bfd53dbfc2d818
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fcffaa28aa3b66197e530d3621ccca96923862f96250f5ab61bba3750e5fecb89677a1e269ad67128e915d06d48b8fc9f7f935f44d3102f4b4c4c30fc501dbc
|
7
|
+
data.tar.gz: 7c41b38f693a75bc38aeb9ce6f605b77e66d9411be2ce51ef867ab71fcc25853afcd5ed55c3b9bbc885d3c48e48dc9bfc2d7827392f1b14d4153cc0345215fb3
|
@@ -1,21 +1,27 @@
|
|
1
1
|
module Polygallery
|
2
2
|
class Gallery < ActiveRecord::Base
|
3
|
-
attr_accessor :settings
|
4
3
|
DEFAULTS = {
|
5
4
|
:association => {
|
6
5
|
:class_name => 'Polygallery::Gallery',
|
7
6
|
:as => :galleryable,
|
8
7
|
:dependent => :destroy
|
9
8
|
},
|
10
|
-
:nested_attributes => {
|
11
|
-
|
9
|
+
:nested_attributes => {
|
10
|
+
:gallery => {:reject_if => :all_blank},
|
11
|
+
:photo => {:reject_if => :all_blank}
|
12
|
+
},
|
13
|
+
:validates => {},
|
14
|
+
:paperclip => {
|
15
|
+
:styles => {:medium => '300x300#', :thumb => '100x100#'},
|
16
|
+
:default_url => '/images/:style/missing.png'
|
17
|
+
}
|
12
18
|
}
|
13
19
|
|
14
20
|
belongs_to :galleryable, :polymorphic => true
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
self.
|
21
|
+
has_polyphotos
|
22
|
+
|
23
|
+
def settings
|
24
|
+
self.galleryable.send("#{title}_settings".to_sym)
|
19
25
|
end
|
20
26
|
|
21
27
|
end
|
@@ -1,11 +1,28 @@
|
|
1
1
|
module Polygallery
|
2
2
|
class Photo < ActiveRecord::Base
|
3
3
|
|
4
|
-
|
4
|
+
belongs_to :gallery, :class_name => 'Polygallery::Gallery'
|
5
|
+
has_attached_file :photo,
|
6
|
+
:styles => ->(p) { p.instance.paperclip_settings[:styles] },
|
7
|
+
:default_url => ->(p) { p.instance.paperclip_settings[:default_url] }
|
5
8
|
validates_attachment_content_type :photo, :content_type => /\Aimage\/.*\Z/
|
6
|
-
# validates_attachment_presence :photo
|
9
|
+
# validates_attachment_presence :photo # TODO: make this a setting
|
7
10
|
|
8
|
-
|
11
|
+
attr_accessor :photo_to_upload
|
12
|
+
before_save :process_photo_to_upload
|
13
|
+
|
14
|
+
def paperclip_settings
|
15
|
+
if gallery.present?
|
16
|
+
gallery.settings[:paperclip]
|
17
|
+
else
|
18
|
+
puts 'WARNING: Gallery not found! Using default paperclip settings...'
|
19
|
+
Gallery::DEFAULTS[:paperclip]
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def process_photo_to_upload
|
24
|
+
self.photo = File.open(photo_to_upload) if photo_to_upload.present?
|
25
|
+
end
|
9
26
|
|
10
27
|
end
|
11
28
|
end
|
@@ -11,14 +11,28 @@ module Polygallery
|
|
11
11
|
defaults = Gallery::DEFAULTS
|
12
12
|
settings = defaults.deep_merge(options)
|
13
13
|
has_one title.to_sym, -> { where(:title => title.to_s) }, settings[:association]
|
14
|
-
accepts_nested_attributes_for title.to_sym, settings[:nested_attributes]
|
14
|
+
accepts_nested_attributes_for title.to_sym, settings[:nested_attributes][:gallery]
|
15
|
+
has_many "#{title}_photos".to_sym,
|
16
|
+
:through => title.to_sym,
|
17
|
+
:source => :photos,
|
18
|
+
:class_name => 'Polygallery::Photo'
|
19
|
+
attr_accessor "#{title}_settings".to_sym
|
15
20
|
after_initialize do
|
21
|
+
send("#{title}_settings=".to_sym, settings) if send("#{title}_settings".to_sym).nil?
|
16
22
|
send("build_#{title.to_s}".to_sym) if send(title.to_sym).nil?
|
17
|
-
send(title.to_sym).settings = settings
|
18
23
|
end
|
19
24
|
include HasPolygallery::LocalInstanceMethods
|
20
25
|
end
|
21
26
|
|
27
|
+
def has_polyphotos(title='photos')
|
28
|
+
has_many title.to_sym, :class_name => 'Polygallery::Photo'
|
29
|
+
accepts_nested_attributes_for title.to_sym, Gallery::DEFAULTS[:nested_attributes][:photo] # TODO: get the actual settings object somehow
|
30
|
+
attr_accessor :photos_to_upload
|
31
|
+
after_initialize do
|
32
|
+
send(title.to_sym).build unless send(title.to_sym).any?
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
22
36
|
def polygalleries
|
23
37
|
self.reflect_on_all_associations(:has_one).select{|a| a.foreign_key == 'galleryable_id'}.map(&:name)
|
24
38
|
end
|
data/lib/polygallery/version.rb
CHANGED
@@ -6669,3 +6669,460 @@ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-06 10:33:06
|
|
6669
6669
|
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6670
6670
|
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6671
6671
|
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 5]]
|
6672
|
+
|
6673
|
+
|
6674
|
+
Started GET "/" for 127.0.0.1 at 2014-09-04 12:07:13 -0600
|
6675
|
+
[1m[36mActiveRecord::SchemaMigration Load (39.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6676
|
+
Processing by HomeController#index as HTML
|
6677
|
+
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (31.1ms)
|
6678
|
+
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (10.0ms)
|
6679
|
+
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (128.8ms)
|
6680
|
+
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (52.2ms)
|
6681
|
+
Rendered home/index.html.haml within layouts/application (1245.3ms)
|
6682
|
+
Completed 200 OK in 2383ms (Views: 2106.9ms | ActiveRecord: 26.0ms)
|
6683
|
+
|
6684
|
+
|
6685
|
+
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
|
6686
|
+
|
6687
|
+
|
6688
|
+
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
|
6689
|
+
|
6690
|
+
|
6691
|
+
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
|
6692
|
+
|
6693
|
+
|
6694
|
+
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
|
6695
|
+
|
6696
|
+
|
6697
|
+
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
|
6698
|
+
|
6699
|
+
|
6700
|
+
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
|
6701
|
+
|
6702
|
+
|
6703
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
|
6704
|
+
|
6705
|
+
|
6706
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
|
6707
|
+
|
6708
|
+
|
6709
|
+
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
|
6710
|
+
|
6711
|
+
|
6712
|
+
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:18 -0600
|
6713
|
+
|
6714
|
+
|
6715
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:18 -0600
|
6716
|
+
|
6717
|
+
|
6718
|
+
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:18 -0600
|
6719
|
+
|
6720
|
+
|
6721
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:18 -0600
|
6722
|
+
|
6723
|
+
|
6724
|
+
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-09-04 12:07:18 -0600
|
6725
|
+
[1m[36mEvent Load (42.4ms)[0m [1mSELECT "events".* FROM "events"[0m
|
6726
|
+
[1m[35mPolygallery::Gallery Load (21.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
|
6727
|
+
[1m[36mPolygallery::Photo Exists (37.9ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
|
6728
|
+
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
|
6729
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
|
6730
|
+
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
|
6731
|
+
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
|
6732
|
+
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
|
6733
|
+
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
|
6734
|
+
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6735
|
+
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6736
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "events"
|
6737
|
+
[1m[36mEvent Load (42.9ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
|
6738
|
+
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6739
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6740
|
+
[1m[35mEvent Load (0.8ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
|
6741
|
+
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6742
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6743
|
+
[1m[36mEvent Load (0.7ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
|
6744
|
+
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6745
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6746
|
+
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
|
6747
|
+
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6748
|
+
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6749
|
+
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
|
6750
|
+
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6751
|
+
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6752
|
+
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
|
6753
|
+
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6754
|
+
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6755
|
+
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
|
6756
|
+
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6757
|
+
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6758
|
+
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
|
6759
|
+
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6760
|
+
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6761
|
+
[1m[36mEvent Load (0.9ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
|
6762
|
+
[1m[35mPolygallery::Gallery Load (0.8ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6763
|
+
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6764
|
+
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
|
6765
|
+
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6766
|
+
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6767
|
+
[1m[36mEvent Load (0.6ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
|
6768
|
+
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6769
|
+
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6770
|
+
[1m[35mEvent Load (0.7ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
|
6771
|
+
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6772
|
+
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6773
|
+
[1m[36mPolygallery::Photo Load (1.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000[0m
|
6774
|
+
[1m[35mPolygallery::Gallery Load (12.8ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
|
6775
|
+
[1m[36mPolygallery::Photo Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
|
6776
|
+
[1m[35mEvent Load (0.4ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
|
6777
|
+
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
|
6778
|
+
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
|
6779
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6780
|
+
[1m[35m (0.3ms)[0m COMMIT
|
6781
|
+
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
|
6782
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
|
6783
|
+
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
|
6784
|
+
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
|
6785
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
|
6786
|
+
[1m[35m (0.3ms)[0m BEGIN
|
6787
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
6788
|
+
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
|
6789
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
|
6790
|
+
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
|
6791
|
+
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
|
6792
|
+
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
|
6793
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6794
|
+
[1m[35m (0.1ms)[0m COMMIT
|
6795
|
+
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
|
6796
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
|
6797
|
+
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
|
6798
|
+
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
|
6799
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
|
6800
|
+
[1m[35m (0.2ms)[0m BEGIN
|
6801
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
6802
|
+
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
|
6803
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6804
|
+
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
|
6805
|
+
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6806
|
+
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6807
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6808
|
+
[1m[35m (0.1ms)[0m COMMIT
|
6809
|
+
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
|
6810
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6811
|
+
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
|
6812
|
+
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6813
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6814
|
+
[1m[35m (0.2ms)[0m BEGIN
|
6815
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
6816
|
+
[1m[35mPolygallery::Photo Load (0.7ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000
|
6817
|
+
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
|
6818
|
+
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
|
6819
|
+
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
|
6820
|
+
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
|
6821
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
|
6822
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11583-1hpbuai.JPG'
|
6823
|
+
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
|
6824
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
|
6825
|
+
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
|
6826
|
+
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
|
6827
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
|
6828
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11583-11wo61a.jpg'
|
6829
|
+
[1m[36mPolygallery::Gallery Load (0.5ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
|
6830
|
+
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
|
6831
|
+
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
|
6832
|
+
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
|
6833
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
|
6834
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11583-18vp1f7.jpg'
|
6835
|
+
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
|
6836
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
|
6837
|
+
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
|
6838
|
+
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
|
6839
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
|
6840
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11583-1d6i7os.JPG'
|
6841
|
+
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
|
6842
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6843
|
+
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
|
6844
|
+
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6845
|
+
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6846
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11583-130uvp6.JPG'
|
6847
|
+
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
|
6848
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6849
|
+
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
|
6850
|
+
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6851
|
+
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6852
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11583-17igtr8.jpg'
|
6853
|
+
[1m[36mPolygallery::Photo Load (17.0ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
|
6854
|
+
[1m[35mPolygallery::Photo Load (0.7ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1
|
6855
|
+
[1m[36mPolygallery::Photo Load (0.7ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
|
6856
|
+
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
|
6857
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6858
|
+
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
|
6859
|
+
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6860
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6861
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-3oz44f.jpg'
|
6862
|
+
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
|
6863
|
+
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
|
6864
|
+
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6865
|
+
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
|
6866
|
+
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6867
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6868
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-17izgof.jpg'
|
6869
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et.jpg[0]' 2>/dev/null
|
6870
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et.jpg[0]'
|
6871
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+25" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et20140904-11630-18cwqun'
|
6872
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et20140904-11630-18cwqun'
|
6873
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et.jpg[0]' 2>/dev/null
|
6874
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et.jpg[0]'
|
6875
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et20140904-11630-r03s4r'
|
6876
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et20140904-11630-r03s4r'
|
6877
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6878
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 10 [["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_updated_at", "2014-09-04 18:19:43.622209"], ["updated_at", "2014-09-04 18:19:45.427955"]]
|
6879
|
+
[1m[36m (17.4ms)[0m [1mCOMMIT[0m
|
6880
|
+
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1
|
6881
|
+
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
|
6882
|
+
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6883
|
+
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
|
6884
|
+
[1m[35mPolygallery::Gallery Load (0.5ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6885
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6886
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-lev6h5.jpg'
|
6887
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd.jpg[0]' 2>/dev/null
|
6888
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd.jpg[0]'
|
6889
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+25" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd20140904-11630-1yx8p87'
|
6890
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd20140904-11630-1yx8p87'
|
6891
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd.jpg[0]' 2>/dev/null
|
6892
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd.jpg[0]'
|
6893
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd20140904-11630-1q0t3v6'
|
6894
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd20140904-11630-1q0t3v6'
|
6895
|
+
[1m[35m (0.4ms)[0m BEGIN
|
6896
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 10[0m [["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_updated_at", "2014-09-04 18:19:59.168212"], ["updated_at", "2014-09-04 18:20:00.185470"]]
|
6897
|
+
[1m[35m (33.1ms)[0m COMMIT
|
6898
|
+
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
|
6899
|
+
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
|
6900
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6901
|
+
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
|
6902
|
+
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6903
|
+
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6904
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-gn20pc.jpg'
|
6905
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g.jpg[0]' 2>/dev/null
|
6906
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g.jpg[0]'
|
6907
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+25" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g20140904-11630-18pqxn5'
|
6908
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g20140904-11630-18pqxn5'
|
6909
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g.jpg[0]' 2>/dev/null
|
6910
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g.jpg[0]'
|
6911
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g20140904-11630-582i8a'
|
6912
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g20140904-11630-582i8a'
|
6913
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6914
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 10 [["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_updated_at", "2014-09-04 18:20:27.377630"], ["updated_at", "2014-09-04 18:20:28.484511"]]
|
6915
|
+
[1m[36m (16.3ms)[0m [1mCOMMIT[0m
|
6916
|
+
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1
|
6917
|
+
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
|
6918
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6919
|
+
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
|
6920
|
+
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6921
|
+
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6922
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-8wmu2m.jpg'
|
6923
|
+
[1m[35m (0.3ms)[0m BEGIN
|
6924
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
6925
|
+
[1m[35mPolygallery::Photo Load (0.5ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1
|
6926
|
+
[1m[36mPolygallery::Photo Load (0.5ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
|
6927
|
+
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
|
6928
|
+
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6929
|
+
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
|
6930
|
+
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6931
|
+
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6932
|
+
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
|
6933
|
+
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
|
6934
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6935
|
+
[1m[35mEvent Load (0.1ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
|
6936
|
+
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6937
|
+
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6938
|
+
[1m[36mPolygallery::Photo Load (0.6ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
|
6939
|
+
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
|
6940
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6941
|
+
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
|
6942
|
+
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6943
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6944
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1l26f3q.jpg'
|
6945
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
6946
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
6947
|
+
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
|
6948
|
+
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
|
6949
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6950
|
+
[1m[35mEvent Load (0.1ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
|
6951
|
+
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6952
|
+
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6953
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1wys9yu.jpg'
|
6954
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6955
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
6956
|
+
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
|
6957
|
+
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
|
6958
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6959
|
+
[1m[35mEvent Load (0.1ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
|
6960
|
+
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6961
|
+
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6962
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-15tdg69.jpg'
|
6963
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6964
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
6965
|
+
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
|
6966
|
+
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
|
6967
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
6968
|
+
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
|
6969
|
+
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
6970
|
+
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
6971
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-aku2wt.jpg'
|
6972
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q.jpg[0]' 2>/dev/null
|
6973
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q.jpg[0]'
|
6974
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+25" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q20140904-11630-12udukv'
|
6975
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q20140904-11630-12udukv'
|
6976
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q.jpg[0]' 2>/dev/null
|
6977
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q.jpg[0]'
|
6978
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q20140904-11630-1a9heq3'
|
6979
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q20140904-11630-1a9heq3'
|
6980
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6981
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 10 [["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_updated_at", "2014-09-04 18:24:51.686087"], ["updated_at", "2014-09-04 18:24:52.999655"]]
|
6982
|
+
[1m[36m (36.2ms)[0m [1mCOMMIT[0m
|
6983
|
+
[1m[36mPolygallery::Photo Load (1.5ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000[0m
|
6984
|
+
[1m[35mPolygallery::Gallery Load (0.7ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
|
6985
|
+
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
|
6986
|
+
[1m[35mEvent Load (0.6ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
|
6987
|
+
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
|
6988
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
|
6989
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6990
|
+
[1m[35m (0.2ms)[0m COMMIT
|
6991
|
+
[1m[36mPolygallery::Gallery Load (0.6ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
|
6992
|
+
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
|
6993
|
+
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
|
6994
|
+
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
|
6995
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
|
6996
|
+
[1m[35m (0.2ms)[0m BEGIN
|
6997
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
6998
|
+
[1m[35mPolygallery::Gallery Load (0.6ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
|
6999
|
+
[1m[36mPolygallery::Photo Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
|
7000
|
+
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
|
7001
|
+
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
|
7002
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
|
7003
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
7004
|
+
[1m[35m (0.2ms)[0m COMMIT
|
7005
|
+
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
|
7006
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
|
7007
|
+
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
|
7008
|
+
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
|
7009
|
+
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
|
7010
|
+
[1m[35m (0.2ms)[0m BEGIN
|
7011
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
7012
|
+
[1m[35mPolygallery::Gallery Load (0.6ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
|
7013
|
+
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
7014
|
+
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
|
7015
|
+
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
7016
|
+
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
7017
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
7018
|
+
[1m[35m (0.3ms)[0m COMMIT
|
7019
|
+
[1m[36mPolygallery::Gallery Load (0.5ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
|
7020
|
+
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
7021
|
+
[1m[36mEvent Load (0.4ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
|
7022
|
+
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
7023
|
+
[1m[36mPolygallery::Photo Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
7024
|
+
[1m[35m (0.2ms)[0m BEGIN
|
7025
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
7026
|
+
[1m[35mPolygallery::Photo Load (0.6ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000
|
7027
|
+
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
|
7028
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
|
7029
|
+
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
|
7030
|
+
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
|
7031
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
|
7032
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-y1d6pr.JPG'
|
7033
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph.JPG[0]' 2>/dev/null
|
7034
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph.JPG[0]'
|
7035
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph.JPG[0]' -auto-orient -resize "x300" -crop "300x300+74+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph20140904-11790-1dimepz'
|
7036
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph20140904-11790-1dimepz'
|
7037
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph.JPG[0]' 2>/dev/null
|
7038
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph.JPG[0]'
|
7039
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph.JPG[0]' -auto-orient -resize "x100" -crop "100x100+24+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph20140904-11790-1jchdwr'
|
7040
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph20140904-11790-1jchdwr'
|
7041
|
+
[1m[35m (0.3ms)[0m BEGIN
|
7042
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 3[0m [["photo_file_name", "DSC_5099.JPG"], ["photo_updated_at", "2014-09-04 18:25:55.304019"], ["updated_at", "2014-09-04 18:26:05.369444"]]
|
7043
|
+
[1m[35m (60.9ms)[0m COMMIT
|
7044
|
+
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
|
7045
|
+
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
|
7046
|
+
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
|
7047
|
+
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
|
7048
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
|
7049
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-2idqf9.jpg'
|
7050
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg.jpg[0]' 2>/dev/null
|
7051
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg.jpg[0]'
|
7052
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+25" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg20140904-11790-1debubl'
|
7053
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg20140904-11790-1debubl'
|
7054
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg.jpg[0]' 2>/dev/null
|
7055
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg.jpg[0]'
|
7056
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg20140904-11790-k5l01i'
|
7057
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg20140904-11790-k5l01i'
|
7058
|
+
[1m[35m (0.2ms)[0m BEGIN
|
7059
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 4[0m [["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_updated_at", "2014-09-04 18:26:05.719305"], ["updated_at", "2014-09-04 18:26:07.136168"]]
|
7060
|
+
[1m[35m (66.1ms)[0m COMMIT
|
7061
|
+
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
|
7062
|
+
[1m[35mPolygallery::Photo Exists (0.4ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
|
7063
|
+
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
|
7064
|
+
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
|
7065
|
+
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
|
7066
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-1lkp4s6.jpg'
|
7067
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc.jpg[0]' 2>/dev/null
|
7068
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc.jpg[0]'
|
7069
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+25" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc20140904-11790-17htcp9'
|
7070
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc20140904-11790-17htcp9'
|
7071
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc.jpg[0]' 2>/dev/null
|
7072
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc.jpg[0]'
|
7073
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc20140904-11790-1ys7eo2'
|
7074
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc20140904-11790-1ys7eo2'
|
7075
|
+
[1m[35m (0.3ms)[0m BEGIN
|
7076
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 6[0m [["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_updated_at", "2014-09-04 18:26:07.415396"], ["updated_at", "2014-09-04 18:26:08.487205"]]
|
7077
|
+
[1m[35m (202.6ms)[0m COMMIT
|
7078
|
+
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
|
7079
|
+
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
|
7080
|
+
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
|
7081
|
+
[1m[35mPolygallery::Gallery Load (0.5ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
|
7082
|
+
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
|
7083
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1fg0ale.JPG'
|
7084
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v.JPG[0]' 2>/dev/null
|
7085
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v.JPG[0]'
|
7086
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v.JPG[0]' -auto-orient -resize "x300" -crop "300x300+74+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v20140904-11790-1lp1ec3'
|
7087
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v20140904-11790-1lp1ec3'
|
7088
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v.JPG[0]' 2>/dev/null
|
7089
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v.JPG[0]'
|
7090
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v.JPG[0]' -auto-orient -resize "x100" -crop "100x100+24+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v20140904-11790-t8eakh'
|
7091
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v20140904-11790-t8eakh'
|
7092
|
+
[1m[35m (0.3ms)[0m BEGIN
|
7093
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 7[0m [["photo_file_name", "DSC_5099.JPG"], ["photo_updated_at", "2014-09-04 18:26:10.621349"], ["updated_at", "2014-09-04 18:26:16.860493"]]
|
7094
|
+
[1m[35m (737.1ms)[0m COMMIT
|
7095
|
+
[1m[36mPolygallery::Gallery Load (0.5ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
|
7096
|
+
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
7097
|
+
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
|
7098
|
+
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
7099
|
+
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
7100
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1a4lv46.JPG'
|
7101
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p.JPG[0]' 2>/dev/null
|
7102
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p.JPG[0]'
|
7103
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p.JPG[0]' -auto-orient -resize "x300" -crop "300x300+74+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p20140904-11790-1khzstx'
|
7104
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p20140904-11790-1khzstx'
|
7105
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p.JPG[0]' 2>/dev/null
|
7106
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p.JPG[0]'
|
7107
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p.JPG[0]' -auto-orient -resize "x100" -crop "100x100+24+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p20140904-11790-1j9hvas'
|
7108
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p20140904-11790-1j9hvas'
|
7109
|
+
[1m[35m (0.4ms)[0m BEGIN
|
7110
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 9[0m [["photo_file_name", "DSC_5099.JPG"], ["photo_updated_at", "2014-09-04 18:26:18.375880"], ["updated_at", "2014-09-04 18:26:25.094099"]]
|
7111
|
+
[1m[35m (15.5ms)[0m COMMIT
|
7112
|
+
[1m[36mPolygallery::Gallery Load (0.5ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
|
7113
|
+
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
|
7114
|
+
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
|
7115
|
+
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
|
7116
|
+
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
|
7117
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-36ossq.jpg'
|
7118
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej.jpg[0]' 2>/dev/null
|
7119
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej.jpg[0]'
|
7120
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+25" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej20140904-11790-1swjy6g'
|
7121
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej20140904-11790-1swjy6g'
|
7122
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej.jpg[0]' 2>/dev/null
|
7123
|
+
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej.jpg[0]'
|
7124
|
+
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej20140904-11790-e0neq6'
|
7125
|
+
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej20140904-11790-e0neq6'
|
7126
|
+
[1m[35m (0.3ms)[0m BEGIN
|
7127
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 10[0m [["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_updated_at", "2014-09-04 18:26:25.220634"], ["updated_at", "2014-09-04 18:26:26.379886"]]
|
7128
|
+
[1m[35m (114.8ms)[0m COMMIT
|
Binary file
|
Binary file
|
data/test/dummy/public/system/polygallery/photos/photos/000/000/004/medium/SALON_RUNWAY_(1).jpg
CHANGED
Binary file
|
data/test/dummy/public/system/polygallery/photos/photos/000/000/004/thumb/SALON_RUNWAY_(1).jpg
CHANGED
Binary file
|
data/test/dummy/public/system/polygallery/photos/photos/000/000/006/medium/SALON_RUNWAY_(1).jpg
CHANGED
Binary file
|
data/test/dummy/public/system/polygallery/photos/photos/000/000/006/thumb/SALON_RUNWAY_(1).jpg
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/dummy/public/system/polygallery/photos/photos/000/000/010/medium/SALON_RUNWAY_(1).jpg
CHANGED
Binary file
|
data/test/dummy/public/system/polygallery/photos/photos/000/000/010/thumb/SALON_RUNWAY_(1).jpg
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polygallery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MacKinley Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -343,7 +343,6 @@ files:
|
|
343
343
|
- test/dummy/tmp/cache/assets/development/sprockets/f644fd75cbead0e58c847aa16546e2a8
|
344
344
|
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
345
345
|
- test/dummy/tmp/cache/assets/development/sprockets/fe0a04f09eb0c97bcc18973678e986a3
|
346
|
-
- test/dummy/tmp/pids/server.pid
|
347
346
|
- test/fixtures/polygallery/galleries.yml
|
348
347
|
- test/fixtures/polygallery/photos.yml
|
349
348
|
- test/helpers/polygallery/galleries_helper_test.rb
|
@@ -536,7 +535,6 @@ test_files:
|
|
536
535
|
- test/dummy/tmp/cache/assets/development/sprockets/f644fd75cbead0e58c847aa16546e2a8
|
537
536
|
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
538
537
|
- test/dummy/tmp/cache/assets/development/sprockets/fe0a04f09eb0c97bcc18973678e986a3
|
539
|
-
- test/dummy/tmp/pids/server.pid
|
540
538
|
- test/fixtures/polygallery/galleries.yml
|
541
539
|
- test/fixtures/polygallery/photos.yml
|
542
540
|
- test/helpers/polygallery/galleries_helper_test.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
42886
|