apidae 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.rdoc +2 -2
- data/Rakefile +38 -38
- data/app/assets/images/apidae/logo-apidae-grey.svg +84 -84
- data/app/assets/javascripts/apidae/application.js +13 -13
- data/app/assets/stylesheets/apidae/application.css +15 -15
- data/app/controllers/apidae/api_controller.rb +25 -25
- data/app/controllers/apidae/application_controller.rb +6 -6
- data/app/controllers/apidae/dashboard_controller.rb +13 -13
- data/app/controllers/apidae/import_controller.rb +68 -68
- data/app/controllers/apidae/objects_controller.rb +59 -59
- data/app/controllers/apidae/projects_controller.rb +35 -35
- data/app/controllers/apidae/references_controller.rb +9 -9
- data/app/controllers/apidae/selections_controller.rb +53 -53
- data/app/helpers/apidae/api_helper.rb +4 -4
- data/app/helpers/apidae/application_helper.rb +4 -4
- data/app/helpers/apidae/dashboard_helper.rb +4 -4
- data/app/helpers/apidae/import_helper.rb +4 -4
- data/app/helpers/apidae/objects_helper.rb +4 -4
- data/app/helpers/apidae/references_helper.rb +4 -4
- data/app/helpers/apidae/selections_helper.rb +4 -4
- data/app/models/apidae/application_record.rb +5 -5
- data/app/models/apidae/export.rb +13 -13
- data/app/models/apidae/file_import.rb +161 -161
- data/app/models/apidae/obj.rb +351 -351
- data/app/models/apidae/project.rb +4 -4
- data/app/models/apidae/reference.rb +45 -45
- data/app/models/apidae/selection.rb +160 -160
- data/app/models/apidae/selection_object.rb +6 -6
- data/app/models/apidae/town.rb +28 -27
- data/app/views/apidae/dashboard/index.html.erb +41 -41
- data/app/views/apidae/import/callback.html.erb +2 -2
- data/app/views/apidae/objects/_form.html.erb +73 -73
- data/app/views/apidae/objects/edit.html.erb +6 -6
- data/app/views/apidae/objects/index.html.erb +34 -34
- data/app/views/apidae/objects/index.json.jbuilder +6 -6
- data/app/views/apidae/objects/new.html.erb +5 -5
- data/app/views/apidae/objects/show.html.erb +74 -74
- data/app/views/apidae/projects/edit.html.erb +32 -32
- data/app/views/apidae/projects/index.html.erb +34 -34
- data/app/views/apidae/references/index.html.erb +34 -34
- data/app/views/apidae/selections/_form.html.erb +29 -29
- data/app/views/apidae/selections/edit.html.erb +6 -6
- data/app/views/apidae/selections/index.html.erb +34 -34
- data/app/views/apidae/selections/new.html.erb +5 -5
- data/app/views/apidae/selections/show.html.erb +19 -19
- data/app/views/layouts/apidae/application.html.erb +14 -14
- data/config/locales/apidae.fr.yml +6 -6
- data/config/routes.rb +14 -14
- data/db/migrate/20170512212941_create_apidae_selections.rb +11 -11
- data/db/migrate/20170512214641_create_apidae_objects.rb +22 -22
- data/db/migrate/20170512221525_create_apidae_objects_apidae_selections.rb +8 -8
- data/db/migrate/20170513114002_create_apidae_towns.rb +15 -15
- data/db/migrate/20170513114409_add_town_insee_code_to_objects.rb +5 -5
- data/db/migrate/20170513115401_add_pictures_data_to_objects.rb +5 -5
- data/db/migrate/20170513121215_create_apidae_attached_files.rb +13 -13
- data/db/migrate/20170513205932_rename_objects_selections_table.rb +5 -5
- data/db/migrate/20170720161134_add_entity_data_to_objects.rb +5 -5
- data/db/migrate/20170730102424_create_apidae_file_imports.rb +13 -13
- data/db/migrate/20171025075304_create_apidae_exports.rb +15 -15
- data/db/migrate/20180217222410_create_apidae_selection_objects.rb +10 -10
- data/db/migrate/20180218172704_change_text_columns_to_json.rb +10 -10
- data/db/migrate/20180218231319_add_service_data_to_apidae_objects.rb +5 -5
- data/db/migrate/20180222104915_add_rates_data_to_apidae_objects.rb +6 -6
- data/db/migrate/20180222105302_rename_openings_to_openings_data.rb +5 -5
- data/db/migrate/20180307164936_add_attachments_data_to_apidae_objects.rb +5 -5
- data/db/migrate/20180307170349_create_apidae_references.rb +12 -12
- data/db/migrate/20180314093512_add_tags_data_to_apidae_objects.rb +5 -5
- data/db/migrate/20180314132631_add_meta_data_to_apidae_objects.rb +5 -5
- data/db/migrate/20180319143954_remove_apidae_id_unicity.rb +6 -6
- data/db/migrate/20180417164604_add_location_data_to_apidae_objects.rb +5 -5
- data/db/migrate/20180417165744_remove_address_from_apidae_objects.rb +5 -5
- data/db/migrate/20180417171344_remove_lat_lng_from_apidae_objects.rb +6 -6
- data/db/migrate/20180418141248_add_description_data_to_apidae_objects.rb +5 -5
- data/db/migrate/20180418141305_remove_desc_columns_from_apidae_objects.rb +6 -6
- data/db/migrate/20180424141656_add_meta_data_to_apidae_references.rb +5 -5
- data/db/migrate/20180519170210_remove_insee_code_unicity.rb +7 -7
- data/db/migrate/20180521211735_destroy_attached_files.rb +5 -5
- data/db/migrate/20180625050400_rename_objects_to_obj.rb +5 -5
- data/db/migrate/20181024072424_add_project_id_to_selections.rb +5 -5
- data/db/migrate/20181024072843_create_apidae_projects.rb +10 -10
- data/db/migrate/20190328122424_add_description_to_apidae_towns.rb +5 -0
- data/lib/apidae.rb +4 -4
- data/lib/apidae/engine.rb +10 -10
- data/lib/apidae/version.rb +3 -3
- data/lib/tasks/apidae_tasks.rake +4 -4
- data/test/apidae_test.rb +7 -7
- data/test/controllers/apidae/api_controller_test.rb +23 -23
- data/test/controllers/apidae/dashboard_controller_test.rb +15 -15
- data/test/controllers/apidae/import_controller_test.rb +15 -15
- data/test/controllers/apidae/objects_controller_test.rb +52 -52
- data/test/controllers/apidae/references_controller_test.rb +13 -13
- data/test/controllers/apidae/selections_controller_test.rb +52 -52
- data/test/data/selections.json +14 -14
- data/test/data/structure.json +64 -64
- data/test/data/update_selections.json +18 -18
- data/test/dummy/README.rdoc +28 -28
- data/test/dummy/Rakefile +6 -6
- data/test/dummy/app/assets/javascripts/application.js +13 -13
- data/test/dummy/app/assets/stylesheets/application.css +15 -15
- data/test/dummy/app/controllers/application_controller.rb +5 -5
- data/test/dummy/app/helpers/application_helper.rb +2 -2
- data/test/dummy/app/views/layouts/application.html.erb +14 -14
- data/test/dummy/bin/bundle +3 -3
- data/test/dummy/bin/rails +4 -4
- data/test/dummy/bin/rake +4 -4
- data/test/dummy/bin/setup +29 -29
- data/test/dummy/config.ru +4 -4
- data/test/dummy/config/application.rb +24 -24
- data/test/dummy/config/boot.rb +5 -5
- data/test/dummy/config/database.yml +20 -20
- data/test/dummy/config/environment.rb +5 -5
- data/test/dummy/config/environments/development.rb +41 -41
- data/test/dummy/config/environments/production.rb +79 -79
- data/test/dummy/config/environments/test.rb +42 -42
- data/test/dummy/config/initializers/apidae.rb +18 -18
- data/test/dummy/config/initializers/assets.rb +11 -11
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -7
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -3
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -4
- data/test/dummy/config/initializers/inflections.rb +16 -16
- data/test/dummy/config/initializers/mime_types.rb +4 -4
- data/test/dummy/config/initializers/session_store.rb +3 -3
- data/test/dummy/config/initializers/to_time_preserves_timezone.rb +10 -10
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -14
- data/test/dummy/config/locales/en.yml +23 -23
- data/test/dummy/config/routes.rb +4 -4
- data/test/dummy/config/secrets.yml +22 -22
- data/test/dummy/db/schema.rb +104 -104
- data/test/dummy/public/404.html +67 -67
- data/test/dummy/public/422.html +67 -67
- data/test/dummy/public/500.html +66 -66
- data/test/fixtures/apidae/exports.yml +15 -15
- data/test/fixtures/apidae/objects.yml +33 -33
- data/test/fixtures/apidae/references.yml +11 -11
- data/test/fixtures/apidae/selection_objects.yml +9 -9
- data/test/fixtures/apidae/selections.yml +11 -11
- data/test/fixtures/apidae/towns.yml +15 -15
- data/test/integration/navigation_test.rb +8 -8
- data/test/models/apidae/export_test.rb +9 -9
- data/test/models/apidae/file_import_test.rb +88 -88
- data/test/models/apidae/object_test.rb +9 -9
- data/test/models/apidae/reference_test.rb +9 -9
- data/test/models/apidae/selection_object_test.rb +9 -9
- data/test/models/apidae/selection_test.rb +9 -9
- data/test/models/apidae/town_test.rb +9 -9
- data/test/test_helper.rb +22 -22
- metadata +49 -50
- data/test/dummy/log/test.log +0 -2109
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apidae
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean-Baptiste Vilain
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -156,6 +156,7 @@ files:
|
|
156
156
|
- db/migrate/20180625050400_rename_objects_to_obj.rb
|
157
157
|
- db/migrate/20181024072424_add_project_id_to_selections.rb
|
158
158
|
- db/migrate/20181024072843_create_apidae_projects.rb
|
159
|
+
- db/migrate/20190328122424_add_description_to_apidae_towns.rb
|
159
160
|
- lib/apidae.rb
|
160
161
|
- lib/apidae/engine.rb
|
161
162
|
- lib/apidae/version.rb
|
@@ -207,7 +208,6 @@ files:
|
|
207
208
|
- test/dummy/config/secrets.yml
|
208
209
|
- test/dummy/db/schema.rb
|
209
210
|
- test/dummy/log/development.log
|
210
|
-
- test/dummy/log/test.log
|
211
211
|
- test/dummy/public/404.html
|
212
212
|
- test/dummy/public/422.html
|
213
213
|
- test/dummy/public/500.html
|
@@ -247,75 +247,74 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
247
|
version: '0'
|
248
248
|
requirements: []
|
249
249
|
rubyforge_project:
|
250
|
-
rubygems_version: 2.
|
250
|
+
rubygems_version: 2.6.14.3
|
251
251
|
signing_key:
|
252
252
|
specification_version: 4
|
253
253
|
summary: A Ruby on Rails engine for projects that involve Apidae data
|
254
254
|
test_files:
|
255
|
-
- test/
|
256
|
-
- test/
|
255
|
+
- test/apidae_test.rb
|
256
|
+
- test/controllers/apidae/api_controller_test.rb
|
257
|
+
- test/controllers/apidae/dashboard_controller_test.rb
|
258
|
+
- test/controllers/apidae/import_controller_test.rb
|
259
|
+
- test/controllers/apidae/objects_controller_test.rb
|
260
|
+
- test/controllers/apidae/references_controller_test.rb
|
261
|
+
- test/controllers/apidae/selections_controller_test.rb
|
262
|
+
- test/data/delete_selections.json
|
263
|
+
- test/data/deletion.json
|
264
|
+
- test/data/json_export.zip
|
265
|
+
- test/data/selections.json
|
266
|
+
- test/data/structure.json
|
267
|
+
- test/data/update_selections.json
|
257
268
|
- test/dummy/app/assets/javascripts/application.js
|
258
269
|
- test/dummy/app/assets/stylesheets/application.css
|
270
|
+
- test/dummy/app/controllers/application_controller.rb
|
259
271
|
- test/dummy/app/helpers/application_helper.rb
|
260
|
-
- test/dummy/
|
261
|
-
- test/dummy/bin/setup
|
272
|
+
- test/dummy/app/views/layouts/application.html.erb
|
262
273
|
- test/dummy/bin/bundle
|
263
274
|
- test/dummy/bin/rails
|
264
|
-
- test/dummy/
|
265
|
-
- test/dummy/
|
266
|
-
- test/dummy/config/locales/en.yml
|
267
|
-
- test/dummy/config/environments/production.rb
|
268
|
-
- test/dummy/config/environments/development.rb
|
269
|
-
- test/dummy/config/environments/test.rb
|
270
|
-
- test/dummy/config/environment.rb
|
275
|
+
- test/dummy/bin/rake
|
276
|
+
- test/dummy/bin/setup
|
271
277
|
- test/dummy/config/application.rb
|
272
|
-
- test/dummy/config/database.yml
|
273
278
|
- test/dummy/config/boot.rb
|
279
|
+
- test/dummy/config/database.yml
|
280
|
+
- test/dummy/config/environment.rb
|
281
|
+
- test/dummy/config/environments/development.rb
|
282
|
+
- test/dummy/config/environments/production.rb
|
283
|
+
- test/dummy/config/environments/test.rb
|
284
|
+
- test/dummy/config/initializers/apidae.rb
|
285
|
+
- test/dummy/config/initializers/assets.rb
|
274
286
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
275
|
-
- test/dummy/config/initializers/
|
287
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
276
288
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
289
|
+
- test/dummy/config/initializers/inflections.rb
|
290
|
+
- test/dummy/config/initializers/mime_types.rb
|
277
291
|
- test/dummy/config/initializers/session_store.rb
|
278
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
279
|
-
- test/dummy/config/initializers/assets.rb
|
280
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
281
292
|
- test/dummy/config/initializers/to_time_preserves_timezone.rb
|
282
|
-
- test/dummy/config/initializers/
|
283
|
-
- test/dummy/config/
|
293
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
294
|
+
- test/dummy/config/locales/en.yml
|
295
|
+
- test/dummy/config/routes.rb
|
296
|
+
- test/dummy/config/secrets.yml
|
284
297
|
- test/dummy/config.ru
|
285
|
-
- test/dummy/Rakefile
|
286
|
-
- test/dummy/public/favicon.ico
|
287
|
-
- test/dummy/public/422.html
|
288
|
-
- test/dummy/public/500.html
|
289
|
-
- test/dummy/public/404.html
|
290
298
|
- test/dummy/db/schema.rb
|
291
|
-
- test/dummy/log/test.log
|
292
299
|
- test/dummy/log/development.log
|
300
|
+
- test/dummy/public/404.html
|
301
|
+
- test/dummy/public/422.html
|
302
|
+
- test/dummy/public/500.html
|
303
|
+
- test/dummy/public/favicon.ico
|
304
|
+
- test/dummy/Rakefile
|
293
305
|
- test/dummy/README.rdoc
|
306
|
+
- test/fixtures/apidae/exports.yml
|
307
|
+
- test/fixtures/apidae/objects.yml
|
308
|
+
- test/fixtures/apidae/references.yml
|
309
|
+
- test/fixtures/apidae/selections.yml
|
310
|
+
- test/fixtures/apidae/selection_objects.yml
|
311
|
+
- test/fixtures/apidae/towns.yml
|
294
312
|
- test/integration/navigation_test.rb
|
313
|
+
- test/models/apidae/export_test.rb
|
314
|
+
- test/models/apidae/file_import_test.rb
|
295
315
|
- test/models/apidae/object_test.rb
|
316
|
+
- test/models/apidae/reference_test.rb
|
296
317
|
- test/models/apidae/selection_object_test.rb
|
297
318
|
- test/models/apidae/selection_test.rb
|
298
|
-
- test/models/apidae/file_import_test.rb
|
299
|
-
- test/models/apidae/export_test.rb
|
300
|
-
- test/models/apidae/reference_test.rb
|
301
319
|
- test/models/apidae/town_test.rb
|
302
|
-
- test/fixtures/apidae/selection_objects.yml
|
303
|
-
- test/fixtures/apidae/towns.yml
|
304
|
-
- test/fixtures/apidae/references.yml
|
305
|
-
- test/fixtures/apidae/objects.yml
|
306
|
-
- test/fixtures/apidae/selections.yml
|
307
|
-
- test/fixtures/apidae/exports.yml
|
308
320
|
- test/test_helper.rb
|
309
|
-
- test/apidae_test.rb
|
310
|
-
- test/controllers/apidae/selections_controller_test.rb
|
311
|
-
- test/controllers/apidae/api_controller_test.rb
|
312
|
-
- test/controllers/apidae/objects_controller_test.rb
|
313
|
-
- test/controllers/apidae/dashboard_controller_test.rb
|
314
|
-
- test/controllers/apidae/references_controller_test.rb
|
315
|
-
- test/controllers/apidae/import_controller_test.rb
|
316
|
-
- test/data/update_selections.json
|
317
|
-
- test/data/json_export.zip
|
318
|
-
- test/data/delete_selections.json
|
319
|
-
- test/data/structure.json
|
320
|
-
- test/data/deletion.json
|
321
|
-
- test/data/selections.json
|
data/test/dummy/log/test.log
DELETED
@@ -1,2109 +0,0 @@
|
|
1
|
-
[1m[36m (196.0ms)[0m [1mDROP DATABASE IF EXISTS "apidae_engine_test"[0m
|
2
|
-
[1m[35m (387.2ms)[0m CREATE DATABASE "apidae_engine_test" ENCODING = 'unicode'
|
3
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
4
|
-
----------------------
|
5
|
-
ApidaeTest: test_truth
|
6
|
-
----------------------
|
7
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
8
|
-
[1m[36m (193.4ms)[0m [1mDROP DATABASE IF EXISTS "apidae_engine_test"[0m
|
9
|
-
[1m[35m (507.5ms)[0m CREATE DATABASE "apidae_engine_test" ENCODING = 'unicode'
|
10
|
-
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
11
|
-
[1m[35m (13.4ms)[0m CREATE TABLE "apidae_objects" ("id" serial primary key, "address" character varying, "apidae_id" integer, "apidae_type" character varying, "apidae_subtype" character varying, "title" character varying, "short_desc" text, "contact" text, "long_desc" text, "type_data" text, "latitude" float, "longitude" float, "openings" text, "rates" text, "reservation" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "town_insee_code" character varying, "pictures_data" text)
|
12
|
-
[1m[36m (2.4ms)[0m [1mCREATE TABLE "apidae_objects_apidae_selections" ("id" serial primary key, "object_id" integer, "selection_id" integer) [0m
|
13
|
-
[1m[35m (3.7ms)[0m CREATE TABLE "apidae_selections" ("id" serial primary key, "label" character varying, "reference" character varying, "apidae_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
14
|
-
[1m[36m (3.2ms)[0m [1mCREATE TABLE "apidae_towns" ("id" serial primary key, "country" character varying, "apidae_id" integer, "insee_code" character varying, "name" character varying, "postal_code" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
15
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_apidae_towns_on_insee_code" ON "apidae_towns" USING btree ("insee_code")
|
16
|
-
[1m[36m (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
17
|
-
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
18
|
-
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
19
|
-
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20170513115401')
|
20
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
21
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
22
|
-
Migrating to CreateApidaeSelections (20170512212941)
|
23
|
-
[1m[35m (0.2ms)[0m BEGIN
|
24
|
-
[1m[36m (3.5ms)[0m [1mCREATE TABLE "apidae_selections" ("id" serial primary key, "label" character varying, "reference" character varying, "apidae_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
25
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
26
|
-
[1m[36mActiveRecord::SchemaMigration Load (12.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
27
|
-
Migrating to CreateApidaeSelections (20170512212941)
|
28
|
-
[1m[35m (6.3ms)[0m BEGIN
|
29
|
-
[1m[36m (28.5ms)[0m [1mCREATE TABLE "apidae_selections" ("id" serial primary key, "label" character varying, "reference" character varying, "apidae_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
30
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
31
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
32
|
-
Migrating to CreateApidaeSelections (20170512212941)
|
33
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
34
|
-
Migrating to CreateApidaeSelections (20170512212941)
|
35
|
-
[1m[35m (0.1ms)[0m BEGIN
|
36
|
-
[1m[36mSQL (6.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20170512212941"]]
|
37
|
-
[1m[35m (13.2ms)[0m COMMIT
|
38
|
-
Migrating to CreateApidaeObjects (20170512214641)
|
39
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
40
|
-
[1m[35m (8.8ms)[0m CREATE TABLE "apidae_objects" ("id" serial primary key, "address" character varying, "apidae_id" integer, "apidae_type" character varying, "apidae_subtype" character varying, "title" character varying, "short_desc" text, "contact" text, "long_desc" text, "type_data" text, "latitude" float, "longitude" float, "openings" text, "rates" text, "reservation" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
41
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
42
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
43
|
-
Migrating to CreateApidaeObjects (20170512214641)
|
44
|
-
[1m[35m (0.1ms)[0m BEGIN
|
45
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20170512214641"]]
|
46
|
-
[1m[35m (2.0ms)[0m COMMIT
|
47
|
-
Migrating to CreateApidaeObjectsApidaeSelections (20170512221525)
|
48
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
49
|
-
[1m[35m (8.1ms)[0m CREATE TABLE "apidae_objects_apidae_selections" ("id" serial primary key, "object_id" integer, "selection_id" integer)
|
50
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
51
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
52
|
-
Migrating to CreateApidaeObjectsApidaeSelections (20170512221525)
|
53
|
-
[1m[35m (0.1ms)[0m BEGIN
|
54
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20170512221525"]]
|
55
|
-
[1m[35m (2.1ms)[0m COMMIT
|
56
|
-
Migrating to CreateApidaeTowns (20170513114002)
|
57
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
58
|
-
[1m[35m (8.0ms)[0m CREATE TABLE "apidae_towns" ("id" serial primary key, "country" character varying, "apidae_id" integer, "insee_code" character varying, "name" character varying, "postal_code" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
59
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
60
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
61
|
-
Migrating to CreateApidaeTowns (20170513114002)
|
62
|
-
[1m[35m (0.1ms)[0m BEGIN
|
63
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20170513114002"]]
|
64
|
-
[1m[35m (2.2ms)[0m COMMIT
|
65
|
-
Migrating to AddTownInseeCodeToObjects (20170513114409)
|
66
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
67
|
-
[1m[35m (19.6ms)[0m ALTER TABLE "apidae_objects" ADD "town_insee_code" character varying
|
68
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
69
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
70
|
-
Migrating to AddTownInseeCodeToObjects (20170513114409)
|
71
|
-
[1m[35m (0.1ms)[0m BEGIN
|
72
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20170513114409"]]
|
73
|
-
[1m[35m (2.1ms)[0m COMMIT
|
74
|
-
Migrating to CreateApidaeAttachedFiles (20170513121215)
|
75
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
76
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
77
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
78
|
-
[1m[36m (195.3ms)[0m [1mDROP DATABASE IF EXISTS "apidae_engine_test"[0m
|
79
|
-
[1m[35m (470.4ms)[0m CREATE DATABASE "apidae_engine_test" ENCODING = 'unicode'
|
80
|
-
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
81
|
-
[1m[35m (7.3ms)[0m CREATE TABLE "apidae_objects" ("id" serial primary key, "address" character varying, "apidae_id" integer, "apidae_type" character varying, "apidae_subtype" character varying, "title" character varying, "short_desc" text, "contact" text, "long_desc" text, "type_data" text, "latitude" float, "longitude" float, "openings" text, "rates" text, "reservation" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "town_insee_code" character varying, "pictures_data" text)
|
82
|
-
[1m[36m (2.6ms)[0m [1mCREATE TABLE "apidae_objects_apidae_selections" ("id" serial primary key, "object_id" integer, "selection_id" integer) [0m
|
83
|
-
[1m[35m (2.6ms)[0m CREATE TABLE "apidae_selections" ("id" serial primary key, "label" character varying, "reference" character varying, "apidae_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
84
|
-
[1m[36m (2.3ms)[0m [1mCREATE TABLE "apidae_towns" ("id" serial primary key, "country" character varying, "apidae_id" integer, "insee_code" character varying, "name" character varying, "postal_code" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
85
|
-
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_apidae_towns_on_insee_code" ON "apidae_towns" USING btree ("insee_code")
|
86
|
-
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
87
|
-
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
88
|
-
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
89
|
-
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20170513115401')
|
90
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
91
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
92
|
-
Migrating to CreateApidaeSelections (20170512212941)
|
93
|
-
[1m[35m (0.2ms)[0m BEGIN
|
94
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20170512212941"]]
|
95
|
-
[1m[35m (2.0ms)[0m COMMIT
|
96
|
-
Migrating to CreateApidaeObjects (20170512214641)
|
97
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
98
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20170512214641"]]
|
99
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
100
|
-
Migrating to CreateApidaeObjectsApidaeSelections (20170512221525)
|
101
|
-
[1m[35m (0.1ms)[0m BEGIN
|
102
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20170512221525"]]
|
103
|
-
[1m[35m (0.2ms)[0m COMMIT
|
104
|
-
Migrating to CreateApidaeTowns (20170513114002)
|
105
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
106
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20170513114002"]]
|
107
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
108
|
-
Migrating to AddTownInseeCodeToObjects (20170513114409)
|
109
|
-
[1m[35m (0.1ms)[0m BEGIN
|
110
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20170513114409"]]
|
111
|
-
[1m[35m (0.2ms)[0m COMMIT
|
112
|
-
Migrating to CreateApidaeAttachedFiles (20170513121215)
|
113
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
114
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
115
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
116
|
-
Migrating to CreateApidaeAttachedFiles (20170513121215)
|
117
|
-
[1m[35m (0.1ms)[0m BEGIN
|
118
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
119
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
120
|
-
Migrating to CreateApidaeAttachedFiles (20170513121215)
|
121
|
-
[1m[35m (0.1ms)[0m BEGIN
|
122
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
123
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
124
|
-
Migrating to CreateApidaeAttachedFiles (20170513121215)
|
125
|
-
[1m[35m (0.1ms)[0m BEGIN
|
126
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
127
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
128
|
-
Migrating to CreateApidaeAttachedFiles (20170513121215)
|
129
|
-
[1m[35m (0.1ms)[0m BEGIN
|
130
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
131
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
132
|
-
Migrating to CreateApidaeAttachedFiles (20170513121215)
|
133
|
-
[1m[35m (0.1ms)[0m BEGIN
|
134
|
-
[1m[36m (5.4ms)[0m [1mCREATE TABLE "apidae_attached_files" ("id" serial primary key, "name" character varying, "credits" character varying, "description" text, "apidae_object_id" integer, "picture_file_name" character varying, "picture_content_type" character varying, "picture_file_size" integer, "picture_updated_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
135
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20170513121215"]]
|
136
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
137
|
-
Migrating to RenameObjectsSelectionsTable (20170513205932)
|
138
|
-
[1m[35m (5.9ms)[0m BEGIN
|
139
|
-
[1m[36m (6.2ms)[0m [1mALTER TABLE "apidae_objects_apidae_selections" RENAME TO "apidae_objects_selections"[0m
|
140
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "public"."apidae_objects_apidae_selections_id_seq" RENAME TO "apidae_objects_selections_id_seq"
|
141
|
-
[1m[36m (0.2ms)[0m [1mALTER INDEX "apidae_objects_apidae_selections_pkey" RENAME TO "apidae_objects_selections_pkey"[0m
|
142
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20170513205932"]]
|
143
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
144
|
-
Migrating to AddEntityDataToObjects (20170720161134)
|
145
|
-
[1m[35m (0.1ms)[0m BEGIN
|
146
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "apidae_objects" ADD "entity_data" text[0m
|
147
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20170720161134"]]
|
148
|
-
[1m[36m (5.6ms)[0m [1mCOMMIT[0m
|
149
|
-
Migrating to CreateApidaeFileImports (20170730102424)
|
150
|
-
[1m[35m (0.1ms)[0m BEGIN
|
151
|
-
[1m[36m (14.1ms)[0m [1mCREATE TABLE "apidae_file_imports" ("id" serial primary key, "status" character varying, "remote_file" character varying, "created" integer, "updated" integer, "deleted" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
152
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20170730102424"]]
|
153
|
-
[1m[36m (5.6ms)[0m [1mCOMMIT[0m
|
154
|
-
Migrating to CreateApidaeExports (20171025075304)
|
155
|
-
[1m[35m (5.8ms)[0m BEGIN
|
156
|
-
[1m[36m (13.7ms)[0m [1mCREATE TABLE "apidae_exports" ("id" serial primary key, "status" character varying, "remote_status" character varying, "oneshot" boolean, "reset" boolean, "file_url" character varying, "confirm_url" character varying, "project_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
157
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20171025075304"]]
|
158
|
-
[1m[36m (5.1ms)[0m [1mCOMMIT[0m
|
159
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
160
|
-
[1m[36m (1.9ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
161
|
-
FROM pg_constraint c
|
162
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
163
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
164
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
165
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
166
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
167
|
-
WHERE c.contype = 'f'
|
168
|
-
AND t1.relname = 'apidae_attached_files'
|
169
|
-
AND t3.nspname = ANY (current_schemas(false))
|
170
|
-
ORDER BY c.conname
|
171
|
-
[0m
|
172
|
-
[1m[35m (1.4ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
173
|
-
FROM pg_constraint c
|
174
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
175
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
176
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
177
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
178
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
179
|
-
WHERE c.contype = 'f'
|
180
|
-
AND t1.relname = 'apidae_exports'
|
181
|
-
AND t3.nspname = ANY (current_schemas(false))
|
182
|
-
ORDER BY c.conname
|
183
|
-
|
184
|
-
[1m[36m (1.3ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
185
|
-
FROM pg_constraint c
|
186
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
187
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
188
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
189
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
190
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
191
|
-
WHERE c.contype = 'f'
|
192
|
-
AND t1.relname = 'apidae_file_imports'
|
193
|
-
AND t3.nspname = ANY (current_schemas(false))
|
194
|
-
ORDER BY c.conname
|
195
|
-
[0m
|
196
|
-
[1m[35m (1.5ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
197
|
-
FROM pg_constraint c
|
198
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
199
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
200
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
201
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
202
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
203
|
-
WHERE c.contype = 'f'
|
204
|
-
AND t1.relname = 'apidae_objects'
|
205
|
-
AND t3.nspname = ANY (current_schemas(false))
|
206
|
-
ORDER BY c.conname
|
207
|
-
|
208
|
-
[1m[36m (1.5ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
209
|
-
FROM pg_constraint c
|
210
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
211
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
212
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
213
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
214
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
215
|
-
WHERE c.contype = 'f'
|
216
|
-
AND t1.relname = 'apidae_objects_selections'
|
217
|
-
AND t3.nspname = ANY (current_schemas(false))
|
218
|
-
ORDER BY c.conname
|
219
|
-
[0m
|
220
|
-
[1m[35m (1.4ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
221
|
-
FROM pg_constraint c
|
222
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
223
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
224
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
225
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
226
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
227
|
-
WHERE c.contype = 'f'
|
228
|
-
AND t1.relname = 'apidae_selections'
|
229
|
-
AND t3.nspname = ANY (current_schemas(false))
|
230
|
-
ORDER BY c.conname
|
231
|
-
|
232
|
-
[1m[36m (1.9ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
233
|
-
FROM pg_constraint c
|
234
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
235
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
236
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
237
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
238
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
239
|
-
WHERE c.contype = 'f'
|
240
|
-
AND t1.relname = 'apidae_towns'
|
241
|
-
AND t3.nspname = ANY (current_schemas(false))
|
242
|
-
ORDER BY c.conname
|
243
|
-
[0m
|
244
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
245
|
-
[1m[35m (0.2ms)[0m BEGIN
|
246
|
-
----------------------------------------------------
|
247
|
-
Apidae::FileImportTest: test_new_selection_insertion
|
248
|
-
----------------------------------------------------
|
249
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
250
|
-
[1m[35m (0.1ms)[0m BEGIN
|
251
|
-
-------------------------------------------------
|
252
|
-
Apidae::FileImportTest: test_new_object_insertion
|
253
|
-
-------------------------------------------------
|
254
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
255
|
-
[1m[35m (0.1ms)[0m BEGIN
|
256
|
-
-----------------------------------------------------
|
257
|
-
Apidae::FileImportTest: test_existing_object_deletion
|
258
|
-
-----------------------------------------------------
|
259
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
260
|
-
[1m[35m (0.1ms)[0m BEGIN
|
261
|
-
--------------------------------------------------------
|
262
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
263
|
-
--------------------------------------------------------
|
264
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
265
|
-
[1m[35m (0.1ms)[0m BEGIN
|
266
|
-
------------------------------------------------------
|
267
|
-
Apidae::FileImportTest: test_existing_selection_update
|
268
|
-
------------------------------------------------------
|
269
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
270
|
-
[1m[35m (0.1ms)[0m BEGIN
|
271
|
-
---------------------------------------------------
|
272
|
-
Apidae::FileImportTest: test_existing_object_update
|
273
|
-
---------------------------------------------------
|
274
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
275
|
-
[1m[35m (0.1ms)[0m BEGIN
|
276
|
-
------------------------------------------------------
|
277
|
-
Apidae::FileImportTest: test_import_process_end_to_end
|
278
|
-
------------------------------------------------------
|
279
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
280
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
281
|
-
[1m[35m (0.1ms)[0m BEGIN
|
282
|
-
-------------------------------------------------
|
283
|
-
Apidae::FileImportTest: test_new_object_insertion
|
284
|
-
-------------------------------------------------
|
285
|
-
[1m[36mSQL (2.0ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
286
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
287
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
288
|
-
[1m[35m (0.2ms)[0m BEGIN
|
289
|
-
-------------------------------------------------
|
290
|
-
Apidae::FileImportTest: test_new_object_insertion
|
291
|
-
-------------------------------------------------
|
292
|
-
[1m[36mSQL (1.0ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
293
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
294
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
295
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
296
|
-
[1m[35m (0.2ms)[0m BEGIN
|
297
|
-
-------------------------------------------------
|
298
|
-
Apidae::FileImportTest: test_new_object_insertion
|
299
|
-
-------------------------------------------------
|
300
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
301
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
302
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
303
|
-
[1m[35m (0.2ms)[0m BEGIN
|
304
|
-
-------------------------------------------------
|
305
|
-
Apidae::FileImportTest: test_new_object_insertion
|
306
|
-
-------------------------------------------------
|
307
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
308
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
309
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
310
|
-
[1m[35m (0.2ms)[0m BEGIN
|
311
|
-
-------------------------------------------------
|
312
|
-
Apidae::FileImportTest: test_new_object_insertion
|
313
|
-
-------------------------------------------------
|
314
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
315
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
316
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
317
|
-
[1m[35m (0.2ms)[0m BEGIN
|
318
|
-
-------------------------------------------------
|
319
|
-
Apidae::FileImportTest: test_new_object_insertion
|
320
|
-
-------------------------------------------------
|
321
|
-
[1m[36mSQL (0.6ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
322
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
323
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
324
|
-
[1m[35m (0.1ms)[0m BEGIN
|
325
|
-
-------------------------------------------------
|
326
|
-
Apidae::FileImportTest: test_new_object_insertion
|
327
|
-
-------------------------------------------------
|
328
|
-
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
329
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
330
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
331
|
-
[1m[35m (0.3ms)[0m BEGIN
|
332
|
-
-------------------------------------------------
|
333
|
-
Apidae::FileImportTest: test_new_object_insertion
|
334
|
-
-------------------------------------------------
|
335
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
336
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
337
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
338
|
-
[1m[35m (0.2ms)[0m BEGIN
|
339
|
-
-------------------------------------------------
|
340
|
-
Apidae::FileImportTest: test_new_object_insertion
|
341
|
-
-------------------------------------------------
|
342
|
-
[1m[36mSQL (0.6ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
343
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
344
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
345
|
-
[1m[35m (0.2ms)[0m BEGIN
|
346
|
-
-------------------------------------------------
|
347
|
-
Apidae::FileImportTest: test_new_object_insertion
|
348
|
-
-------------------------------------------------
|
349
|
-
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
350
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
351
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
352
|
-
[1m[35m (0.2ms)[0m BEGIN
|
353
|
-
-------------------------------------------------
|
354
|
-
Apidae::FileImportTest: test_new_object_insertion
|
355
|
-
-------------------------------------------------
|
356
|
-
[1m[36mSQL (0.6ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
357
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
358
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
359
|
-
[1m[35m (0.2ms)[0m BEGIN
|
360
|
-
-------------------------------------------------
|
361
|
-
Apidae::FileImportTest: test_new_object_insertion
|
362
|
-
-------------------------------------------------
|
363
|
-
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
364
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
365
|
-
[1m[36mApidae::Town Load (7.2ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
366
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
367
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "contact", "address", "latitude", "longitude", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id"[0m [["apidae_id", 504], ["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-10-30 14:11:37.109080"], ["updated_at", "2017-10-30 14:11:37.109080"]]
|
368
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
369
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
370
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
371
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
372
|
-
[1m[35m (0.2ms)[0m BEGIN
|
373
|
-
-------------------------------------------------
|
374
|
-
Apidae::FileImportTest: test_new_object_insertion
|
375
|
-
-------------------------------------------------
|
376
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
377
|
-
[1m[35mApidae::Object Load (0.3ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
378
|
-
[1m[36mApidae::Town Load (0.3ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
379
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
380
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "contact", "address", "latitude", "longitude", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id"[0m [["apidae_id", 504], ["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-10-30 14:15:49.861403"], ["updated_at", "2017-10-30 14:15:49.861403"]]
|
381
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
382
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
383
|
-
[1m[35mApidae::Object Load (0.4ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1
|
384
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
385
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
386
|
-
[1m[35m (0.1ms)[0m BEGIN
|
387
|
-
---------------------------------------------------
|
388
|
-
Apidae::FileImportTest: test_existing_object_update
|
389
|
-
---------------------------------------------------
|
390
|
-
[1m[36mSQL (0.8ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
391
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
392
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-10-30 14:20:47.844918"], ["updated_at", "2017-10-30 14:20:47.844918"]]
|
393
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
394
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
395
|
-
[1m[35mApidae::Town Load (0.3ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
396
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
397
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "apidae_objects" SET "apidae_type" = $1, "apidae_subtype" = $2, "title" = $3, "short_desc" = $4, "long_desc" = $5, "contact" = $6, "address" = $7, "latitude" = $8, "longitude" = $9, "type_data" = $10, "pictures_data" = $11, "updated_at" = $12 WHERE "apidae_objects"."id" = $13 [["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["updated_at", "2017-10-30 14:20:47.875855"], ["id", 3]]
|
398
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
399
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
400
|
-
[1m[36mApidae::Object Load (0.3ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1[0m
|
401
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
402
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
403
|
-
[1m[35m (0.1ms)[0m BEGIN
|
404
|
-
-------------------------------------------------
|
405
|
-
Apidae::FileImportTest: test_new_object_insertion
|
406
|
-
-------------------------------------------------
|
407
|
-
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
408
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
409
|
-
[1m[36mApidae::Town Load (0.2ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
410
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
411
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "contact", "address", "latitude", "longitude", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id"[0m [["apidae_id", 504], ["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-10-30 14:24:51.329800"], ["updated_at", "2017-10-30 14:24:51.329800"]]
|
412
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
413
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
414
|
-
[1m[35mApidae::Object Load (0.3ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1
|
415
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
416
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
417
|
-
[1m[35m (0.2ms)[0m BEGIN
|
418
|
-
-------------------------------------------------
|
419
|
-
Apidae::FileImportTest: test_new_object_insertion
|
420
|
-
-------------------------------------------------
|
421
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
422
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
423
|
-
[1m[36mApidae::Town Load (0.3ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
424
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
425
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "contact", "address", "latitude", "longitude", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id"[0m [["apidae_id", 504], ["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-10-30 14:26:33.667765"], ["updated_at", "2017-10-30 14:26:33.667765"]]
|
426
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
427
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
428
|
-
[1m[35mApidae::Object Load (0.7ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1
|
429
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
430
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
431
|
-
[1m[35m (0.2ms)[0m BEGIN
|
432
|
-
---------------------------------------------------
|
433
|
-
Apidae::FileImportTest: test_existing_object_update
|
434
|
-
---------------------------------------------------
|
435
|
-
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
436
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
437
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-10-30 14:27:02.792909"], ["updated_at", "2017-10-30 14:27:02.792909"]]
|
438
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
439
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
440
|
-
[1m[35mApidae::Town Load (0.2ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
441
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
442
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "apidae_objects" SET "apidae_type" = $1, "apidae_subtype" = $2, "title" = $3, "short_desc" = $4, "long_desc" = $5, "contact" = $6, "address" = $7, "latitude" = $8, "longitude" = $9, "type_data" = $10, "pictures_data" = $11, "updated_at" = $12 WHERE "apidae_objects"."id" = $13 [["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["updated_at", "2017-10-30 14:27:02.821024"], ["id", 6]]
|
443
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
444
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
445
|
-
[1m[36mApidae::Object Load (0.3ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1[0m
|
446
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
447
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
448
|
-
[1m[35m (0.2ms)[0m BEGIN
|
449
|
-
-----------------------------------------------------
|
450
|
-
Apidae::FileImportTest: test_existing_object_deletion
|
451
|
-
-----------------------------------------------------
|
452
|
-
[1m[36mSQL (0.6ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
453
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
454
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-10-30 14:37:00.770451"], ["updated_at", "2017-10-30 14:37:00.770451"]]
|
455
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
456
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
457
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
458
|
-
[1m[36mSQL (2.0ms)[0m [1mDELETE FROM "apidae_objects_selections" WHERE "apidae_objects_selections"."object_id" = $1[0m [["object_id", 7]]
|
459
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects" WHERE "apidae_objects"."id" = $1 [["id", 7]]
|
460
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
461
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
462
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
463
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
464
|
-
[1m[35m (0.2ms)[0m BEGIN
|
465
|
-
------------------------------------------------------
|
466
|
-
Apidae::FileImportTest: test_existing_selection_update
|
467
|
-
------------------------------------------------------
|
468
|
-
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
469
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
470
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
471
|
-
---------------------------------------------------
|
472
|
-
Apidae::FileImportTest: test_existing_object_update
|
473
|
-
---------------------------------------------------
|
474
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_objects"
|
475
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
476
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-10-30 14:37:07.434732"], ["updated_at", "2017-10-30 14:37:07.434732"]]
|
477
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
478
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
479
|
-
[1m[36mApidae::Town Load (0.2ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
480
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
481
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "apidae_objects" SET "apidae_type" = $1, "apidae_subtype" = $2, "title" = $3, "short_desc" = $4, "long_desc" = $5, "contact" = $6, "address" = $7, "latitude" = $8, "longitude" = $9, "type_data" = $10, "pictures_data" = $11, "updated_at" = $12 WHERE "apidae_objects"."id" = $13[0m [["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["updated_at", "2017-10-30 14:37:07.465154"], ["id", 8]]
|
482
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
483
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
484
|
-
[1m[35mApidae::Object Load (0.4ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1
|
485
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
486
|
-
[1m[35m (0.1ms)[0m BEGIN
|
487
|
-
-----------------------------------------------------
|
488
|
-
Apidae::FileImportTest: test_existing_object_deletion
|
489
|
-
-----------------------------------------------------
|
490
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
491
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
492
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-10-30 14:37:07.470489"], ["updated_at", "2017-10-30 14:37:07.470489"]]
|
493
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
494
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
495
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
496
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_objects_selections" WHERE "apidae_objects_selections"."object_id" = $1[0m [["object_id", 9]]
|
497
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_objects" WHERE "apidae_objects"."id" = $1 [["id", 9]]
|
498
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
499
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
500
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
501
|
-
[1m[35m (0.1ms)[0m BEGIN
|
502
|
-
------------------------------------------------------
|
503
|
-
Apidae::FileImportTest: test_import_process_end_to_end
|
504
|
-
------------------------------------------------------
|
505
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
506
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
507
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
508
|
-
--------------------------------------------------------
|
509
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
510
|
-
--------------------------------------------------------
|
511
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_objects"
|
512
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
513
|
-
[1m[35m (0.1ms)[0m BEGIN
|
514
|
-
-------------------------------------------------
|
515
|
-
Apidae::FileImportTest: test_new_object_insertion
|
516
|
-
-------------------------------------------------
|
517
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
518
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
519
|
-
[1m[36mApidae::Town Load (0.1ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
520
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
521
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "contact", "address", "latitude", "longitude", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id"[0m [["apidae_id", 504], ["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-10-30 14:37:07.495793"], ["updated_at", "2017-10-30 14:37:07.495793"]]
|
522
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
523
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
524
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1
|
525
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
526
|
-
[1m[35m (0.1ms)[0m BEGIN
|
527
|
-
----------------------------------------------------
|
528
|
-
Apidae::FileImportTest: test_new_selection_insertion
|
529
|
-
----------------------------------------------------
|
530
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
531
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
532
|
-
[1m[36mActiveRecord::SchemaMigration Load (26.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
533
|
-
[1m[35m (0.4ms)[0m BEGIN
|
534
|
-
---------------------------------------------------
|
535
|
-
Apidae::FileImportTest: test_existing_object_update
|
536
|
-
---------------------------------------------------
|
537
|
-
[1m[36mSQL (25.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
538
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
539
|
-
[1m[36mSQL (18.4ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 07:31:18.929010"], ["updated_at", "2017-11-01 07:31:18.929010"]]
|
540
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
541
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
542
|
-
[1m[35mApidae::Town Load (13.2ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
543
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
544
|
-
[1m[35mSQL (6.5ms)[0m UPDATE "apidae_objects" SET "apidae_type" = $1, "apidae_subtype" = $2, "title" = $3, "short_desc" = $4, "long_desc" = $5, "contact" = $6, "address" = $7, "latitude" = $8, "longitude" = $9, "type_data" = $10, "pictures_data" = $11, "updated_at" = $12 WHERE "apidae_objects"."id" = $13 [["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["updated_at", "2017-11-01 07:31:19.013040"], ["id", 11]]
|
545
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
546
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
547
|
-
[1m[36mApidae::Object Load (6.5ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1[0m
|
548
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
549
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
550
|
-
------------------------------------------------------
|
551
|
-
Apidae::FileImportTest: test_import_process_end_to_end
|
552
|
-
------------------------------------------------------
|
553
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects"
|
554
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
555
|
-
[1m[35m (0.1ms)[0m BEGIN
|
556
|
-
-------------------------------------------------
|
557
|
-
Apidae::FileImportTest: test_new_object_insertion
|
558
|
-
-------------------------------------------------
|
559
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
560
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
561
|
-
[1m[36mApidae::Town Load (0.2ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
562
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
563
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "contact", "address", "latitude", "longitude", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id"[0m [["apidae_id", 504], ["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-11-01 07:31:19.038096"], ["updated_at", "2017-11-01 07:31:19.038096"]]
|
564
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
565
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
566
|
-
[1m[35mApidae::Object Load (0.3ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1
|
567
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
568
|
-
[1m[35m (0.1ms)[0m BEGIN
|
569
|
-
------------------------------------------------------
|
570
|
-
Apidae::FileImportTest: test_existing_selection_update
|
571
|
-
------------------------------------------------------
|
572
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
573
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
574
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
575
|
-
----------------------------------------------------
|
576
|
-
Apidae::FileImportTest: test_new_selection_insertion
|
577
|
-
----------------------------------------------------
|
578
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects"
|
579
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
580
|
-
[1m[35m (0.1ms)[0m BEGIN
|
581
|
-
-----------------------------------------------------
|
582
|
-
Apidae::FileImportTest: test_existing_object_deletion
|
583
|
-
-----------------------------------------------------
|
584
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
585
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
586
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 07:31:19.046550"], ["updated_at", "2017-11-01 07:31:19.046550"]]
|
587
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
588
|
-
[1m[36mApidae::Object Load (0.3ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
589
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
590
|
-
[1m[36mSQL (6.2ms)[0m [1mDELETE FROM "apidae_objects_selections" WHERE "apidae_objects_selections"."object_id" = $1[0m [["object_id", 13]]
|
591
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects" WHERE "apidae_objects"."id" = $1 [["id", 13]]
|
592
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
593
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
594
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
595
|
-
[1m[35m (0.1ms)[0m BEGIN
|
596
|
-
--------------------------------------------------------
|
597
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
598
|
-
--------------------------------------------------------
|
599
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
600
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
601
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
602
|
-
[1m[35m (0.2ms)[0m BEGIN
|
603
|
-
----------------------------------------------------
|
604
|
-
Apidae::FileImportTest: test_new_selection_insertion
|
605
|
-
----------------------------------------------------
|
606
|
-
[1m[36mSQL (0.9ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
607
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
608
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 07:57:53.409929"], ["updated_at", "2017-11-01 07:57:53.409929"]]
|
609
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
610
|
-
[1m[36mApidae::Selection Load (2.3ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49063]]
|
611
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
612
|
-
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 1"], ["reference", "selection-1"], ["created_at", "2017-11-01 07:57:53.530840"], ["updated_at", "2017-11-01 07:57:53.530840"]]
|
613
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
614
|
-
[1m[36mApidae::Object Load (0.3ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 1]]
|
615
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
616
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
617
|
-
[1m[35mSQL (2.6ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 1], ["object_id", 14]]
|
618
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
619
|
-
[1m[35mApidae::Selection Load (0.4ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
620
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 1]]
|
621
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
622
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m
|
623
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
624
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
625
|
-
[1m[35m (0.2ms)[0m BEGIN
|
626
|
-
----------------------------------------------------
|
627
|
-
Apidae::FileImportTest: test_new_selection_insertion
|
628
|
-
----------------------------------------------------
|
629
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
630
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
631
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 07:58:13.427309"], ["updated_at", "2017-11-01 07:58:13.427309"]]
|
632
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
633
|
-
[1m[36mApidae::Selection Load (0.3ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49063]]
|
634
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
635
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 1"], ["reference", "selection-1"], ["created_at", "2017-11-01 07:58:13.542200"], ["updated_at", "2017-11-01 07:58:13.542200"]]
|
636
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
637
|
-
[1m[36mApidae::Object Load (0.4ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 2]]
|
638
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
639
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
640
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 2], ["object_id", 15]]
|
641
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
642
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
643
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 2]]
|
644
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
645
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m
|
646
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
647
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
648
|
-
[1m[35m (0.1ms)[0m BEGIN
|
649
|
-
------------------------------------------------------
|
650
|
-
Apidae::FileImportTest: test_existing_selection_update
|
651
|
-
------------------------------------------------------
|
652
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
653
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
654
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 503], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:11:27.719539"], ["updated_at", "2017-11-01 08:11:27.719539"]]
|
655
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
656
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
657
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 08:11:27.728626"], ["updated_at", "2017-11-01 08:11:27.728626"]]
|
658
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
659
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
660
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 3], ["object_id", 16]]
|
661
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
662
|
-
[1m[36mApidae::Selection Load (0.3ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49063]]
|
663
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
664
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
665
|
-
[1m[35mApidae::Object Load (0.3ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 3]]
|
666
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
667
|
-
[1m[35mApidae::Selection Load (0.1ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
668
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 3]]
|
669
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
670
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
671
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
672
|
-
[1m[35m (0.1ms)[0m BEGIN
|
673
|
-
------------------------------------------------------
|
674
|
-
Apidae::FileImportTest: test_existing_selection_update
|
675
|
-
------------------------------------------------------
|
676
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
677
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
678
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 503], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:15:04.250840"], ["updated_at", "2017-11-01 08:15:04.250840"]]
|
679
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
680
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
681
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 08:15:04.264127"], ["updated_at", "2017-11-01 08:15:04.264127"]]
|
682
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
683
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
684
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 4], ["object_id", 17]]
|
685
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
686
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
687
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
688
|
-
[1m[36mApidae::Selection Load (0.3ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49063]]
|
689
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
690
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
691
|
-
[1m[35mApidae::Object Load (0.3ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 4]]
|
692
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
693
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
694
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 4]]
|
695
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
696
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
697
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
698
|
-
[1m[35m (0.1ms)[0m BEGIN
|
699
|
-
------------------------------------------------------
|
700
|
-
Apidae::FileImportTest: test_existing_selection_update
|
701
|
-
------------------------------------------------------
|
702
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
703
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
704
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 503], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:17:56.446495"], ["updated_at", "2017-11-01 08:17:56.446495"]]
|
705
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
706
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
707
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:17:56.448814"], ["updated_at", "2017-11-01 08:17:56.448814"]]
|
708
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
709
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
710
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 08:17:56.456732"], ["updated_at", "2017-11-01 08:17:56.456732"]]
|
711
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
712
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
713
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 5], ["object_id", 18]]
|
714
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
715
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
716
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
717
|
-
[1m[35mApidae::Selection Load (0.3ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1 [["apidae_id", 49063]]
|
718
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
719
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
720
|
-
[1m[36mApidae::Object Load (0.5ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 5]]
|
721
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
722
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
723
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 5], ["object_id", 19]]
|
724
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
725
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
726
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 5]]
|
727
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
728
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
729
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
730
|
-
[1m[35m (0.2ms)[0m BEGIN
|
731
|
-
------------------------------------------------------
|
732
|
-
Apidae::FileImportTest: test_existing_selection_update
|
733
|
-
------------------------------------------------------
|
734
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
735
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
736
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 503], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:18:20.072765"], ["updated_at", "2017-11-01 08:18:20.072765"]]
|
737
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
738
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
739
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:18:20.074900"], ["updated_at", "2017-11-01 08:18:20.074900"]]
|
740
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
741
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
742
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 08:18:20.083100"], ["updated_at", "2017-11-01 08:18:20.083100"]]
|
743
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
744
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
745
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 6], ["object_id", 20]]
|
746
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
747
|
-
[1m[35mApidae::Selection Load (0.3ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1 [["apidae_id", 49063]]
|
748
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
749
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
750
|
-
[1m[36mApidae::Object Load (0.3ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 6]]
|
751
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
752
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
753
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 6], ["object_id", 21]]
|
754
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
755
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
756
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 6]]
|
757
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
758
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
759
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
760
|
-
[1m[35m (0.1ms)[0m BEGIN
|
761
|
-
------------------------------------------------------
|
762
|
-
Apidae::FileImportTest: test_existing_selection_update
|
763
|
-
------------------------------------------------------
|
764
|
-
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
765
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
766
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 503], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:18:30.539811"], ["updated_at", "2017-11-01 08:18:30.539811"]]
|
767
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
768
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
769
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:18:30.542014"], ["updated_at", "2017-11-01 08:18:30.542014"]]
|
770
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
771
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
772
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 08:18:30.549636"], ["updated_at", "2017-11-01 08:18:30.549636"]]
|
773
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
774
|
-
[1m[36mApidae::Selection Load (0.3ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49063]]
|
775
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
776
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
777
|
-
[1m[35mApidae::Object Load (0.4ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 7]]
|
778
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 503]]
|
779
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
780
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 7], ["object_id", 22]]
|
781
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
782
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
783
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
784
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 7], ["object_id", 23]]
|
785
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
786
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
787
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 7]]
|
788
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
789
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
790
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
791
|
-
[1m[35m (0.1ms)[0m BEGIN
|
792
|
-
------------------------------------------------------
|
793
|
-
Apidae::FileImportTest: test_existing_selection_update
|
794
|
-
------------------------------------------------------
|
795
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
796
|
-
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
797
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 503], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:26:28.947453"], ["updated_at", "2017-11-01 08:26:28.947453"]]
|
798
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
799
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
800
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:26:28.951016"], ["updated_at", "2017-11-01 08:26:28.951016"]]
|
801
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
802
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
803
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 08:26:28.960315"], ["updated_at", "2017-11-01 08:26:28.960315"]]
|
804
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
805
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
806
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 8], ["object_id", 24]]
|
807
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
808
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 8]]
|
809
|
-
[1m[36mApidae::Selection Load (0.5ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49063]]
|
810
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
811
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
812
|
-
[1m[35mApidae::Object Load (0.3ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 8]]
|
813
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
814
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
815
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 8], ["object_id", 25]]
|
816
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
817
|
-
[1m[36mApidae::Selection Load (0.1ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
818
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 8]]
|
819
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
820
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
821
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
822
|
-
[1m[35m (0.2ms)[0m BEGIN
|
823
|
-
------------------------------------------------------
|
824
|
-
Apidae::FileImportTest: test_existing_selection_update
|
825
|
-
------------------------------------------------------
|
826
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
827
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
828
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 503], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:26:35.417547"], ["updated_at", "2017-11-01 08:26:35.417547"]]
|
829
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
830
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
831
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:26:35.419983"], ["updated_at", "2017-11-01 08:26:35.419983"]]
|
832
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
833
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
834
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 08:26:35.428219"], ["updated_at", "2017-11-01 08:26:35.428219"]]
|
835
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
836
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 9]]
|
837
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
838
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
839
|
-
[1m[35m (0.2ms)[0m BEGIN
|
840
|
-
--------------------------------------------------------
|
841
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
842
|
-
--------------------------------------------------------
|
843
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
844
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
845
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
846
|
-
-------------------------------------------------
|
847
|
-
Apidae::FileImportTest: test_new_object_insertion
|
848
|
-
-------------------------------------------------
|
849
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_objects"
|
850
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
851
|
-
[1m[35mApidae::Town Load (0.2ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
852
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
853
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "contact", "address", "latitude", "longitude", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id" [["apidae_id", 504], ["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-11-01 08:26:44.098699"], ["updated_at", "2017-11-01 08:26:44.098699"]]
|
854
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
855
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
856
|
-
[1m[36mApidae::Object Load (0.5ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1[0m
|
857
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
858
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
859
|
-
----------------------------------------------------
|
860
|
-
Apidae::FileImportTest: test_new_selection_insertion
|
861
|
-
----------------------------------------------------
|
862
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects"
|
863
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
864
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:26:44.106342"], ["updated_at", "2017-11-01 08:26:44.106342"]]
|
865
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
866
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1 [["apidae_id", 49063]]
|
867
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
868
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 1"], ["reference", "selection-1"], ["created_at", "2017-11-01 08:26:44.205891"], ["updated_at", "2017-11-01 08:26:44.205891"]]
|
869
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
870
|
-
[1m[35mApidae::Object Load (0.5ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 10]]
|
871
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
872
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
873
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 10], ["object_id", 29]]
|
874
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
875
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
876
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 10]]
|
877
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
878
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" ORDER BY "apidae_selections"."id" ASC LIMIT 1
|
879
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
880
|
-
[1m[35m (0.1ms)[0m BEGIN
|
881
|
-
------------------------------------------------------
|
882
|
-
Apidae::FileImportTest: test_existing_selection_update
|
883
|
-
------------------------------------------------------
|
884
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
885
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
886
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 503], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:26:44.243612"], ["updated_at", "2017-11-01 08:26:44.243612"]]
|
887
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
888
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
889
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:26:44.245738"], ["updated_at", "2017-11-01 08:26:44.245738"]]
|
890
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
891
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
892
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 08:26:44.248303"], ["updated_at", "2017-11-01 08:26:44.248303"]]
|
893
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
894
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
895
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 11], ["object_id", 30]]
|
896
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
897
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 11]]
|
898
|
-
[1m[36mApidae::Selection Load (0.1ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49063]]
|
899
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
900
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
901
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 11]]
|
902
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
903
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
904
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 11], ["object_id", 31]]
|
905
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
906
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
907
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 11]]
|
908
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
909
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
910
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
911
|
-
------------------------------------------------------
|
912
|
-
Apidae::FileImportTest: test_import_process_end_to_end
|
913
|
-
------------------------------------------------------
|
914
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "apidae_objects"
|
915
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
916
|
-
[1m[35m (0.1ms)[0m BEGIN
|
917
|
-
---------------------------------------------------
|
918
|
-
Apidae::FileImportTest: test_existing_object_update
|
919
|
-
---------------------------------------------------
|
920
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
921
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
922
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:26:44.266337"], ["updated_at", "2017-11-01 08:26:44.266337"]]
|
923
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
924
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
925
|
-
[1m[35mApidae::Town Load (0.3ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
926
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
927
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "apidae_objects" SET "apidae_type" = $1, "apidae_subtype" = $2, "title" = $3, "short_desc" = $4, "long_desc" = $5, "contact" = $6, "address" = $7, "latitude" = $8, "longitude" = $9, "type_data" = $10, "pictures_data" = $11, "updated_at" = $12 WHERE "apidae_objects"."id" = $13 [["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["updated_at", "2017-11-01 08:26:44.272178"], ["id", 32]]
|
928
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
929
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
930
|
-
[1m[36mApidae::Object Load (0.3ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1[0m
|
931
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
932
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
933
|
-
-----------------------------------------------------
|
934
|
-
Apidae::FileImportTest: test_existing_object_deletion
|
935
|
-
-----------------------------------------------------
|
936
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_objects"
|
937
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
938
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:26:44.281813"], ["updated_at", "2017-11-01 08:26:44.281813"]]
|
939
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
940
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
941
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
942
|
-
[1m[35mSQL (0.5ms)[0m DELETE FROM "apidae_objects_selections" WHERE "apidae_objects_selections"."object_id" = $1 [["object_id", 33]]
|
943
|
-
[1m[36mSQL (1.0ms)[0m [1mDELETE FROM "apidae_objects" WHERE "apidae_objects"."id" = $1[0m [["id", 33]]
|
944
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
945
|
-
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
946
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
947
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
948
|
-
[1m[35m (0.1ms)[0m BEGIN
|
949
|
-
------------------------------------------------------
|
950
|
-
Apidae::FileImportTest: test_existing_selection_update
|
951
|
-
------------------------------------------------------
|
952
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
953
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
954
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 503], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:32:34.911459"], ["updated_at", "2017-11-01 08:32:34.911459"]]
|
955
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
956
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
957
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:32:34.914021"], ["updated_at", "2017-11-01 08:32:34.914021"]]
|
958
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
959
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
960
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 08:32:34.922418"], ["updated_at", "2017-11-01 08:32:34.922418"]]
|
961
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
962
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
963
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 12], ["object_id", 34]]
|
964
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
965
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 12]]
|
966
|
-
[1m[36mApidae::Selection Load (0.3ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49063]]
|
967
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
968
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
969
|
-
[1m[35mApidae::Object Load (0.3ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 12]]
|
970
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
971
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
972
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 12], ["object_id", 35]]
|
973
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
974
|
-
[1m[36mApidae::Selection Load (0.1ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
975
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 12]]
|
976
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
977
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
978
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
979
|
-
--------------------------------------------------------
|
980
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
981
|
-
--------------------------------------------------------
|
982
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_objects"
|
983
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
984
|
-
[1m[35m (0.1ms)[0m BEGIN
|
985
|
-
------------------------------------------------------
|
986
|
-
Apidae::FileImportTest: test_import_process_end_to_end
|
987
|
-
------------------------------------------------------
|
988
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
989
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
990
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
991
|
-
-------------------------------------------------
|
992
|
-
Apidae::FileImportTest: test_new_object_insertion
|
993
|
-
-------------------------------------------------
|
994
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects"
|
995
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
996
|
-
[1m[35mApidae::Town Load (0.3ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
997
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
998
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "contact", "address", "latitude", "longitude", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id" [["apidae_id", 504], ["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-11-01 08:32:34.993067"], ["updated_at", "2017-11-01 08:32:34.993067"]]
|
999
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1000
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
1001
|
-
[1m[36mApidae::Object Load (0.4ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1[0m
|
1002
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1003
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1004
|
-
-----------------------------------------------------
|
1005
|
-
Apidae::FileImportTest: test_existing_object_deletion
|
1006
|
-
-----------------------------------------------------
|
1007
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects"
|
1008
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1009
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:32:35.000091"], ["updated_at", "2017-11-01 08:32:35.000091"]]
|
1010
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1011
|
-
[1m[35mApidae::Object Load (0.3ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
1012
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1013
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects_selections" WHERE "apidae_objects_selections"."object_id" = $1 [["object_id", 37]]
|
1014
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "apidae_objects" WHERE "apidae_objects"."id" = $1[0m [["id", 37]]
|
1015
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1016
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
1017
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1018
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1019
|
-
---------------------------------------------------
|
1020
|
-
Apidae::FileImportTest: test_existing_object_update
|
1021
|
-
---------------------------------------------------
|
1022
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects"
|
1023
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1024
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:32:35.011465"], ["updated_at", "2017-11-01 08:32:35.011465"]]
|
1025
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1026
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
1027
|
-
[1m[36mApidae::Town Load (0.2ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
1028
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1029
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "apidae_objects" SET "apidae_type" = $1, "apidae_subtype" = $2, "title" = $3, "short_desc" = $4, "long_desc" = $5, "contact" = $6, "address" = $7, "latitude" = $8, "longitude" = $9, "type_data" = $10, "pictures_data" = $11, "updated_at" = $12 WHERE "apidae_objects"."id" = $13[0m [["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["updated_at", "2017-11-01 08:32:35.015500"], ["id", 38]]
|
1030
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1031
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
1032
|
-
[1m[35mApidae::Object Load (0.4ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1
|
1033
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1034
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1035
|
-
----------------------------------------------------
|
1036
|
-
Apidae::FileImportTest: test_new_selection_insertion
|
1037
|
-
----------------------------------------------------
|
1038
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1039
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1040
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 08:32:35.022756"], ["updated_at", "2017-11-01 08:32:35.022756"]]
|
1041
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1042
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49063]]
|
1043
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1044
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 1"], ["reference", "selection-1"], ["created_at", "2017-11-01 08:32:35.108544"], ["updated_at", "2017-11-01 08:32:35.108544"]]
|
1045
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1046
|
-
[1m[36mApidae::Object Load (0.3ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 13]]
|
1047
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
1048
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1049
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 13], ["object_id", 39]]
|
1050
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1051
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
1052
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 13]]
|
1053
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1054
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m
|
1055
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1056
|
-
[1m[36mActiveRecord::SchemaMigration Load (18.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1057
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1058
|
-
--------------------------------------------------------
|
1059
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
1060
|
-
--------------------------------------------------------
|
1061
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1062
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1063
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 3"], ["reference", "selection-3"], ["created_at", "2017-11-01 13:04:31.857137"], ["updated_at", "2017-11-01 13:04:31.857137"]]
|
1064
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1065
|
-
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
1066
|
-
[1m[35mApidae::Selection Load (0.3ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1 [["apidae_id", 49064]]
|
1067
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1068
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49064], ["label", "Sélection 1"], ["reference", "selection-1"], ["created_at", "2017-11-01 13:04:31.995204"], ["updated_at", "2017-11-01 13:04:31.995204"]]
|
1069
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1070
|
-
[1m[35mApidae::Object Load (0.6ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 15]]
|
1071
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
1072
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
1073
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 14]]
|
1074
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 15]]
|
1075
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
1076
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1077
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1078
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1079
|
-
--------------------------------------------------------
|
1080
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
1081
|
-
--------------------------------------------------------
|
1082
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1083
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1084
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1085
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1086
|
-
--------------------------------------------------------
|
1087
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
1088
|
-
--------------------------------------------------------
|
1089
|
-
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1090
|
-
[1m[35mSQL (0.6ms)[0m DELETE FROM "apidae_selections"
|
1091
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1092
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 3"], ["reference", "selection-3"], ["created_at", "2017-11-01 13:05:31.080207"], ["updated_at", "2017-11-01 13:05:31.080207"]]
|
1093
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1094
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1095
|
-
[1m[36mApidae::Selection Load (0.7ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1096
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 16]]
|
1097
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
1098
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1099
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1100
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1101
|
-
--------------------------------------------------------
|
1102
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
1103
|
-
--------------------------------------------------------
|
1104
|
-
[1m[36mSQL (0.7ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1105
|
-
[1m[35mSQL (0.4ms)[0m DELETE FROM "apidae_selections"
|
1106
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1107
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 3"], ["reference", "selection-3"], ["created_at", "2017-11-01 13:11:54.250253"], ["updated_at", "2017-11-01 13:11:54.250253"]]
|
1108
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1109
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1110
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1111
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections" WHERE "apidae_selections"."id" = 49063
|
1112
|
-
[1m[36mApidae::Selection Load (0.1ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1113
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 17]]
|
1114
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
1115
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1116
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1117
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1118
|
-
--------------------------------------------------------
|
1119
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
1120
|
-
--------------------------------------------------------
|
1121
|
-
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1122
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "apidae_selections"
|
1123
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1124
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 3"], ["reference", "selection-3"], ["created_at", "2017-11-01 13:12:34.375667"], ["updated_at", "2017-11-01 13:12:34.375667"]]
|
1125
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1126
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1127
|
-
[1m[36mApidae::Selection Load (0.3ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1128
|
-
[1m[35mSQL (0.4ms)[0m DELETE FROM "apidae_selections" WHERE "apidae_selections"."id" = 49063
|
1129
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1130
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 18]]
|
1131
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
1132
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1133
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1134
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1135
|
-
--------------------------------------------------------
|
1136
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
1137
|
-
--------------------------------------------------------
|
1138
|
-
[1m[36mSQL (0.7ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1139
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "apidae_selections"
|
1140
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1141
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 3"], ["reference", "selection-3"], ["created_at", "2017-11-01 13:15:07.708174"], ["updated_at", "2017-11-01 13:15:07.708174"]]
|
1142
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1143
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1144
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1145
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = 49063
|
1146
|
-
[1m[36mApidae::Selection Load (0.1ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1147
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1148
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1149
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1150
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1151
|
-
------------------------------------------------
|
1152
|
-
Apidae::FileImportTest: test_full_import_process
|
1153
|
-
------------------------------------------------
|
1154
|
-
[1m[36mSQL (0.7ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1155
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "apidae_selections"
|
1156
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1157
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1158
|
-
---------------------------------------------------
|
1159
|
-
Apidae::FileImportTest: test_existing_object_update
|
1160
|
-
---------------------------------------------------
|
1161
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1162
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections"
|
1163
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1164
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 13:15:13.773829"], ["updated_at", "2017-11-01 13:15:13.773829"]]
|
1165
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1166
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
1167
|
-
[1m[36mApidae::Town Load (0.2ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
1168
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1169
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "apidae_objects" SET "apidae_type" = $1, "apidae_subtype" = $2, "title" = $3, "short_desc" = $4, "long_desc" = $5, "contact" = $6, "address" = $7, "latitude" = $8, "longitude" = $9, "type_data" = $10, "pictures_data" = $11, "updated_at" = $12 WHERE "apidae_objects"."id" = $13[0m [["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["updated_at", "2017-11-01 13:15:13.814685"], ["id", 40]]
|
1170
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1171
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
1172
|
-
[1m[35mApidae::Object Load (0.4ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1
|
1173
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1174
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1175
|
-
----------------------------------------------------
|
1176
|
-
Apidae::FileImportTest: test_new_selection_insertion
|
1177
|
-
----------------------------------------------------
|
1178
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1179
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_selections"
|
1180
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1181
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 13:15:13.821869"], ["updated_at", "2017-11-01 13:15:13.821869"]]
|
1182
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1183
|
-
[1m[35mApidae::Selection Load (0.1ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
1184
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_selections" WHERE 1=0[0m
|
1185
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1 [["apidae_id", 49063]]
|
1186
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1187
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 1"], ["reference", "selection-1"], ["created_at", "2017-11-01 13:15:13.927266"], ["updated_at", "2017-11-01 13:15:13.927266"]]
|
1188
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1189
|
-
[1m[35mApidae::Object Load (0.4ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 20]]
|
1190
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
1191
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1192
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 20], ["object_id", 41]]
|
1193
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1194
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1195
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 20]]
|
1196
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
1197
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" ORDER BY "apidae_selections"."id" ASC LIMIT 1
|
1198
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1199
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1200
|
-
--------------------------------------------------------
|
1201
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
1202
|
-
--------------------------------------------------------
|
1203
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1204
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections"
|
1205
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1206
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 3"], ["reference", "selection-3"], ["created_at", "2017-11-01 13:15:13.962354"], ["updated_at", "2017-11-01 13:15:13.962354"]]
|
1207
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1208
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1209
|
-
[1m[36mApidae::Selection Load (0.1ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1210
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = 49063
|
1211
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1212
|
-
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1213
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1214
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1215
|
-
------------------------------------------------------
|
1216
|
-
Apidae::FileImportTest: test_existing_selection_update
|
1217
|
-
------------------------------------------------------
|
1218
|
-
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1219
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections"
|
1220
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1221
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 503], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 13:15:13.971683"], ["updated_at", "2017-11-01 13:15:13.971683"]]
|
1222
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1223
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1224
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 13:15:13.975254"], ["updated_at", "2017-11-01 13:15:13.975254"]]
|
1225
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1226
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1227
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 13:15:13.979033"], ["updated_at", "2017-11-01 13:15:13.979033"]]
|
1228
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1229
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1230
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 22], ["object_id", 42]]
|
1231
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1232
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 22]]
|
1233
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
1234
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_selections" WHERE 1=0[0m
|
1235
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1 [["apidae_id", 49063]]
|
1236
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1237
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1238
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 22]]
|
1239
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
1240
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1241
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 22], ["object_id", 43]]
|
1242
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1243
|
-
[1m[35mApidae::Selection Load (0.1ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
1244
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 22]]
|
1245
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1246
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1247
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1248
|
-
-----------------------------------------------------
|
1249
|
-
Apidae::FileImportTest: test_existing_object_deletion
|
1250
|
-
-----------------------------------------------------
|
1251
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1252
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_selections"
|
1253
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1254
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 13:15:13.999897"], ["updated_at", "2017-11-01 13:15:13.999897"]]
|
1255
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1256
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
1257
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1258
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects_selections" WHERE "apidae_objects_selections"."object_id" = $1 [["object_id", 44]]
|
1259
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_objects" WHERE "apidae_objects"."id" = $1[0m [["id", 44]]
|
1260
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1261
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
1262
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1263
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1264
|
-
-------------------------------------------------
|
1265
|
-
Apidae::FileImportTest: test_new_object_insertion
|
1266
|
-
-------------------------------------------------
|
1267
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_objects"
|
1268
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_selections"[0m
|
1269
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
1270
|
-
[1m[36mApidae::Town Load (0.1ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
1271
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1272
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "contact", "address", "latitude", "longitude", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id"[0m [["apidae_id", 504], ["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["contact", "{\"telephone\":\"04 79 61 47 02\",\"email\":\"petitjeanjacques@yahoo.fr\",\"website\":\"http://accordeonistesaixois@yahoo.fr\"}"], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-11-01 13:15:14.012371"], ["updated_at", "2017-11-01 13:15:14.012371"]]
|
1273
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1274
|
-
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
1275
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1
|
1276
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1277
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1278
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1279
|
-
------------------------------------------------
|
1280
|
-
Apidae::FileImportTest: test_full_import_process
|
1281
|
-
------------------------------------------------
|
1282
|
-
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1283
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections"
|
1284
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1285
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 123], ["title", "Objet à supprimer"], ["created_at", "2017-11-01 14:00:04.747204"], ["updated_at", "2017-11-01 14:00:04.747204"]]
|
1286
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1287
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1288
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 4826186], ["title", "Objet à mettre à jour"], ["created_at", "2017-11-01 14:00:04.750304"], ["updated_at", "2017-11-01 14:00:04.750304"]]
|
1289
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1290
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1291
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1292
|
-
[1m[35m (0.4ms)[0m BEGIN
|
1293
|
-
------------------------------------------------
|
1294
|
-
Apidae::FileImportTest: test_full_import_process
|
1295
|
-
------------------------------------------------
|
1296
|
-
[1m[36mSQL (1.3ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1297
|
-
[1m[35mSQL (0.4ms)[0m DELETE FROM "apidae_selections"
|
1298
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1299
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 123], ["title", "Objet à supprimer"], ["created_at", "2017-11-01 14:03:39.676974"], ["updated_at", "2017-11-01 14:03:39.676974"]]
|
1300
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1301
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1302
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 4826186], ["title", "Objet à mettre à jour"], ["created_at", "2017-11-01 14:03:39.686444"], ["updated_at", "2017-11-01 14:03:39.686444"]]
|
1303
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1304
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1305
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1306
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1307
|
-
------------------------------------------------
|
1308
|
-
Apidae::FileImportTest: test_full_import_process
|
1309
|
-
------------------------------------------------
|
1310
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1311
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "apidae_selections"
|
1312
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1313
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 123], ["title", "Objet à supprimer"], ["created_at", "2017-11-01 14:05:57.832773"], ["updated_at", "2017-11-01 14:05:57.832773"]]
|
1314
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1315
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1316
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 4826186], ["title", "Objet à mettre à jour"], ["created_at", "2017-11-01 14:05:57.836083"], ["updated_at", "2017-11-01 14:05:57.836083"]]
|
1317
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1318
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1319
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1320
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1321
|
-
------------------------------------------------
|
1322
|
-
Apidae::FileImportTest: test_full_import_process
|
1323
|
-
------------------------------------------------
|
1324
|
-
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1325
|
-
[1m[35mSQL (0.6ms)[0m DELETE FROM "apidae_selections"
|
1326
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1327
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 123], ["title", "Objet à supprimer"], ["created_at", "2017-11-01 14:07:56.237483"], ["updated_at", "2017-11-01 14:07:56.237483"]]
|
1328
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1329
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1330
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 4826186], ["title", "Objet à mettre à jour"], ["created_at", "2017-11-01 14:07:56.245432"], ["updated_at", "2017-11-01 14:07:56.245432"]]
|
1331
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1332
|
-
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
1333
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1334
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1335
|
-
------------------------------------------------
|
1336
|
-
Apidae::FileImportTest: test_full_import_process
|
1337
|
-
------------------------------------------------
|
1338
|
-
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1339
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections"
|
1340
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1341
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 123], ["title", "Objet à supprimer"], ["created_at", "2017-11-01 14:08:57.527577"], ["updated_at", "2017-11-01 14:08:57.527577"]]
|
1342
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1343
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1344
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 4826186], ["title", "Objet à mettre à jour"], ["created_at", "2017-11-01 14:08:57.530487"], ["updated_at", "2017-11-01 14:08:57.530487"]]
|
1345
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1346
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4826137]]
|
1347
|
-
[1m[35mApidae::Town Load (0.2ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
1348
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1349
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "pictures_data", "entity_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id" [["apidae_id", 4826137], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "3C-Centre de Coordination en Cancerologie"], ["short_desc", "Réunion de médecins, infirmières, personnel médical. Les centres de coordination en Cancérologie sont des cellules qualités opérationnelles mises en place pour assurer la pluridisciplinarité de la prise en charge du patient. Congres privé."], ["long_desc", ""], ["address", "{\"address_fields\":[\"Rue Jean Monard\"]}"], ["latitude", 45.685888], ["longitude", 5.915215], ["openings", "{\"description\":\"Mardi 7 novembre 2017 de 7h à 19h.\",\"opening_periods\":[{\"identifiant\":13924098,\"dateDebut\":\"2017-11-07\",\"dateFin\":\"2017-11-07\",\"horaireOuverture\":\"07:00:00\",\"horaireFermeture\":\"19:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 544515\n"], ["created_at", "2017-11-01 14:08:57.570048"], ["updated_at", "2017-11-01 14:08:57.570048"]]
|
1350
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1351
|
-
[1m[35mApidae::Object Load (0.3ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4826186]]
|
1352
|
-
[1m[36mApidae::Town Load (0.1ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
1353
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1354
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "apidae_objects" SET "apidae_type" = $1, "apidae_subtype" = $2, "title" = $3, "short_desc" = $4, "long_desc" = $5, "contact" = $6, "address" = $7, "latitude" = $8, "longitude" = $9, "openings" = $10, "type_data" = $11, "pictures_data" = $12, "entity_data" = $13, "updated_at" = $14 WHERE "apidae_objects"."id" = $15[0m [["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "A ciel ouvert -Vivre relié à l'essentiel"], ["short_desc", "Objet du forum : L’étude et la transmission des cultures et sagesses du monde pour un développement de la sagesse dans notre société moderne occidentale. Ouvert sur inscription"], ["long_desc", ""], ["contact", "{\"website\":\"https://www.acielouvert.org\"}"], ["address", "{\"address_fields\":[\"Rue Jean Monard\"]}"], ["latitude", 45.685775], ["longitude", 5.915461], ["openings", "{\"description\":\"Du samedi 11 au lundi 13 novembre 2017.\",\"opening_periods\":[{\"identifiant\":13924478,\"dateDebut\":\"2017-11-11\",\"dateFin\":\"2017-11-13\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["type_data", "{\"nomLieu\":\"Centre culturel et des congrès André Grosjean\",\"typesManifestation\":[{\"elementReferenceType\":\"FeteEtManifestationType\",\"id\":1966}],\"categories\":[{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2084}],\"portee\":{\"elementReferenceType\":\"FeteEtManifestationPortee\",\"id\":2350},\"nbVisiteursAttendu\":1000}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 544515\n"], ["updated_at", "2017-11-01 14:08:57.577371"], ["id", 55]]
|
1355
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1356
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4826282]]
|
1357
|
-
[1m[35mApidae::Town Load (0.1ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
1358
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1359
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "pictures_data", "entity_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id" [["apidae_id", 4826282], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "Remise des diplômes POLYTECH Annecy-Chambery"], ["short_desc", "La remise des diplomes de l'ecole d'ingenieurs de l'université Savoie Mont Blanc, Polytech Annecy-Chambery, Manifestation privée"], ["long_desc", ""], ["address", "{\"address_fields\":[\"Rue Jean Monard\"]}"], ["latitude", 45.685775], ["longitude", 5.915461], ["openings", "{\"description\":\"Samedi 18 novembre 2017.\",\"opening_periods\":[{\"identifiant\":13925007,\"dateDebut\":\"2017-11-18\",\"dateFin\":\"2017-11-18\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 544515\n"], ["created_at", "2017-11-01 14:08:57.582510"], ["updated_at", "2017-11-01 14:08:57.582510"]]
|
1360
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1361
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4828422]]
|
1362
|
-
[1m[36mApidae::Town Load (0.2ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30287]]
|
1363
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1364
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "rates", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) RETURNING "id"[0m [["apidae_id", 4828422], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "Ex Anima - Théâtre équestre Zingaro"], ["short_desc", "Conception et mise en scène de Bartabas.\r\nLe cheval sera l’acteur principal et central du spectacle, il le sera dans toute sa liberté animale, sa beauté et son lien ancestral à notre culture."], ["long_desc", "On retrouvera bien sûr ses chevaux fétiches mais aussi quelque quarante chevaux magnifiques en quasi-liberté sur la piste. Une nouvelle prouesse pour Bartabas qui s’éclipse avec ses cavaliers pour laisser toute la place au cheval. Chaque spectacle de Zingaro est un événement unique, celui-ci promet déjà de marquer les mémoires !"], ["address", "{\"address_fields\":[]}"], ["latitude", 45.644668], ["longitude", 5.867981], ["openings", "{\"description\":\"Jeudi 19 avril 2018 à 20h30.\\n\\nVendredi 20 avril 2018 à 20h30.\\n\\nSamedi 21 avril 2018 à 20h30.\\n\\nDimanche 22 avril 2018 à 17h.\\n\\nMardi 24 avril 2018 à 20h30.\\n\\nMercredi 25 avril 2018 à 20h30.\\n\\nVendredi 27 avril 2018 à 20h30.\\n\\nSamedi 28 avril 2018 à 20h30.\\n\\nDimanche 29 avril 2018 à 17h.\\n\\nLundi 30 avril 2018 à 20h30.\\n\\nMercredi 2 mai 2018 à 20h30.\\n\\nJeudi 3 mai 2018 à 20h30.\\n\\nSamedi 5 mai 2018 à 20h30.\\n\\nDimanche 6 mai 2018 à 17h.\\n\\nLundi 7 mai 2018 à 20h30.\\n\\nMardi 8 mai 2018 à 19h.\\n\\nJeudi 10 mai 2018 à 19h.\\n\\nVendredi 11 mai 2018 à 20h30.\\n\\nSamedi 12 mai 2018 à 20h30.\\n\\nDimanche 13 mai 2018 à 17h.\",\"opening_periods\":[{\"identifiant\":13951267,\"dateDebut\":\"2018-04-19\",\"dateFin\":\"2018-04-19\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951269,\"dateDebut\":\"2018-04-20\",\"dateFin\":\"2018-04-20\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951275,\"dateDebut\":\"2018-04-21\",\"dateFin\":\"2018-04-21\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951278,\"dateDebut\":\"2018-04-22\",\"dateFin\":\"2018-04-22\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951279,\"dateDebut\":\"2018-04-24\",\"dateFin\":\"2018-04-24\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951282,\"dateDebut\":\"2018-04-25\",\"dateFin\":\"2018-04-25\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951286,\"dateDebut\":\"2018-04-27\",\"dateFin\":\"2018-04-27\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951289,\"dateDebut\":\"2018-04-28\",\"dateFin\":\"2018-04-28\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951291,\"dateDebut\":\"2018-04-29\",\"dateFin\":\"2018-04-29\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951292,\"dateDebut\":\"2018-04-30\",\"dateFin\":\"2018-04-30\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951297,\"dateDebut\":\"2018-05-02\",\"dateFin\":\"2018-05-02\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951298,\"dateDebut\":\"2018-05-03\",\"dateFin\":\"2018-05-03\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951300,\"dateDebut\":\"2018-05-05\",\"dateFin\":\"2018-05-05\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951303,\"dateDebut\":\"2018-05-06\",\"dateFin\":\"2018-05-06\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951307,\"dateDebut\":\"2018-05-07\",\"dateFin\":\"2018-05-07\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951309,\"dateDebut\":\"2018-05-08\",\"dateFin\":\"2018-05-08\",\"horaireOuverture\":\"19:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951311,\"dateDebut\":\"2018-05-10\",\"dateFin\":\"2018-05-10\",\"horaireOuverture\":\"19:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13968615,\"dateDebut\":\"2018-05-11\",\"dateFin\":\"2018-05-11\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13968617,\"dateDebut\":\"2018-05-12\",\"dateFin\":\"2018-05-12\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13968619,\"dateDebut\":\"2018-05-13\",\"dateFin\":\"2018-05-13\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["rates", "Plein tarif : 39 €, Tarif réduit : de 15 à 32 € (abonnés Espace Malraux, Bonlieu, La Traverse)."], ["type_data", "{\"nomLieu\":\"La Croix verte\",\"typesManifestation\":[{\"elementReferenceType\":\"FeteEtManifestationType\",\"id\":1958}],\"categories\":[{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2091},{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2147}],\"themes\":[{\"elementReferenceType\":\"FeteEtManifestationTheme\",\"id\":2064},{\"elementReferenceType\":\"FeteEtManifestationTheme\",\"id\":2257}],\"portee\":{\"elementReferenceType\":\"FeteEtManifestationPortee\",\"id\":2351}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-11-01 14:08:57.593938"], ["updated_at", "2017-11-01 14:08:57.593938"]]
|
1365
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1366
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4833997]]
|
1367
|
-
[1m[35mApidae::Town Load (0.4ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30287]]
|
1368
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1369
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "rates", "reservation", "type_data", "pictures_data", "entity_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17) RETURNING "id" [["apidae_id", 4833997], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "Les Spécimens - Spectacle familial"], ["short_desc", "Les Spécimens ce sont quatre personnages d'un cirque à la dérive qui essayent de trouver tous les stratagèmes possibles pour renflouer la caisse.\r\nTout au long du spectacle, ils mêlent portés acrobatiques, diabolo, jonglage et dressage à un jeu clownesque."], ["long_desc", "Accompagnés de leurs animaux de compagnie, devenus animaux de cirque, ils se battent pour continuer à jouer leurs numéros.\r\n\r\nUn spectacle qui ravira petits et grands.\r\n\r\nCompagnie du Fil à retordre\r\nAvec Hugo Varret, Héloïse Rodot, Guillaume Lamour, Anouck Wroblewski"], ["address", "{\"address_fields\":[\"Avenue du Lac de Constance\",\"Savoie Technolac\"]}"], ["latitude", 45.645852], ["longitude", 5.865084], ["openings", "{\"description\":\"Samedi 4 novembre à 17h.\",\"opening_periods\":[{\"identifiant\":13969038,\"dateDebut\":\"2017-11-04\",\"dateFin\":\"2017-11-04\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":true}]}"], ["rates", "Tarif unique : 5 €."], ["reservation", "[]"], ["type_data", "{\"nomLieu\":\"La Traverse\",\"typesManifestation\":[{\"elementReferenceType\":\"FeteEtManifestationType\",\"id\":1958}],\"categories\":[{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2091},{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2147}],\"portee\":{\"elementReferenceType\":\"FeteEtManifestationPortee\",\"id\":2351}}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 80314\n"], ["created_at", "2017-11-01 14:08:57.600641"], ["updated_at", "2017-11-01 14:08:57.600641"]]
|
1370
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1371
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 123]]
|
1372
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1373
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects_selections" WHERE "apidae_objects_selections"."object_id" = $1 [["object_id", 54]]
|
1374
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects" WHERE "apidae_objects"."id" = $1[0m [["id", 54]]
|
1375
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1376
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1377
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_selections" WHERE 1=0
|
1378
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49063]]
|
1379
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1380
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 1"], ["reference", "selection-1"], ["created_at", "2017-11-01 14:08:57.717686"], ["updated_at", "2017-11-01 14:08:57.717686"]]
|
1381
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1382
|
-
[1m[36mApidae::Object Load (0.3ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 23]]
|
1383
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4826137]]
|
1384
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1385
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 23], ["object_id", 56]]
|
1386
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1387
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4826282]]
|
1388
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1389
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 23], ["object_id", 57]]
|
1390
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1391
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1 [["apidae_id", 49073]]
|
1392
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1393
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49073], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 14:08:57.740641"], ["updated_at", "2017-11-01 14:08:57.740641"]]
|
1394
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1395
|
-
[1m[35mApidae::Object Load (0.3ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 24]]
|
1396
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4826186]]
|
1397
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1398
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 24], ["object_id", 55]]
|
1399
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1400
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4828422]]
|
1401
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1402
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 24], ["object_id", 58]]
|
1403
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1404
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4833997]]
|
1405
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1406
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 24], ["object_id", 59]]
|
1407
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1408
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1409
|
-
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 23]]
|
1410
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 24]]
|
1411
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1412
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
1413
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1414
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1415
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1416
|
-
----------------------------------------------------
|
1417
|
-
Apidae::FileImportTest: test_new_selection_insertion
|
1418
|
-
----------------------------------------------------
|
1419
|
-
[1m[36mSQL (0.6ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1420
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections"
|
1421
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1422
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 14:09:10.414664"], ["updated_at", "2017-11-01 14:09:10.414664"]]
|
1423
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1424
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
1425
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "apidae_selections" WHERE 1=0[0m
|
1426
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1 [["apidae_id", 49063]]
|
1427
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1428
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 1"], ["reference", "selection-1"], ["created_at", "2017-11-01 14:09:10.543343"], ["updated_at", "2017-11-01 14:09:10.543343"]]
|
1429
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1430
|
-
[1m[35mApidae::Object Load (0.3ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 25]]
|
1431
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
1432
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1433
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 25], ["object_id", 60]]
|
1434
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1435
|
-
[1m[36mApidae::Selection Load (0.1ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1436
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 25]]
|
1437
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
1438
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" ORDER BY "apidae_selections"."id" ASC LIMIT 1
|
1439
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1440
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1441
|
-
--------------------------------------------------------
|
1442
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
1443
|
-
--------------------------------------------------------
|
1444
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1445
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_selections"
|
1446
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1447
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 3"], ["reference", "selection-3"], ["created_at", "2017-11-01 14:09:10.583756"], ["updated_at", "2017-11-01 14:09:10.583756"]]
|
1448
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1449
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1450
|
-
[1m[36mApidae::Selection Load (0.1ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1451
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = 49063
|
1452
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1453
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1454
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1455
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1456
|
-
-------------------------------------------------
|
1457
|
-
Apidae::FileImportTest: test_new_object_insertion
|
1458
|
-
-------------------------------------------------
|
1459
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1460
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections"
|
1461
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
1462
|
-
[1m[35mApidae::Town Load (0.2ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
1463
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1464
|
-
[1m[35mSQL (0.6ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["apidae_id", 504], ["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-11-01 14:09:10.597866"], ["updated_at", "2017-11-01 14:09:10.597866"]]
|
1465
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1466
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
1467
|
-
[1m[36mApidae::Object Load (0.3ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1[0m
|
1468
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1469
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1470
|
-
---------------------------------------------------
|
1471
|
-
Apidae::FileImportTest: test_existing_object_update
|
1472
|
-
---------------------------------------------------
|
1473
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_objects"
|
1474
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_selections"[0m
|
1475
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1476
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 14:09:10.605430"], ["updated_at", "2017-11-01 14:09:10.605430"]]
|
1477
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1478
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
1479
|
-
[1m[35mApidae::Town Load (0.2ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
1480
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1481
|
-
[1m[35mSQL (0.6ms)[0m UPDATE "apidae_objects" SET "apidae_type" = $1, "apidae_subtype" = $2, "title" = $3, "short_desc" = $4, "long_desc" = $5, "address" = $6, "latitude" = $7, "longitude" = $8, "type_data" = $9, "pictures_data" = $10, "updated_at" = $11 WHERE "apidae_objects"."id" = $12 [["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["updated_at", "2017-11-01 14:09:10.610163"], ["id", 62]]
|
1482
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1483
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
1484
|
-
[1m[36mApidae::Object Load (0.3ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1[0m
|
1485
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1486
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1487
|
-
------------------------------------------------------
|
1488
|
-
Apidae::FileImportTest: test_existing_selection_update
|
1489
|
-
------------------------------------------------------
|
1490
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_objects"
|
1491
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_selections"[0m
|
1492
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1493
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 503], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 14:09:10.622776"], ["updated_at", "2017-11-01 14:09:10.622776"]]
|
1494
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1495
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1496
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 14:09:10.626505"], ["updated_at", "2017-11-01 14:09:10.626505"]]
|
1497
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1498
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1499
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 14:09:10.628927"], ["updated_at", "2017-11-01 14:09:10.628927"]]
|
1500
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1501
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1502
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 27], ["object_id", 63]]
|
1503
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1504
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 27]]
|
1505
|
-
[1m[36mApidae::Selection Load (0.1ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1506
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections" WHERE 1=0
|
1507
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49063]]
|
1508
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1509
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1510
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 27]]
|
1511
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
1512
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1513
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 27], ["object_id", 64]]
|
1514
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1515
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1516
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 27]]
|
1517
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
1518
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1519
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1520
|
-
-----------------------------------------------------
|
1521
|
-
Apidae::FileImportTest: test_existing_object_deletion
|
1522
|
-
-----------------------------------------------------
|
1523
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects"
|
1524
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_selections"[0m
|
1525
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1526
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 14:09:10.650300"], ["updated_at", "2017-11-01 14:09:10.650300"]]
|
1527
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1528
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
1529
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1530
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects_selections" WHERE "apidae_objects_selections"."object_id" = $1[0m [["object_id", 65]]
|
1531
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects" WHERE "apidae_objects"."id" = $1 [["id", 65]]
|
1532
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1533
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
1534
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1535
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1536
|
-
------------------------------------------------
|
1537
|
-
Apidae::FileImportTest: test_full_import_process
|
1538
|
-
------------------------------------------------
|
1539
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1540
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections"
|
1541
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1542
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 123], ["title", "Objet à supprimer"], ["created_at", "2017-11-01 14:09:10.661121"], ["updated_at", "2017-11-01 14:09:10.661121"]]
|
1543
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1544
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1545
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 4826186], ["title", "Objet à mettre à jour"], ["created_at", "2017-11-01 14:09:10.666466"], ["updated_at", "2017-11-01 14:09:10.666466"]]
|
1546
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1547
|
-
[1m[36mApidae::Object Load (0.3ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4826137]]
|
1548
|
-
[1m[35mApidae::Town Load (0.2ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
1549
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1550
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "pictures_data", "entity_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id" [["apidae_id", 4826137], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "3C-Centre de Coordination en Cancerologie"], ["short_desc", "Réunion de médecins, infirmières, personnel médical. Les centres de coordination en Cancérologie sont des cellules qualités opérationnelles mises en place pour assurer la pluridisciplinarité de la prise en charge du patient. Congres privé."], ["long_desc", ""], ["address", "{\"address_fields\":[\"Rue Jean Monard\"]}"], ["latitude", 45.685888], ["longitude", 5.915215], ["openings", "{\"description\":\"Mardi 7 novembre 2017 de 7h à 19h.\",\"opening_periods\":[{\"identifiant\":13924098,\"dateDebut\":\"2017-11-07\",\"dateFin\":\"2017-11-07\",\"horaireOuverture\":\"07:00:00\",\"horaireFermeture\":\"19:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 544515\n"], ["created_at", "2017-11-01 14:09:10.676157"], ["updated_at", "2017-11-01 14:09:10.676157"]]
|
1551
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1552
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4826186]]
|
1553
|
-
[1m[36mApidae::Town Load (0.2ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
1554
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1555
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "apidae_objects" SET "apidae_type" = $1, "apidae_subtype" = $2, "title" = $3, "short_desc" = $4, "long_desc" = $5, "contact" = $6, "address" = $7, "latitude" = $8, "longitude" = $9, "openings" = $10, "type_data" = $11, "pictures_data" = $12, "entity_data" = $13, "updated_at" = $14 WHERE "apidae_objects"."id" = $15[0m [["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "A ciel ouvert -Vivre relié à l'essentiel"], ["short_desc", "Objet du forum : L’étude et la transmission des cultures et sagesses du monde pour un développement de la sagesse dans notre société moderne occidentale. Ouvert sur inscription"], ["long_desc", ""], ["contact", "{\"website\":\"https://www.acielouvert.org\"}"], ["address", "{\"address_fields\":[\"Rue Jean Monard\"]}"], ["latitude", 45.685775], ["longitude", 5.915461], ["openings", "{\"description\":\"Du samedi 11 au lundi 13 novembre 2017.\",\"opening_periods\":[{\"identifiant\":13924478,\"dateDebut\":\"2017-11-11\",\"dateFin\":\"2017-11-13\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["type_data", "{\"nomLieu\":\"Centre culturel et des congrès André Grosjean\",\"typesManifestation\":[{\"elementReferenceType\":\"FeteEtManifestationType\",\"id\":1966}],\"categories\":[{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2084}],\"portee\":{\"elementReferenceType\":\"FeteEtManifestationPortee\",\"id\":2350},\"nbVisiteursAttendu\":1000}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 544515\n"], ["updated_at", "2017-11-01 14:09:10.683856"], ["id", 67]]
|
1556
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1557
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4826282]]
|
1558
|
-
[1m[35mApidae::Town Load (0.1ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
1559
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1560
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "pictures_data", "entity_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id" [["apidae_id", 4826282], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "Remise des diplômes POLYTECH Annecy-Chambery"], ["short_desc", "La remise des diplomes de l'ecole d'ingenieurs de l'université Savoie Mont Blanc, Polytech Annecy-Chambery, Manifestation privée"], ["long_desc", ""], ["address", "{\"address_fields\":[\"Rue Jean Monard\"]}"], ["latitude", 45.685775], ["longitude", 5.915461], ["openings", "{\"description\":\"Samedi 18 novembre 2017.\",\"opening_periods\":[{\"identifiant\":13925007,\"dateDebut\":\"2017-11-18\",\"dateFin\":\"2017-11-18\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 544515\n"], ["created_at", "2017-11-01 14:09:10.689334"], ["updated_at", "2017-11-01 14:09:10.689334"]]
|
1561
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1562
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4828422]]
|
1563
|
-
[1m[36mApidae::Town Load (0.2ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30287]]
|
1564
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1565
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "rates", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) RETURNING "id"[0m [["apidae_id", 4828422], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "Ex Anima - Théâtre équestre Zingaro"], ["short_desc", "Conception et mise en scène de Bartabas.\r\nLe cheval sera l’acteur principal et central du spectacle, il le sera dans toute sa liberté animale, sa beauté et son lien ancestral à notre culture."], ["long_desc", "On retrouvera bien sûr ses chevaux fétiches mais aussi quelque quarante chevaux magnifiques en quasi-liberté sur la piste. Une nouvelle prouesse pour Bartabas qui s’éclipse avec ses cavaliers pour laisser toute la place au cheval. Chaque spectacle de Zingaro est un événement unique, celui-ci promet déjà de marquer les mémoires !"], ["address", "{\"address_fields\":[]}"], ["latitude", 45.644668], ["longitude", 5.867981], ["openings", "{\"description\":\"Jeudi 19 avril 2018 à 20h30.\\n\\nVendredi 20 avril 2018 à 20h30.\\n\\nSamedi 21 avril 2018 à 20h30.\\n\\nDimanche 22 avril 2018 à 17h.\\n\\nMardi 24 avril 2018 à 20h30.\\n\\nMercredi 25 avril 2018 à 20h30.\\n\\nVendredi 27 avril 2018 à 20h30.\\n\\nSamedi 28 avril 2018 à 20h30.\\n\\nDimanche 29 avril 2018 à 17h.\\n\\nLundi 30 avril 2018 à 20h30.\\n\\nMercredi 2 mai 2018 à 20h30.\\n\\nJeudi 3 mai 2018 à 20h30.\\n\\nSamedi 5 mai 2018 à 20h30.\\n\\nDimanche 6 mai 2018 à 17h.\\n\\nLundi 7 mai 2018 à 20h30.\\n\\nMardi 8 mai 2018 à 19h.\\n\\nJeudi 10 mai 2018 à 19h.\\n\\nVendredi 11 mai 2018 à 20h30.\\n\\nSamedi 12 mai 2018 à 20h30.\\n\\nDimanche 13 mai 2018 à 17h.\",\"opening_periods\":[{\"identifiant\":13951267,\"dateDebut\":\"2018-04-19\",\"dateFin\":\"2018-04-19\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951269,\"dateDebut\":\"2018-04-20\",\"dateFin\":\"2018-04-20\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951275,\"dateDebut\":\"2018-04-21\",\"dateFin\":\"2018-04-21\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951278,\"dateDebut\":\"2018-04-22\",\"dateFin\":\"2018-04-22\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951279,\"dateDebut\":\"2018-04-24\",\"dateFin\":\"2018-04-24\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951282,\"dateDebut\":\"2018-04-25\",\"dateFin\":\"2018-04-25\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951286,\"dateDebut\":\"2018-04-27\",\"dateFin\":\"2018-04-27\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951289,\"dateDebut\":\"2018-04-28\",\"dateFin\":\"2018-04-28\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951291,\"dateDebut\":\"2018-04-29\",\"dateFin\":\"2018-04-29\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951292,\"dateDebut\":\"2018-04-30\",\"dateFin\":\"2018-04-30\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951297,\"dateDebut\":\"2018-05-02\",\"dateFin\":\"2018-05-02\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951298,\"dateDebut\":\"2018-05-03\",\"dateFin\":\"2018-05-03\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951300,\"dateDebut\":\"2018-05-05\",\"dateFin\":\"2018-05-05\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951303,\"dateDebut\":\"2018-05-06\",\"dateFin\":\"2018-05-06\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951307,\"dateDebut\":\"2018-05-07\",\"dateFin\":\"2018-05-07\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951309,\"dateDebut\":\"2018-05-08\",\"dateFin\":\"2018-05-08\",\"horaireOuverture\":\"19:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951311,\"dateDebut\":\"2018-05-10\",\"dateFin\":\"2018-05-10\",\"horaireOuverture\":\"19:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13968615,\"dateDebut\":\"2018-05-11\",\"dateFin\":\"2018-05-11\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13968617,\"dateDebut\":\"2018-05-12\",\"dateFin\":\"2018-05-12\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13968619,\"dateDebut\":\"2018-05-13\",\"dateFin\":\"2018-05-13\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["rates", "Plein tarif : 39 €, Tarif réduit : de 15 à 32 € (abonnés Espace Malraux, Bonlieu, La Traverse)."], ["type_data", "{\"nomLieu\":\"La Croix verte\",\"typesManifestation\":[{\"elementReferenceType\":\"FeteEtManifestationType\",\"id\":1958}],\"categories\":[{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2091},{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2147}],\"themes\":[{\"elementReferenceType\":\"FeteEtManifestationTheme\",\"id\":2064},{\"elementReferenceType\":\"FeteEtManifestationTheme\",\"id\":2257}],\"portee\":{\"elementReferenceType\":\"FeteEtManifestationPortee\",\"id\":2351}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-11-01 14:09:10.698021"], ["updated_at", "2017-11-01 14:09:10.698021"]]
|
1566
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1567
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4833997]]
|
1568
|
-
[1m[35mApidae::Town Load (0.1ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30287]]
|
1569
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1570
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "rates", "reservation", "type_data", "pictures_data", "entity_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17) RETURNING "id" [["apidae_id", 4833997], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "Les Spécimens - Spectacle familial"], ["short_desc", "Les Spécimens ce sont quatre personnages d'un cirque à la dérive qui essayent de trouver tous les stratagèmes possibles pour renflouer la caisse.\r\nTout au long du spectacle, ils mêlent portés acrobatiques, diabolo, jonglage et dressage à un jeu clownesque."], ["long_desc", "Accompagnés de leurs animaux de compagnie, devenus animaux de cirque, ils se battent pour continuer à jouer leurs numéros.\r\n\r\nUn spectacle qui ravira petits et grands.\r\n\r\nCompagnie du Fil à retordre\r\nAvec Hugo Varret, Héloïse Rodot, Guillaume Lamour, Anouck Wroblewski"], ["address", "{\"address_fields\":[\"Avenue du Lac de Constance\",\"Savoie Technolac\"]}"], ["latitude", 45.645852], ["longitude", 5.865084], ["openings", "{\"description\":\"Samedi 4 novembre à 17h.\",\"opening_periods\":[{\"identifiant\":13969038,\"dateDebut\":\"2017-11-04\",\"dateFin\":\"2017-11-04\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":true}]}"], ["rates", "Tarif unique : 5 €."], ["reservation", "[]"], ["type_data", "{\"nomLieu\":\"La Traverse\",\"typesManifestation\":[{\"elementReferenceType\":\"FeteEtManifestationType\",\"id\":1958}],\"categories\":[{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2091},{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2147}],\"portee\":{\"elementReferenceType\":\"FeteEtManifestationPortee\",\"id\":2351}}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 80314\n"], ["created_at", "2017-11-01 14:09:10.705757"], ["updated_at", "2017-11-01 14:09:10.705757"]]
|
1571
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1572
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 123]]
|
1573
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1574
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "apidae_objects_selections" WHERE "apidae_objects_selections"."object_id" = $1 [["object_id", 66]]
|
1575
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "apidae_objects" WHERE "apidae_objects"."id" = $1[0m [["id", 66]]
|
1576
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1577
|
-
[1m[36mApidae::Selection Load (0.3ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1578
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections" WHERE 1=0
|
1579
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49063]]
|
1580
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1581
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 1"], ["reference", "selection-1"], ["created_at", "2017-11-01 14:09:10.717249"], ["updated_at", "2017-11-01 14:09:10.717249"]]
|
1582
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1583
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 28]]
|
1584
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4826137]]
|
1585
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1586
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 28], ["object_id", 68]]
|
1587
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1588
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4826282]]
|
1589
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1590
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 28], ["object_id", 69]]
|
1591
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1592
|
-
[1m[35mApidae::Selection Load (0.1ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1 [["apidae_id", 49073]]
|
1593
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1594
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49073], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 14:09:10.725076"], ["updated_at", "2017-11-01 14:09:10.725076"]]
|
1595
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1596
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 29]]
|
1597
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4826186]]
|
1598
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1599
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 29], ["object_id", 67]]
|
1600
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1601
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4828422]]
|
1602
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1603
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 29], ["object_id", 70]]
|
1604
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1605
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4833997]]
|
1606
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1607
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 29], ["object_id", 71]]
|
1608
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1609
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1610
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 28]]
|
1611
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 29]]
|
1612
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1613
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
1614
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1615
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1616
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1617
|
-
-----------------------------------------------------
|
1618
|
-
Apidae::FileImportTest: test_existing_object_deletion
|
1619
|
-
-----------------------------------------------------
|
1620
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1621
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "apidae_selections"
|
1622
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1623
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 14:11:08.257347"], ["updated_at", "2017-11-01 14:11:08.257347"]]
|
1624
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1625
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
1626
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1627
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects_selections" WHERE "apidae_objects_selections"."object_id" = $1 [["object_id", 72]]
|
1628
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_objects" WHERE "apidae_objects"."id" = $1[0m [["id", 72]]
|
1629
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1630
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
1631
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1632
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1633
|
-
------------------------------------------------
|
1634
|
-
Apidae::FileImportTest: test_full_import_process
|
1635
|
-
------------------------------------------------
|
1636
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_objects"
|
1637
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_selections"[0m
|
1638
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1639
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 123], ["title", "Objet à supprimer"], ["created_at", "2017-11-01 14:11:08.301269"], ["updated_at", "2017-11-01 14:11:08.301269"]]
|
1640
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1641
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1642
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 4826186], ["title", "Objet à mettre à jour"], ["created_at", "2017-11-01 14:11:08.302945"], ["updated_at", "2017-11-01 14:11:08.302945"]]
|
1643
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1644
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4826137]]
|
1645
|
-
[1m[36mApidae::Town Load (0.3ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
1646
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1647
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "pictures_data", "entity_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id"[0m [["apidae_id", 4826137], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "3C-Centre de Coordination en Cancerologie"], ["short_desc", "Réunion de médecins, infirmières, personnel médical. Les centres de coordination en Cancérologie sont des cellules qualités opérationnelles mises en place pour assurer la pluridisciplinarité de la prise en charge du patient. Congres privé."], ["long_desc", ""], ["address", "{\"address_fields\":[\"Rue Jean Monard\"]}"], ["latitude", 45.685888], ["longitude", 5.915215], ["openings", "{\"description\":\"Mardi 7 novembre 2017 de 7h à 19h.\",\"opening_periods\":[{\"identifiant\":13924098,\"dateDebut\":\"2017-11-07\",\"dateFin\":\"2017-11-07\",\"horaireOuverture\":\"07:00:00\",\"horaireFermeture\":\"19:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 544515\n"], ["created_at", "2017-11-01 14:11:08.323104"], ["updated_at", "2017-11-01 14:11:08.323104"]]
|
1648
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1649
|
-
[1m[36mApidae::Object Load (0.3ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4826186]]
|
1650
|
-
[1m[35mApidae::Town Load (0.1ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
1651
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1652
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "apidae_objects" SET "apidae_type" = $1, "apidae_subtype" = $2, "title" = $3, "short_desc" = $4, "long_desc" = $5, "contact" = $6, "address" = $7, "latitude" = $8, "longitude" = $9, "openings" = $10, "type_data" = $11, "pictures_data" = $12, "entity_data" = $13, "updated_at" = $14 WHERE "apidae_objects"."id" = $15 [["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "A ciel ouvert -Vivre relié à l'essentiel"], ["short_desc", "Objet du forum : L’étude et la transmission des cultures et sagesses du monde pour un développement de la sagesse dans notre société moderne occidentale. Ouvert sur inscription"], ["long_desc", ""], ["contact", "{\"website\":\"https://www.acielouvert.org\"}"], ["address", "{\"address_fields\":[\"Rue Jean Monard\"]}"], ["latitude", 45.685775], ["longitude", 5.915461], ["openings", "{\"description\":\"Du samedi 11 au lundi 13 novembre 2017.\",\"opening_periods\":[{\"identifiant\":13924478,\"dateDebut\":\"2017-11-11\",\"dateFin\":\"2017-11-13\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["type_data", "{\"nomLieu\":\"Centre culturel et des congrès André Grosjean\",\"typesManifestation\":[{\"elementReferenceType\":\"FeteEtManifestationType\",\"id\":1966}],\"categories\":[{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2084}],\"portee\":{\"elementReferenceType\":\"FeteEtManifestationPortee\",\"id\":2350},\"nbVisiteursAttendu\":1000}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 544515\n"], ["updated_at", "2017-11-01 14:11:08.329136"], ["id", 74]]
|
1653
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1654
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4826282]]
|
1655
|
-
[1m[36mApidae::Town Load (0.1ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
1656
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1657
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "pictures_data", "entity_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id"[0m [["apidae_id", 4826282], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "Remise des diplômes POLYTECH Annecy-Chambery"], ["short_desc", "La remise des diplomes de l'ecole d'ingenieurs de l'université Savoie Mont Blanc, Polytech Annecy-Chambery, Manifestation privée"], ["long_desc", ""], ["address", "{\"address_fields\":[\"Rue Jean Monard\"]}"], ["latitude", 45.685775], ["longitude", 5.915461], ["openings", "{\"description\":\"Samedi 18 novembre 2017.\",\"opening_periods\":[{\"identifiant\":13925007,\"dateDebut\":\"2017-11-18\",\"dateFin\":\"2017-11-18\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 544515\n"], ["created_at", "2017-11-01 14:11:08.334523"], ["updated_at", "2017-11-01 14:11:08.334523"]]
|
1658
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1659
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4828422]]
|
1660
|
-
[1m[35mApidae::Town Load (0.1ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30287]]
|
1661
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1662
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "rates", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) RETURNING "id" [["apidae_id", 4828422], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "Ex Anima - Théâtre équestre Zingaro"], ["short_desc", "Conception et mise en scène de Bartabas.\r\nLe cheval sera l’acteur principal et central du spectacle, il le sera dans toute sa liberté animale, sa beauté et son lien ancestral à notre culture."], ["long_desc", "On retrouvera bien sûr ses chevaux fétiches mais aussi quelque quarante chevaux magnifiques en quasi-liberté sur la piste. Une nouvelle prouesse pour Bartabas qui s’éclipse avec ses cavaliers pour laisser toute la place au cheval. Chaque spectacle de Zingaro est un événement unique, celui-ci promet déjà de marquer les mémoires !"], ["address", "{\"address_fields\":[]}"], ["latitude", 45.644668], ["longitude", 5.867981], ["openings", "{\"description\":\"Jeudi 19 avril 2018 à 20h30.\\n\\nVendredi 20 avril 2018 à 20h30.\\n\\nSamedi 21 avril 2018 à 20h30.\\n\\nDimanche 22 avril 2018 à 17h.\\n\\nMardi 24 avril 2018 à 20h30.\\n\\nMercredi 25 avril 2018 à 20h30.\\n\\nVendredi 27 avril 2018 à 20h30.\\n\\nSamedi 28 avril 2018 à 20h30.\\n\\nDimanche 29 avril 2018 à 17h.\\n\\nLundi 30 avril 2018 à 20h30.\\n\\nMercredi 2 mai 2018 à 20h30.\\n\\nJeudi 3 mai 2018 à 20h30.\\n\\nSamedi 5 mai 2018 à 20h30.\\n\\nDimanche 6 mai 2018 à 17h.\\n\\nLundi 7 mai 2018 à 20h30.\\n\\nMardi 8 mai 2018 à 19h.\\n\\nJeudi 10 mai 2018 à 19h.\\n\\nVendredi 11 mai 2018 à 20h30.\\n\\nSamedi 12 mai 2018 à 20h30.\\n\\nDimanche 13 mai 2018 à 17h.\",\"opening_periods\":[{\"identifiant\":13951267,\"dateDebut\":\"2018-04-19\",\"dateFin\":\"2018-04-19\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951269,\"dateDebut\":\"2018-04-20\",\"dateFin\":\"2018-04-20\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951275,\"dateDebut\":\"2018-04-21\",\"dateFin\":\"2018-04-21\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951278,\"dateDebut\":\"2018-04-22\",\"dateFin\":\"2018-04-22\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951279,\"dateDebut\":\"2018-04-24\",\"dateFin\":\"2018-04-24\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951282,\"dateDebut\":\"2018-04-25\",\"dateFin\":\"2018-04-25\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951286,\"dateDebut\":\"2018-04-27\",\"dateFin\":\"2018-04-27\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951289,\"dateDebut\":\"2018-04-28\",\"dateFin\":\"2018-04-28\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951291,\"dateDebut\":\"2018-04-29\",\"dateFin\":\"2018-04-29\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951292,\"dateDebut\":\"2018-04-30\",\"dateFin\":\"2018-04-30\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951297,\"dateDebut\":\"2018-05-02\",\"dateFin\":\"2018-05-02\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951298,\"dateDebut\":\"2018-05-03\",\"dateFin\":\"2018-05-03\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951300,\"dateDebut\":\"2018-05-05\",\"dateFin\":\"2018-05-05\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951303,\"dateDebut\":\"2018-05-06\",\"dateFin\":\"2018-05-06\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951307,\"dateDebut\":\"2018-05-07\",\"dateFin\":\"2018-05-07\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951309,\"dateDebut\":\"2018-05-08\",\"dateFin\":\"2018-05-08\",\"horaireOuverture\":\"19:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951311,\"dateDebut\":\"2018-05-10\",\"dateFin\":\"2018-05-10\",\"horaireOuverture\":\"19:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13968615,\"dateDebut\":\"2018-05-11\",\"dateFin\":\"2018-05-11\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13968617,\"dateDebut\":\"2018-05-12\",\"dateFin\":\"2018-05-12\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13968619,\"dateDebut\":\"2018-05-13\",\"dateFin\":\"2018-05-13\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["rates", "Plein tarif : 39 €, Tarif réduit : de 15 à 32 € (abonnés Espace Malraux, Bonlieu, La Traverse)."], ["type_data", "{\"nomLieu\":\"La Croix verte\",\"typesManifestation\":[{\"elementReferenceType\":\"FeteEtManifestationType\",\"id\":1958}],\"categories\":[{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2091},{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2147}],\"themes\":[{\"elementReferenceType\":\"FeteEtManifestationTheme\",\"id\":2064},{\"elementReferenceType\":\"FeteEtManifestationTheme\",\"id\":2257}],\"portee\":{\"elementReferenceType\":\"FeteEtManifestationPortee\",\"id\":2351}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-11-01 14:11:08.338837"], ["updated_at", "2017-11-01 14:11:08.338837"]]
|
1663
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1664
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4833997]]
|
1665
|
-
[1m[36mApidae::Town Load (0.1ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30287]]
|
1666
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1667
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "rates", "reservation", "type_data", "pictures_data", "entity_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17) RETURNING "id"[0m [["apidae_id", 4833997], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "Les Spécimens - Spectacle familial"], ["short_desc", "Les Spécimens ce sont quatre personnages d'un cirque à la dérive qui essayent de trouver tous les stratagèmes possibles pour renflouer la caisse.\r\nTout au long du spectacle, ils mêlent portés acrobatiques, diabolo, jonglage et dressage à un jeu clownesque."], ["long_desc", "Accompagnés de leurs animaux de compagnie, devenus animaux de cirque, ils se battent pour continuer à jouer leurs numéros.\r\n\r\nUn spectacle qui ravira petits et grands.\r\n\r\nCompagnie du Fil à retordre\r\nAvec Hugo Varret, Héloïse Rodot, Guillaume Lamour, Anouck Wroblewski"], ["address", "{\"address_fields\":[\"Avenue du Lac de Constance\",\"Savoie Technolac\"]}"], ["latitude", 45.645852], ["longitude", 5.865084], ["openings", "{\"description\":\"Samedi 4 novembre à 17h.\",\"opening_periods\":[{\"identifiant\":13969038,\"dateDebut\":\"2017-11-04\",\"dateFin\":\"2017-11-04\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":true}]}"], ["rates", "Tarif unique : 5 €."], ["reservation", "[]"], ["type_data", "{\"nomLieu\":\"La Traverse\",\"typesManifestation\":[{\"elementReferenceType\":\"FeteEtManifestationType\",\"id\":1958}],\"categories\":[{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2091},{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2147}],\"portee\":{\"elementReferenceType\":\"FeteEtManifestationPortee\",\"id\":2351}}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 80314\n"], ["created_at", "2017-11-01 14:11:08.345457"], ["updated_at", "2017-11-01 14:11:08.345457"]]
|
1668
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1669
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 123]]
|
1670
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1671
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_objects_selections" WHERE "apidae_objects_selections"."object_id" = $1[0m [["object_id", 73]]
|
1672
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "apidae_objects" WHERE "apidae_objects"."id" = $1 [["id", 73]]
|
1673
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1674
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
1675
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_selections" WHERE 1=0[0m
|
1676
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1 [["apidae_id", 49063]]
|
1677
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1678
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 1"], ["reference", "selection-1"], ["created_at", "2017-11-01 14:11:08.446775"], ["updated_at", "2017-11-01 14:11:08.446775"]]
|
1679
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1680
|
-
[1m[35mApidae::Object Load (0.3ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 30]]
|
1681
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4826137]]
|
1682
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1683
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 30], ["object_id", 75]]
|
1684
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1685
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4826282]]
|
1686
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1687
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 30], ["object_id", 76]]
|
1688
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1689
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49073]]
|
1690
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1691
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49073], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 14:11:08.469672"], ["updated_at", "2017-11-01 14:11:08.469672"]]
|
1692
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1693
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 31]]
|
1694
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4826186]]
|
1695
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1696
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 31], ["object_id", 74]]
|
1697
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1698
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4828422]]
|
1699
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1700
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 31], ["object_id", 77]]
|
1701
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1702
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4833997]]
|
1703
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1704
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 31], ["object_id", 78]]
|
1705
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1706
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
1707
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 30]]
|
1708
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 31]]
|
1709
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
1710
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
1711
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1712
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1713
|
-
------------------------------------------------------
|
1714
|
-
Apidae::FileImportTest: test_existing_selection_update
|
1715
|
-
------------------------------------------------------
|
1716
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1717
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_selections"
|
1718
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1719
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 503], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 14:11:08.484958"], ["updated_at", "2017-11-01 14:11:08.484958"]]
|
1720
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1721
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1722
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 14:11:08.487388"], ["updated_at", "2017-11-01 14:11:08.487388"]]
|
1723
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1724
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1725
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-01 14:11:08.489799"], ["updated_at", "2017-11-01 14:11:08.489799"]]
|
1726
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1727
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1728
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 32], ["object_id", 79]]
|
1729
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1730
|
-
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 32]]
|
1731
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
1732
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_selections" WHERE 1=0[0m
|
1733
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1 [["apidae_id", 49063]]
|
1734
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1735
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1736
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 32]]
|
1737
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
1738
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1739
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 32], ["object_id", 80]]
|
1740
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1741
|
-
[1m[35mApidae::Selection Load (0.1ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
1742
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 32]]
|
1743
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1744
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1745
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1746
|
-
----------------------------------------------------
|
1747
|
-
Apidae::FileImportTest: test_new_selection_insertion
|
1748
|
-
----------------------------------------------------
|
1749
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1750
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_selections"
|
1751
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1752
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 14:11:08.504929"], ["updated_at", "2017-11-01 14:11:08.504929"]]
|
1753
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1754
|
-
[1m[35mApidae::Selection Load (0.3ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
1755
|
-
[1m[36mSQL (0.6ms)[0m [1mDELETE FROM "apidae_selections" WHERE 1=0[0m
|
1756
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1 [["apidae_id", 49063]]
|
1757
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1758
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 1"], ["reference", "selection-1"], ["created_at", "2017-11-01 14:11:08.511467"], ["updated_at", "2017-11-01 14:11:08.511467"]]
|
1759
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1760
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 33]]
|
1761
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
1762
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1763
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 33], ["object_id", 81]]
|
1764
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1765
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1766
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 33]]
|
1767
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
1768
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" ORDER BY "apidae_selections"."id" ASC LIMIT 1
|
1769
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1770
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1771
|
-
--------------------------------------------------------
|
1772
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
1773
|
-
--------------------------------------------------------
|
1774
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1775
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_selections"
|
1776
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1777
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 3"], ["reference", "selection-3"], ["created_at", "2017-11-01 14:11:08.525930"], ["updated_at", "2017-11-01 14:11:08.525930"]]
|
1778
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1779
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1780
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1781
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = 49063
|
1782
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1783
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1784
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1785
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1786
|
-
---------------------------------------------------
|
1787
|
-
Apidae::FileImportTest: test_existing_object_update
|
1788
|
-
---------------------------------------------------
|
1789
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1790
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_selections"
|
1791
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1792
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-01 14:11:08.534688"], ["updated_at", "2017-11-01 14:11:08.534688"]]
|
1793
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1794
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
1795
|
-
[1m[36mApidae::Town Load (0.2ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
1796
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1797
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "apidae_objects" SET "apidae_type" = $1, "apidae_subtype" = $2, "title" = $3, "short_desc" = $4, "long_desc" = $5, "address" = $6, "latitude" = $7, "longitude" = $8, "type_data" = $9, "pictures_data" = $10, "updated_at" = $11 WHERE "apidae_objects"."id" = $12[0m [["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["updated_at", "2017-11-01 14:11:08.539091"], ["id", 82]]
|
1798
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1799
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
1800
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1
|
1801
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1802
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1803
|
-
-------------------------------------------------
|
1804
|
-
Apidae::FileImportTest: test_new_object_insertion
|
1805
|
-
-------------------------------------------------
|
1806
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1807
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections"
|
1808
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
1809
|
-
[1m[35mApidae::Town Load (0.1ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
1810
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1811
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["apidae_id", 504], ["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-11-01 14:11:08.550047"], ["updated_at", "2017-11-01 14:11:08.550047"]]
|
1812
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1813
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
1814
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1[0m
|
1815
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1816
|
-
[1m[36mActiveRecord::SchemaMigration Load (13.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1817
|
-
[1m[35m (6.0ms)[0m BEGIN
|
1818
|
-
------------------------------------------------------------
|
1819
|
-
Apidae::SelectionsControllerTest: test_should_show_selection
|
1820
|
-
------------------------------------------------------------
|
1821
|
-
[1m[36m (12.7ms)[0m [1mROLLBACK[0m
|
1822
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1823
|
-
--------------------------------------------------------------
|
1824
|
-
Apidae::SelectionsControllerTest: test_should_create_selection
|
1825
|
-
--------------------------------------------------------------
|
1826
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1827
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1828
|
-
---------------------------------------------------------------
|
1829
|
-
Apidae::SelectionsControllerTest: test_should_destroy_selection
|
1830
|
-
---------------------------------------------------------------
|
1831
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1832
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1833
|
-
-------------------------------------------------------
|
1834
|
-
Apidae::SelectionsControllerTest: test_should_get_index
|
1835
|
-
-------------------------------------------------------
|
1836
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1837
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1838
|
-
-----------------------------------------------------
|
1839
|
-
Apidae::SelectionsControllerTest: test_should_get_new
|
1840
|
-
-----------------------------------------------------
|
1841
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1842
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1843
|
-
--------------------------------------------------------------
|
1844
|
-
Apidae::SelectionsControllerTest: test_should_update_selection
|
1845
|
-
--------------------------------------------------------------
|
1846
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1847
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1848
|
-
------------------------------------------------------
|
1849
|
-
Apidae::SelectionsControllerTest: test_should_get_edit
|
1850
|
-
------------------------------------------------------
|
1851
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1852
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1853
|
-
------------------------------------------------------
|
1854
|
-
Apidae::DashboardControllerTest: test_should_get_index
|
1855
|
-
------------------------------------------------------
|
1856
|
-
Processing by Apidae::DashboardController#index as HTML
|
1857
|
-
[1m[36m (11.4ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
1858
|
-
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
1859
|
-
[1m[36mApidae::FileImport Load (7.2ms)[0m [1mSELECT "apidae_file_imports".* FROM "apidae_file_imports" ORDER BY "apidae_file_imports"."id" DESC LIMIT 5[0m
|
1860
|
-
Rendered /Users/jbvilain/workspace/code/apidae-engine-rails/app/views/apidae/dashboard/index.html.erb within layouts/apidae/application (9.3ms)
|
1861
|
-
Completed 500 Internal Server Error in 118ms (ActiveRecord: 32.2ms)
|
1862
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1863
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1864
|
-
----------------------
|
1865
|
-
ApidaeTest: test_truth
|
1866
|
-
----------------------
|
1867
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1868
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1869
|
-
--------------------------------------------------------
|
1870
|
-
Apidae::ObjectsControllerTest: test_should_create_object
|
1871
|
-
--------------------------------------------------------
|
1872
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1873
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1874
|
-
--------------------------------------------------------
|
1875
|
-
Apidae::ObjectsControllerTest: test_should_update_object
|
1876
|
-
--------------------------------------------------------
|
1877
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1878
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1879
|
-
------------------------------------------------------
|
1880
|
-
Apidae::ObjectsControllerTest: test_should_show_object
|
1881
|
-
------------------------------------------------------
|
1882
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1883
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1884
|
-
----------------------------------------------------
|
1885
|
-
Apidae::ObjectsControllerTest: test_should_get_index
|
1886
|
-
----------------------------------------------------
|
1887
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1888
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1889
|
-
---------------------------------------------------
|
1890
|
-
Apidae::ObjectsControllerTest: test_should_get_edit
|
1891
|
-
---------------------------------------------------
|
1892
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1893
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1894
|
-
--------------------------------------------------
|
1895
|
-
Apidae::ObjectsControllerTest: test_should_get_new
|
1896
|
-
--------------------------------------------------
|
1897
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1898
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1899
|
-
---------------------------------------------------------
|
1900
|
-
Apidae::ObjectsControllerTest: test_should_destroy_object
|
1901
|
-
---------------------------------------------------------
|
1902
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1903
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1904
|
-
--------------------------------------------------------
|
1905
|
-
Apidae::FileImportTest: test_existing_selection_deletion
|
1906
|
-
--------------------------------------------------------
|
1907
|
-
[1m[35mSQL (2.2ms)[0m DELETE FROM "apidae_objects"
|
1908
|
-
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "apidae_selections"[0m
|
1909
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1910
|
-
[1m[36mSQL (12.6ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 3"], ["reference", "selection-3"], ["created_at", "2017-11-02 21:50:11.413007"], ["updated_at", "2017-11-02 21:50:11.413007"]]
|
1911
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1912
|
-
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
1913
|
-
[1m[35mApidae::Selection Load (0.3ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
1914
|
-
[1m[36mSQL (6.7ms)[0m [1mDELETE FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = 49063[0m
|
1915
|
-
[1m[35mApidae::Selection Load (0.4ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
1916
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
1917
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1918
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1919
|
-
------------------------------------------------------
|
1920
|
-
Apidae::FileImportTest: test_existing_selection_update
|
1921
|
-
------------------------------------------------------
|
1922
|
-
[1m[35mSQL (0.4ms)[0m DELETE FROM "apidae_objects"
|
1923
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "apidae_selections"[0m
|
1924
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1925
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 503], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-02 21:50:11.476373"], ["updated_at", "2017-11-02 21:50:11.476373"]]
|
1926
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1927
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1928
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-02 21:50:11.480109"], ["updated_at", "2017-11-02 21:50:11.480109"]]
|
1929
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1930
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1931
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-02 21:50:11.483195"], ["updated_at", "2017-11-02 21:50:11.483195"]]
|
1932
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1933
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1934
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 36], ["object_id", 84]]
|
1935
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1936
|
-
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 36]]
|
1937
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1938
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections" WHERE 1=0
|
1939
|
-
[1m[36mApidae::Selection Load (0.3ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49063]]
|
1940
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1941
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1942
|
-
[1m[35mApidae::Object Load (0.4ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 36]]
|
1943
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
1944
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1945
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 36], ["object_id", 85]]
|
1946
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1947
|
-
[1m[36mApidae::Selection Load (0.4ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
1948
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 36]]
|
1949
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
1950
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1951
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1952
|
-
-------------------------------------------------
|
1953
|
-
Apidae::FileImportTest: test_new_object_insertion
|
1954
|
-
-------------------------------------------------
|
1955
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_objects"
|
1956
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_selections"[0m
|
1957
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
1958
|
-
[1m[36mApidae::Town Load (0.5ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
1959
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1960
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["apidae_id", 504], ["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-11-02 21:50:11.548209"], ["updated_at", "2017-11-02 21:50:11.548209"]]
|
1961
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1962
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
1963
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1
|
1964
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1965
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1966
|
-
---------------------------------------------------
|
1967
|
-
Apidae::FileImportTest: test_existing_object_update
|
1968
|
-
---------------------------------------------------
|
1969
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1970
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_selections"
|
1971
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1972
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-02 21:50:11.553511"], ["updated_at", "2017-11-02 21:50:11.553511"]]
|
1973
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1974
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 504]]
|
1975
|
-
[1m[36mApidae::Town Load (0.2ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
1976
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1977
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "apidae_objects" SET "apidae_type" = $1, "apidae_subtype" = $2, "title" = $3, "short_desc" = $4, "long_desc" = $5, "address" = $6, "latitude" = $7, "longitude" = $8, "type_data" = $9, "pictures_data" = $10, "updated_at" = $11 WHERE "apidae_objects"."id" = $12[0m [["apidae_type", "STRUCTURE"], ["apidae_subtype", ""], ["title", "Société des accordéonistes aixois"], ["short_desc", ""], ["long_desc", ""], ["address", "{\"address_fields\":[\"Théâtre de Verdure\",\"Rue Jean Monard\"]}"], ["latitude", 45.686578], ["longitude", 5.916386], ["type_data", "{\"entiteType\":{\"elementReferenceType\":\"StructureType\",\"id\":4008}}"], ["pictures_data", "{\"pictures\":[]}"], ["updated_at", "2017-11-02 21:50:11.558542"], ["id", 87]]
|
1978
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1979
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
1980
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" ORDER BY "apidae_objects"."id" ASC LIMIT 1
|
1981
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1982
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1983
|
-
------------------------------------------------
|
1984
|
-
Apidae::FileImportTest: test_full_import_process
|
1985
|
-
------------------------------------------------
|
1986
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
1987
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_selections"
|
1988
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1989
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 123], ["title", "Objet à supprimer"], ["created_at", "2017-11-02 21:50:11.564630"], ["updated_at", "2017-11-02 21:50:11.564630"]]
|
1990
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1991
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1992
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 4826186], ["title", "Objet à mettre à jour"], ["created_at", "2017-11-02 21:50:11.566072"], ["updated_at", "2017-11-02 21:50:11.566072"]]
|
1993
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1994
|
-
[1m[36mApidae::Object Load (0.7ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4826137]]
|
1995
|
-
[1m[35mApidae::Town Load (0.3ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
1996
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1997
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "pictures_data", "entity_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id" [["apidae_id", 4826137], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "3C-Centre de Coordination en Cancerologie"], ["short_desc", "Réunion de médecins, infirmières, personnel médical. Les centres de coordination en Cancérologie sont des cellules qualités opérationnelles mises en place pour assurer la pluridisciplinarité de la prise en charge du patient. Congres privé."], ["long_desc", ""], ["address", "{\"address_fields\":[\"Rue Jean Monard\"]}"], ["latitude", 45.685888], ["longitude", 5.915215], ["openings", "{\"description\":\"Mardi 7 novembre 2017 de 7h à 19h.\",\"opening_periods\":[{\"identifiant\":13924098,\"dateDebut\":\"2017-11-07\",\"dateFin\":\"2017-11-07\",\"horaireOuverture\":\"07:00:00\",\"horaireFermeture\":\"19:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 544515\n"], ["created_at", "2017-11-02 21:50:11.580285"], ["updated_at", "2017-11-02 21:50:11.580285"]]
|
1998
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1999
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4826186]]
|
2000
|
-
[1m[36mApidae::Town Load (0.2ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30248]]
|
2001
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2002
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "apidae_objects" SET "apidae_type" = $1, "apidae_subtype" = $2, "title" = $3, "short_desc" = $4, "long_desc" = $5, "contact" = $6, "address" = $7, "latitude" = $8, "longitude" = $9, "openings" = $10, "type_data" = $11, "pictures_data" = $12, "entity_data" = $13, "updated_at" = $14 WHERE "apidae_objects"."id" = $15[0m [["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "A ciel ouvert -Vivre relié à l'essentiel"], ["short_desc", "Objet du forum : L’étude et la transmission des cultures et sagesses du monde pour un développement de la sagesse dans notre société moderne occidentale. Ouvert sur inscription"], ["long_desc", ""], ["contact", "{\"website\":\"https://www.acielouvert.org\"}"], ["address", "{\"address_fields\":[\"Rue Jean Monard\"]}"], ["latitude", 45.685775], ["longitude", 5.915461], ["openings", "{\"description\":\"Du samedi 11 au lundi 13 novembre 2017.\",\"opening_periods\":[{\"identifiant\":13924478,\"dateDebut\":\"2017-11-11\",\"dateFin\":\"2017-11-13\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["type_data", "{\"nomLieu\":\"Centre culturel et des congrès André Grosjean\",\"typesManifestation\":[{\"elementReferenceType\":\"FeteEtManifestationType\",\"id\":1966}],\"categories\":[{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2084}],\"portee\":{\"elementReferenceType\":\"FeteEtManifestationPortee\",\"id\":2350},\"nbVisiteursAttendu\":1000}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 544515\n"], ["updated_at", "2017-11-02 21:50:11.587161"], ["id", 89]]
|
2003
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2004
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4826282]]
|
2005
|
-
[1m[35mApidae::Town Load (0.1ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30248]]
|
2006
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2007
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "pictures_data", "entity_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id" [["apidae_id", 4826282], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "Remise des diplômes POLYTECH Annecy-Chambery"], ["short_desc", "La remise des diplomes de l'ecole d'ingenieurs de l'université Savoie Mont Blanc, Polytech Annecy-Chambery, Manifestation privée"], ["long_desc", ""], ["address", "{\"address_fields\":[\"Rue Jean Monard\"]}"], ["latitude", 45.685775], ["longitude", 5.915461], ["openings", "{\"description\":\"Samedi 18 novembre 2017.\",\"opening_periods\":[{\"identifiant\":13925007,\"dateDebut\":\"2017-11-18\",\"dateFin\":\"2017-11-18\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 544515\n"], ["created_at", "2017-11-02 21:50:11.594261"], ["updated_at", "2017-11-02 21:50:11.594261"]]
|
2008
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2009
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4828422]]
|
2010
|
-
[1m[36mApidae::Town Load (0.2ms)[0m [1mSELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 30287]]
|
2011
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2012
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "rates", "type_data", "pictures_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) RETURNING "id"[0m [["apidae_id", 4828422], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "Ex Anima - Théâtre équestre Zingaro"], ["short_desc", "Conception et mise en scène de Bartabas.\r\nLe cheval sera l’acteur principal et central du spectacle, il le sera dans toute sa liberté animale, sa beauté et son lien ancestral à notre culture."], ["long_desc", "On retrouvera bien sûr ses chevaux fétiches mais aussi quelque quarante chevaux magnifiques en quasi-liberté sur la piste. Une nouvelle prouesse pour Bartabas qui s’éclipse avec ses cavaliers pour laisser toute la place au cheval. Chaque spectacle de Zingaro est un événement unique, celui-ci promet déjà de marquer les mémoires !"], ["address", "{\"address_fields\":[]}"], ["latitude", 45.644668], ["longitude", 5.867981], ["openings", "{\"description\":\"Jeudi 19 avril 2018 à 20h30.\\n\\nVendredi 20 avril 2018 à 20h30.\\n\\nSamedi 21 avril 2018 à 20h30.\\n\\nDimanche 22 avril 2018 à 17h.\\n\\nMardi 24 avril 2018 à 20h30.\\n\\nMercredi 25 avril 2018 à 20h30.\\n\\nVendredi 27 avril 2018 à 20h30.\\n\\nSamedi 28 avril 2018 à 20h30.\\n\\nDimanche 29 avril 2018 à 17h.\\n\\nLundi 30 avril 2018 à 20h30.\\n\\nMercredi 2 mai 2018 à 20h30.\\n\\nJeudi 3 mai 2018 à 20h30.\\n\\nSamedi 5 mai 2018 à 20h30.\\n\\nDimanche 6 mai 2018 à 17h.\\n\\nLundi 7 mai 2018 à 20h30.\\n\\nMardi 8 mai 2018 à 19h.\\n\\nJeudi 10 mai 2018 à 19h.\\n\\nVendredi 11 mai 2018 à 20h30.\\n\\nSamedi 12 mai 2018 à 20h30.\\n\\nDimanche 13 mai 2018 à 17h.\",\"opening_periods\":[{\"identifiant\":13951267,\"dateDebut\":\"2018-04-19\",\"dateFin\":\"2018-04-19\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951269,\"dateDebut\":\"2018-04-20\",\"dateFin\":\"2018-04-20\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951275,\"dateDebut\":\"2018-04-21\",\"dateFin\":\"2018-04-21\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951278,\"dateDebut\":\"2018-04-22\",\"dateFin\":\"2018-04-22\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951279,\"dateDebut\":\"2018-04-24\",\"dateFin\":\"2018-04-24\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951282,\"dateDebut\":\"2018-04-25\",\"dateFin\":\"2018-04-25\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951286,\"dateDebut\":\"2018-04-27\",\"dateFin\":\"2018-04-27\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951289,\"dateDebut\":\"2018-04-28\",\"dateFin\":\"2018-04-28\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951291,\"dateDebut\":\"2018-04-29\",\"dateFin\":\"2018-04-29\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951292,\"dateDebut\":\"2018-04-30\",\"dateFin\":\"2018-04-30\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951297,\"dateDebut\":\"2018-05-02\",\"dateFin\":\"2018-05-02\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951298,\"dateDebut\":\"2018-05-03\",\"dateFin\":\"2018-05-03\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951300,\"dateDebut\":\"2018-05-05\",\"dateFin\":\"2018-05-05\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951303,\"dateDebut\":\"2018-05-06\",\"dateFin\":\"2018-05-06\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951307,\"dateDebut\":\"2018-05-07\",\"dateFin\":\"2018-05-07\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951309,\"dateDebut\":\"2018-05-08\",\"dateFin\":\"2018-05-08\",\"horaireOuverture\":\"19:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13951311,\"dateDebut\":\"2018-05-10\",\"dateFin\":\"2018-05-10\",\"horaireOuverture\":\"19:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13968615,\"dateDebut\":\"2018-05-11\",\"dateFin\":\"2018-05-11\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13968617,\"dateDebut\":\"2018-05-12\",\"dateFin\":\"2018-05-12\",\"horaireOuverture\":\"20:30:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false},{\"identifiant\":13968619,\"dateDebut\":\"2018-05-13\",\"dateFin\":\"2018-05-13\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":false}]}"], ["rates", "Plein tarif : 39 €, Tarif réduit : de 15 à 32 € (abonnés Espace Malraux, Bonlieu, La Traverse)."], ["type_data", "{\"nomLieu\":\"La Croix verte\",\"typesManifestation\":[{\"elementReferenceType\":\"FeteEtManifestationType\",\"id\":1958}],\"categories\":[{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2091},{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2147}],\"themes\":[{\"elementReferenceType\":\"FeteEtManifestationTheme\",\"id\":2064},{\"elementReferenceType\":\"FeteEtManifestationTheme\",\"id\":2257}],\"portee\":{\"elementReferenceType\":\"FeteEtManifestationPortee\",\"id\":2351}}"], ["pictures_data", "{\"pictures\":[]}"], ["created_at", "2017-11-02 21:50:11.600916"], ["updated_at", "2017-11-02 21:50:11.600916"]]
|
2013
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2014
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4833997]]
|
2015
|
-
[1m[35mApidae::Town Load (0.1ms)[0m SELECT "apidae_towns".* FROM "apidae_towns" WHERE "apidae_towns"."apidae_id" = $1 LIMIT 1 [["apidae_id", 30287]]
|
2016
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2017
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "apidae_type", "apidae_subtype", "title", "short_desc", "long_desc", "address", "latitude", "longitude", "openings", "rates", "reservation", "type_data", "pictures_data", "entity_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17) RETURNING "id" [["apidae_id", 4833997], ["apidae_type", "FETE_ET_MANIFESTATION"], ["apidae_subtype", ""], ["title", "Les Spécimens - Spectacle familial"], ["short_desc", "Les Spécimens ce sont quatre personnages d'un cirque à la dérive qui essayent de trouver tous les stratagèmes possibles pour renflouer la caisse.\r\nTout au long du spectacle, ils mêlent portés acrobatiques, diabolo, jonglage et dressage à un jeu clownesque."], ["long_desc", "Accompagnés de leurs animaux de compagnie, devenus animaux de cirque, ils se battent pour continuer à jouer leurs numéros.\r\n\r\nUn spectacle qui ravira petits et grands.\r\n\r\nCompagnie du Fil à retordre\r\nAvec Hugo Varret, Héloïse Rodot, Guillaume Lamour, Anouck Wroblewski"], ["address", "{\"address_fields\":[\"Avenue du Lac de Constance\",\"Savoie Technolac\"]}"], ["latitude", 45.645852], ["longitude", 5.865084], ["openings", "{\"description\":\"Samedi 4 novembre à 17h.\",\"opening_periods\":[{\"identifiant\":13969038,\"dateDebut\":\"2017-11-04\",\"dateFin\":\"2017-11-04\",\"horaireOuverture\":\"17:00:00\",\"type\":\"OUVERTURE_TOUS_LES_JOURS\",\"tousLesAns\":true}]}"], ["rates", "Tarif unique : 5 €."], ["reservation", "[]"], ["type_data", "{\"nomLieu\":\"La Traverse\",\"typesManifestation\":[{\"elementReferenceType\":\"FeteEtManifestationType\",\"id\":1958}],\"categories\":[{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2091},{\"elementReferenceType\":\"FeteEtManifestationCategorie\",\"id\":2147}],\"portee\":{\"elementReferenceType\":\"FeteEtManifestationPortee\",\"id\":2351}}"], ["pictures_data", "{\"pictures\":[]}"], ["entity_data", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nentity_id: 80314\n"], ["created_at", "2017-11-02 21:50:11.608465"], ["updated_at", "2017-11-02 21:50:11.608465"]]
|
2018
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2019
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 123]]
|
2020
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2021
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_objects_selections" WHERE "apidae_objects_selections"."object_id" = $1 [["object_id", 88]]
|
2022
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_objects" WHERE "apidae_objects"."id" = $1[0m [["id", 88]]
|
2023
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2024
|
-
[1m[36mApidae::Selection Load (0.1ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
2025
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_selections" WHERE 1=0
|
2026
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1[0m [["apidae_id", 49063]]
|
2027
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2028
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["apidae_id", 49063], ["label", "Sélection 1"], ["reference", "selection-1"], ["created_at", "2017-11-02 21:50:11.715515"], ["updated_at", "2017-11-02 21:50:11.715515"]]
|
2029
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2030
|
-
[1m[36mApidae::Object Load (0.3ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 37]]
|
2031
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4826137]]
|
2032
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2033
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 37], ["object_id", 90]]
|
2034
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2035
|
-
[1m[35mApidae::Object Load (0.1ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1 [["apidae_id", 4826282]]
|
2036
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2037
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id" [["selection_id", 37], ["object_id", 91]]
|
2038
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2039
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1 [["apidae_id", 49073]]
|
2040
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2041
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49073], ["label", "Sélection 2"], ["reference", "selection-2"], ["created_at", "2017-11-02 21:50:11.723659"], ["updated_at", "2017-11-02 21:50:11.723659"]]
|
2042
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2043
|
-
[1m[35mApidae::Object Load (0.2ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 38]]
|
2044
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4826186]]
|
2045
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2046
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 38], ["object_id", 89]]
|
2047
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2048
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4828422]]
|
2049
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2050
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 38], ["object_id", 92]]
|
2051
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2052
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 4833997]]
|
2053
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2054
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 38], ["object_id", 93]]
|
2055
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2056
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
2057
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 37]]
|
2058
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1[0m [["selection_id", 38]]
|
2059
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "apidae_selections"
|
2060
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "apidae_objects"[0m
|
2061
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
2062
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2063
|
-
-----------------------------------------------------
|
2064
|
-
Apidae::FileImportTest: test_existing_object_deletion
|
2065
|
-
-----------------------------------------------------
|
2066
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_objects"
|
2067
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_selections"[0m
|
2068
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2069
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-02 21:50:11.736299"], ["updated_at", "2017-11-02 21:50:11.736299"]]
|
2070
|
-
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
2071
|
-
[1m[36mApidae::Object Load (0.2ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
2072
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2073
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "apidae_objects_selections" WHERE "apidae_objects_selections"."object_id" = $1[0m [["object_id", 94]]
|
2074
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "apidae_objects" WHERE "apidae_objects"."id" = $1 [["id", 94]]
|
2075
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2076
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "apidae_objects"
|
2077
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2078
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2079
|
-
----------------------------------------------------
|
2080
|
-
Apidae::FileImportTest: test_new_selection_insertion
|
2081
|
-
----------------------------------------------------
|
2082
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_objects"[0m
|
2083
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "apidae_selections"
|
2084
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2085
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "apidae_objects" ("apidae_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_id", 504], ["title", "Société des contrebassistes aixois"], ["created_at", "2017-11-02 21:50:11.743548"], ["updated_at", "2017-11-02 21:50:11.743548"]]
|
2086
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2087
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections"
|
2088
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "apidae_selections" WHERE 1=0[0m
|
2089
|
-
[1m[35mApidae::Selection Load (0.2ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" WHERE "apidae_selections"."apidae_id" = $1 ORDER BY "apidae_selections"."id" ASC LIMIT 1 [["apidae_id", 49063]]
|
2090
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2091
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "apidae_selections" ("apidae_id", "label", "reference", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["apidae_id", 49063], ["label", "Sélection 1"], ["reference", "selection-1"], ["created_at", "2017-11-02 21:50:11.747897"], ["updated_at", "2017-11-02 21:50:11.747897"]]
|
2092
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2093
|
-
[1m[35mApidae::Object Load (0.3ms)[0m SELECT "apidae_objects".* FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 39]]
|
2094
|
-
[1m[36mApidae::Object Load (0.1ms)[0m [1mSELECT "apidae_objects".* FROM "apidae_objects" WHERE "apidae_objects"."apidae_id" = $1 LIMIT 1[0m [["apidae_id", 504]]
|
2095
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2096
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "apidae_objects_selections" ("selection_id", "object_id") VALUES ($1, $2) RETURNING "id"[0m [["selection_id", 39], ["object_id", 95]]
|
2097
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2098
|
-
[1m[36mApidae::Selection Load (0.2ms)[0m [1mSELECT "apidae_selections".* FROM "apidae_selections"[0m
|
2099
|
-
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "apidae_objects" INNER JOIN "apidae_objects_selections" ON "apidae_objects"."id" = "apidae_objects_selections"."object_id" WHERE "apidae_objects_selections"."selection_id" = $1 [["selection_id", 39]]
|
2100
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "apidae_selections"[0m
|
2101
|
-
[1m[35mApidae::Selection Load (0.3ms)[0m SELECT "apidae_selections".* FROM "apidae_selections" ORDER BY "apidae_selections"."id" ASC LIMIT 1
|
2102
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2103
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2104
|
-
------------------------------------------------------
|
2105
|
-
Apidae::ImportControllerTest: test_should_get_callback
|
2106
|
-
------------------------------------------------------
|
2107
|
-
Processing by Apidae::ImportController#callback as HTML
|
2108
|
-
Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
|
2109
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|