Script started on Mon 22 Apr 2019 04:19:43 PM +0630
]0;khinsulinn@code2lab ~/sxrestaurant[01;32mkhinsulinn@code2lab[00m [01;34m~/sxrestaurant $[00m rake db:dump
/home/khinsulinn/sxrestaurant/config/application.rb:7: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
rake aborted!
Don't know how to build task 'db:dump' (see --tasks)
Did you mean?  db:_dump
               db:drop

(See full trace by running task with --trace)
]0;khinsulinn@code2lab ~/sxrestaurant[01;32mkhinsulinn@code2lab[00m [01;34m~/sxrestaurant $[00m rake db:dump_dump
/home/khinsulinn/sxrestaurant/config/application.rb:7: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
rake aborted!
Mysql2::Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
/home/khinsulinn/sxrestaurant/config/initializers/mysql2_adapter.rb:26:in `new'
/home/khinsulinn/sxrestaurant/config/initializers/mysql2_adapter.rb:26:in `mysql2_connection'
Tasks: TOP => db:schema:dump
(See full trace by running task with --trace)
]0;khinsulinn@code2lab ~/sxrestaurant[01;32mkhinsulinn@code2lab[00m [01;34m~/sxrestaurant $[00m rake [K[K[K[K[Kbundle exec rake db:data:dump
/home/khinsulinn/sxrestaurant/config/application.rb:7: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
rake aborted!
Don't know how to build task 'db:data:dump' (see --tasks)
Did you mean?  db:_dump
/home/khinsulinn/.rbenv/versions/2.4.1/bin/bundle:22:in `load'
/home/khinsulinn/.rbenv/versions/2.4.1/bin/bundle:22:in `<main>'
(See full trace by running task with --trace)
]0;khinsulinn@code2lab ~/sxrestaurant[01;32mkhinsulinn@code2lab[00m [01;34m~/sxrestaurant $[00m gem 'ya[K[K[K[K[K[K[Krake -T
/home/khinsulinn/sxrestaurant/config/application.rb:7: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
rake about                              # List versions of all Rails framew...
rake app:template                       # Applies the template supplied by ...
rake app:update                         # Update configs and some other ini...
rake assets:clean[keep]                 # Remove old compiled assets
rake assets:clobber                     # Remove compiled assets
rake assets:environment                 # Load asset compile environment
rake assets:precompile                  # Compile all the assets named in c...
rake cache_digests:dependencies         # Lookup first-level dependencies f...
rake cache_digests:nested_dependencies  # Lookup nested dependencies for TE...
rake clear:data                         # Clear Data
rake clear:menu                         # Clear-- Menu
rake clear:stock                        # Clear-- Inventory
rake consolidate:receipt                # Receipt
rake consolidate:receipt_detail         # Receipt Detail
rake db:create                          # Creates the database from DATABAS...
rake db:drop                            # Drops the database from DATABASE_...
rake db:environment:set                 # Set the environment value for the...
rake db:fixtures:load                   # Loads fixtures into the current e...
rake db:migrate                         # Migrate the database (options: VE...
rake db:migrate:status                  # Display status of migrations
rake db:rollback                        # Rolls the schema back to the prev...
rake db:schema:cache:clear              # Clears a db/schema_cache.yml file
rake db:schema:cache:dump               # Creates a db/schema_cache.yml file
rake db:schema:dump                     # Creates a db/schema.rb file that ...
rake db:schema:load                     # Loads a schema.rb file into the d...
rake db:seed                            # Loads the seed data from db/seeds.rb
rake db:setup                           # Creates the database, loads the s...
rake db:structure:dump                  # Dumps the database structure to d...
rake db:structure:load                  # Recreates the databases from the ...
rake db:version                         # Retrieves the current schema vers...
rake dev:cache                          # Toggle development mode caching o...
rake initializers                       # Print out all defined initializer...
rake log:clear                          # Truncates all/specified *.log fil...
rake menu:bitp                          # Menu Bitp
rake menu:osaka                         # Menu Osaka
rake middleware                         # Prints out your Rack middleware s...
rake notes                              # Enumerate all annotations (use no...
rake notes:custom                       # Enumerate a custom annotation, sp...
rake restart                            # Restart app by touching tmp/resta...
rake routes                             # Print out all defined routes in m...
rake secret                             # Generate a cryptographically secu...
rake spec                               # Run all specs in spec directory (...
rake spec:controllers                   # Run the code examples in spec/con...
rake spec:helpers                       # Run the code examples in spec/hel...
rake spec:jobs                          # Run the code examples in spec/jobs
rake spec:models                        # Run the code examples in spec/models
rake spec:requests                      # Run the code examples in spec/req...
rake spec:routing                       # Run the code examples in spec/rou...
rake spec:views                         # Run the code examples in spec/views
rake stats                              # Report code statistics (KLOCs, et...
rake test                               # Runs all tests in test folder exc...
rake test:db                            # Run tests quickly, but also reset db
rake test:system                        # Run system tests only
rake time:zones[country_or_offset]      # List all time zones, list by two-...
rake tmp:clear                          # Clear cache and socket files from...
rake tmp:create                         # Creates tmp directories for cache...
rake yarn:install                       # Install all JavaScript dependenci...
]0;khinsulinn@code2lab ~/sxrestaurant[01;32mkhinsulinn@code2lab[00m [01;34m~/sxrestaurant $[00m rake db:create
/home/khinsulinn/sxrestaurant/config/application.rb:7: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
#<Mysql2::Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)>
Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "pool"=>5, "username"=>"root", "password"=>"root", "socket"=>"/tmp/mysql.sock", "database"=>"SXRestaurants_development"}, {:charset=>"utf8"}
(If you set the charset manually, make sure you have a matching collation)
Created database 'SXRestaurants_development'
#<Mysql2::Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)>
Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "pool"=>5, "username"=>"root", "password"=>"root", "socket"=>"/tmp/mysql.sock", "database"=>"SXRestaurants_test"}, {:charset=>"utf8"}
(If you set the charset manually, make sure you have a matching collation)
Created database 'SXRestaurants_test'
]0;khinsulinn@code2lab ~/sxrestaurant[01;32mkhinsulinn@code2lab[00m [01;34m~/sxrestaurant $[00m rake db:create
/home/khinsulinn/sxrestaurant/config/application.rb:7: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
#<Mysql2::Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)>
Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "pool"=>5, "username"=>"root", "password"=>"root", "socket"=>"/tmp/mysql.sock", "database"=>"SXRestaurants_development"}, {:charset=>"utf8"}
(If you set the charset manually, make sure you have a matching collation)
Created database 'SXRestaurants_development'
#<Mysql2::Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)>
Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "pool"=>5, "username"=>"root", "password"=>"root", "socket"=>"/tmp/mysql.sock", "database"=>"SXRestaurants_test"}, {:charset=>"utf8"}
(If you set the charset manually, make sure you have a matching collation)
Created database 'SXRestaurants_test'
]0;khinsulinn@code2lab ~/sxrestaurant[01;32mkhinsulinn@code2lab[00m [01;34m~/sxrestaurant $[00m rake db:create-T[Kdb:create[Kmysqladmin variables | grep socket
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'khinsulinn'@'localhost' (using password: NO)'
]0;khinsulinn@code2lab ~/sxrestaurant[01;32mkhinsulinn@code2lab[00m [01;34m~/sxrestaurant $[00m mysqladmin variables | grep socket[20Prake db:create
/home/khinsulinn/sxrestaurant/config/application.rb:7: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
Created database 'SXRestaurants_development'
Created database 'SXRestaurants_test'
]0;khinsulinn@code2lab ~/sxrestaurant[01;32mkhinsulinn@code2lab[00m [01;34m~/sxrestaurant $[00m rake[K[K[K[Kbundle exec rake db:schema:load
/home/khinsulinn/sxrestaurant/config/application.rb:7: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
]0;khinsulinn@code2lab ~/sxrestaurant[01;32mkhinsulinn@code2lab[00m [01;34m~/sxrestaurant $[00m bundle exec rake db:migrate
/home/khinsulinn/sxrestaurant/config/application.rb:7: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
== 20170324135138 CreateZones: migrating ======================================
-- create_table(:zones)
   -> 0.4072s
== 20170324135138 CreateZones: migrated (0.4074s) =============================

== 20170325111608 CreateMenus: migrating ======================================
-- create_table(:menus)
   -> 0.3780s
== 20170325111608 CreateMenus: migrated (0.3782s) =============================

== 20170327152733 CreateMenuCategories: migrating =============================
-- create_table(:menu_categories)
   -> 0.9802s
== 20170327152733 CreateMenuCategories: migrated (0.9804s) ====================

== 20170331024747 CreateAccounts: migrating ===================================
-- create_table(:accounts)
   -> 0.3667s
== 20170331024747 CreateAccounts: migrated (0.3670s) ==========================

== 20170331024749 CreateMenuItems: migrating ==================================
-- create_table(:menu_items)
   -> 0.5360s
== 20170331024749 CreateMenuItems: migrated (0.5364s) =========================

== 20170402083337 CreateMenuItemAttributes: migrating =========================
-- create_table(:menu_item_attributes)
   -> 0.3670s
== 20170402083337 CreateMenuItemAttributes: migrated (0.3672s) ================

== 20170402083525 CreateMenuItemOptions: migrating ============================
-- create_table(:menu_item_options)
   -> 0.3891s
== 20170402083525 CreateMenuItemOptions: migrated (0.3892s) ===================

== 20170402084230 CreateMenuItemInstances: migrating ==========================
-- create_table(:menu_item_instances)
   -> 0.5008s
== 20170402084230 CreateMenuItemInstances: migrated (0.5010s) =================

== 20170403135934 CreateOrders: migrating =====================================
-- create_table(:orders, {:id=>false})
   -> 0.5664s
-- add_index(:orders, [:date, :source, :status], {:name=>"index_date_source_status"})
   -> 0.3461s
== 20170403135934 CreateOrders: migrated (0.9127s) ============================

== 20170403140820 CreateOrderItems: migrating =================================
-- create_table(:order_items, {:id=>false})
   -> 0.4459s
== 20170403140820 CreateOrderItems: migrated (0.4461s) ========================

== 20170403142424 CreateDiningFacilities: migrating ===========================
-- create_table(:dining_facilities)
   -> 0.6348s
-- add_index(:dining_facilities, [:status, :type, :is_active])
   -> 0.3000s
== 20170403142424 CreateDiningFacilities: migrated (0.9352s) ==================

== 20170403151731 CreateOrderQueueStations: migrating =========================
-- create_table(:order_queue_stations)
   -> 0.3796s
== 20170403151731 CreateOrderQueueStations: migrated (0.3798s) ================

== 20170403152600 CreateOrderQueueProcessByZones: migrating ===================
-- create_table(:order_queue_process_by_zones)
   -> 0.4891s
== 20170403152600 CreateOrderQueueProcessByZones: migrated (0.4893s) ==========

== 20170403153001 CreatePaymentMethodSettings: migrating ======================
-- create_table(:payment_method_settings)
   -> 0.4001s
== 20170403153001 CreatePaymentMethodSettings: migrated (0.4004s) =============

== 20170403155230 CreateEmployees: migrating ==================================
-- create_table(:employees)
   -> 0.4886s
-- add_index(:employees, [:is_active, :token_session])
   -> 0.3243s
== 20170403155230 CreateEmployees: migrated (0.8133s) =========================

== 20170403155500 CreateCashierTerminals: migrating ===========================
-- create_table(:cashier_terminals)
   -> 0.3570s
== 20170403155500 CreateCashierTerminals: migrated (0.3572s) ==================

== 20170403155531 CreateCashierLoginLogs: migrating ===========================
-- create_table(:cashier_login_logs, {:id=>false, :primary_key=>:cashier_login_log_id})
   -> 0.5443s
== 20170403155531 CreateCashierLoginLogs: migrated (0.5446s) ==================

== 20170403161857 CreateSaleItems: migrating ==================================
-- create_table(:sale_items, {:id=>false})
   -> 3.7309s
-- add_index(:sale_items, [:sale_id, :account_id, :status, :remark, :qty, :unit_price, :taxable_price, :price, :is_taxable], {:name=>"index_sale_items"})
   -> 0.4670s
== 20170403161857 CreateSaleItems: migrated (4.1984s) =========================

== 20170403163219 CreateSaleTaxes: migrating ==================================
-- create_table(:sale_taxes, {:id=>false})
   -> 0.6018s
== 20170403163219 CreateSaleTaxes: migrated (0.6020s) =========================

== 20170403163734 CreateSalePayments: migrating ===============================
-- create_table(:sale_payments, {:id=>false})
   -> 0.4889s
-- add_index(:sale_payments, [:sale_id, :payment_method])
   -> 0.4675s
== 20170403163734 CreateSalePayments: migrated (0.9568s) ======================

== 20170403174029 CreateSaleOrders: migrating =================================
-- create_table(:sale_orders, {:id=>false})
   -> 0.5568s
-- add_index(:sale_orders, [:sale_id, :order_id], {:name=>"index_sale_id_order_id"})
   -> 0.4576s
== 20170403174029 CreateSaleOrders: migrated (1.0149s) ========================

== 20170403174111 CreateSaleAudits: migrating =================================
-- create_table(:sale_audits, {:id=>false})
   -> 0.6575s
-- add_index(:sale_audits, :remark, {:name=>"remark", :type=>:fulltext})
   -> 3.2799s
-- add_index(:sale_audits, [:sale_id, :action, :action_at])
   -> 0.3678s
== 20170403174111 CreateSaleAudits: migrated (4.3056s) ========================

== 20170403174309 CreateLookups: migrating ====================================
-- create_table(:lookups)
   -> 0.6022s
== 20170403174309 CreateLookups: migrated (0.6024s) ===========================

== 20170403183755 CreateTaxProfiles: migrating ================================
-- create_table(:tax_profiles)
   -> 0.5338s
== 20170403183755 CreateTaxProfiles: migrated (0.5340s) =======================

== 20170404034234 CreateBookings: migrating ===================================
-- create_table(:bookings, {:id=>false})
   -> 0.7365s
-- add_index(:bookings, [:checkin_at, :checkout_by, :reserved_by, :booking_status], {:name=>"index_bookings"})
   -> 0.4890s
== 20170404034234 CreateBookings: migrated (1.2261s) ==========================

== 20170408105938 CreateSeedGenerators: migrating =============================
-- create_table(:seed_generators)
   -> 0.4560s
== 20170408105938 CreateSeedGenerators: migrated (0.4563s) ====================

== 20170414071634 CreateMembershipSettings: migrating =========================
-- create_table(:membership_settings)
   -> 0.4553s
== 20170414071634 CreateMembershipSettings: migrated (0.4555s) ================

== 20170414090001 CreateAssignedOrderItems: migrating =========================
-- create_table(:assigned_order_items, {:id=>false})
   -> 0.7917s
-- add_index(:assigned_order_items, :created_at)
   -> 0.3001s
-- add_index(:assigned_order_items, [:item_code, :instance_code, :order_queue_station_id, :delivery_status, :created_at], {:name=>"index_assigned_order_items"})
   -> 0.3696s
== 20170414090001 CreateAssignedOrderItems: migrated (1.4617s) ================

== 20170414110918 CreateBookingOrders: migrating ==============================
-- create_table(:booking_orders, {:id=>false})
   -> 0.6351s
-- add_index(:booking_orders, [:booking_id, :order_id], {:name=>"index_booking_id_order_id"})
   -> 0.5437s
== 20170414110918 CreateBookingOrders: migrated (1.1793s) =====================

== 20170530072247 CreateShops: migrating ======================================
-- create_table(:shops)
   -> 0.3898s
== 20170530072247 CreateShops: migrated (0.3900s) =============================

== 20170611084537 CreateMembershipActions: migrating ==========================
-- create_table(:membership_actions)
   -> 0.5004s
== 20170611084537 CreateMembershipActions: migrated (0.5006s) =================

== 20170622050926 CreateCustomers: migrating ==================================
-- create_table(:customers, {:id=>false})
   -> 0.6554s
-- add_index(:customers, [:name, :membership_id, :customer_type])
   -> 0.4135s
== 20170622050926 CreateCustomers: migrated (1.0693s) =========================

== 20170626191519 CreateShiftSales: migrating =================================
-- create_table(:shift_sales)
   -> 0.7138s
-- add_index(:shift_sales, [:shift_started_at, :shift_closed_at])
   -> 0.7249s
== 20170626191519 CreateShiftSales: migrated (1.4390s) ========================

== 20170627035218 CreatePaymentJournals: migrating ============================
-- create_table(:payment_journals)
   -> 0.4779s
== 20170627035218 CreatePaymentJournals: migrated (0.4781s) ===================

== 20170627085117 DiningQueues: migrating =====================================
-- create_table(:dining_queues)
   -> 0.5445s
== 20170627085117 DiningQueues: migrated (0.5448s) ============================

== 20170628103624 CreatePrintSettings: migrating ==============================
-- create_table(:print_settings)
   -> 0.5337s
== 20170628103624 CreatePrintSettings: migrated (0.5339s) =====================

== 20170701101420 CreateSales: migrating ======================================
-- create_table(:sales, {:id=>false})
   -> 0.7912s
-- add_index(:sales, :created_at, {:name=>"index_created_at"})
   -> 0.4112s
-- add_index(:sales, [:cashier_id, :receipt_date, :payment_status, :sale_status, :shift_sale_id, :created_at], {:name=>"index_sales"})
   -> 0.4459s
== 20170701101420 CreateSales: migrated (1.6488s) =============================

== 20170811052036 CreateDiningCharges: migrating ==============================
-- create_table(:dining_charges)
   -> 0.5349s
== 20170811052036 CreateDiningCharges: migrated (0.5350s) =====================

== 20170811071000 CreateItemSets: migrating ===================================
-- create_table(:item_sets)
   -> 0.4887s
== 20170811071000 CreateItemSets: migrated (0.4889s) ==========================

== 20170811071108 CreateMenuItemSets: migrating ===============================
-- create_table(:menu_item_sets)
   -> 0.6673s
== 20170811071108 CreateMenuItemSets: migrated (0.6675s) ======================

== 20170811071327 CreateMenuInstanceItemSets: migrating =======================
-- create_table(:menu_instance_item_sets)
   -> 0.7801s
== 20170811071327 CreateMenuInstanceItemSets: migrated (0.7804s) ==============

== 20170815044557 CreatePromotion: migrating ==================================
-- create_table(:promotions)
   -> 0.9340s
-- add_index(:promotions, [:promo_start_date, :promo_end_date, :promo_start_hour, :promo_end_hour], {:name=>"index_promotions"})
   -> 0.3333s
== 20170815044557 CreatePromotion: migrated (1.2679s) =========================

== 20170815051517 CreatePromotionProduct: migrating ===========================
-- create_table(:promotion_products)
   -> 0.7127s
== 20170815051517 CreatePromotionProduct: migrated (0.7129s) ==================

== 20170816042256 SettingsProducts: migrating =================================
-- create_table(:products)
   -> 0.3888s
== 20170816042256 SettingsProducts: migrated (0.3891s) ========================

== 20170823081748 CreateInDuties: migrating ===================================
-- create_table(:in_duties)
   -> 0.6782s
== 20170823081748 CreateInDuties: migrated (0.6784s) ==========================

== 20170824110103 CreateInventoryDefinitions: migrating =======================
-- create_table(:inventory_definitions)
   -> 0.4019s
== 20170824110103 CreateInventoryDefinitions: migrated (0.4021s) ==============

== 20170824110117 CreateStockJournals: migrating ==============================
-- create_table(:stock_journals)
   -> 0.6456s
== 20170824110117 CreateStockJournals: migrated (0.6457s) =====================

== 20170824110125 CreateStockChecks: migrating ================================
-- create_table(:stock_checks)
   -> 0.6239s
== 20170824110125 CreateStockChecks: migrated (0.6241s) =======================

== 20170824110130 CreateStockCheckItems: migrating ============================
-- create_table(:stock_check_items)
   -> 0.3889s
== 20170824110130 CreateStockCheckItems: migrated (0.3891s) ===================

== 20170825034141 CreateProductCommissions: migrating =========================
-- create_table(:product_commissions)
   -> 0.6227s
== 20170825034141 CreateProductCommissions: migrated (0.6229s) ================

== 20170825090115 CreateCommissioners: migrating ==============================
-- create_table(:commissioners)
   -> 0.4111s
== 20170825090115 CreateCommissioners: migrated (0.4114s) =====================

== 20171023032411 CreateCashierTerminalByZones: migrating =====================
-- create_table(:cashier_terminal_by_zones)
   -> 0.6782s
== 20171023032411 CreateCashierTerminalByZones: migrated (0.6785s) ============

== 20171106102000 CreateCommissions: migrating ================================
-- create_table(:commissions, {:id=>false})
   -> 0.5670s
== 20171106102000 CreateCommissions: migrated (0.5673s) =======================

== 20171106110505 CreateSurveys: migrating ====================================
-- create_table(:surveys)
   -> 0.6443s
== 20171106110505 CreateSurveys: migrated (0.6446s) ===========================

== 20180108070325 CreateCardSettleTrans: migrating ============================
-- create_table(:card_settle_trans)
   -> 0.3645s
== 20180108070325 CreateCardSettleTrans: migrated (0.3647s) ===================

== 20180109085256 CreateCardSaleTrans: migrating ==============================
-- create_table(:card_sale_trans)
   -> 0.7879s
== 20180109085256 CreateCardSaleTrans: migrated (0.7881s) =====================

== 20180306044939 CreateReceipts: migrating ===================================
-- create_table(:receipts)
   -> 0.5979s
== 20180306044939 CreateReceipts: migrated (0.5982s) ==========================

== 20180306045018 CreateReceiptDetails: migrating =============================
-- create_table(:receipt_details)
   -> 0.4200s
== 20180306045018 CreateReceiptDetails: migrated (0.4203s) ====================

== 20180406080240 CreateOrderReservations: migrating ==========================
-- create_table(:order_reservations, {:id=>false})
   -> 0.6666s
== 20180406080240 CreateOrderReservations: migrated (0.6669s) =================

== 20180406080359 CreateOrderReservationItems: migrating ======================
-- create_table(:order_reservation_items, {:id=>false})
   -> 0.3976s
== 20180406080359 CreateOrderReservationItems: migrated (0.3979s) =============

== 20180406080436 CreateDeliveries: migrating =================================
-- create_table(:deliveries)
   -> 0.5984s
== 20180406080436 CreateDeliveries: migrated (0.5987s) ========================

== 20180521041850 CreateDisplayImages: migrating ==============================
-- create_table(:display_images)
   -> 0.3776s
== 20180521041850 CreateDisplayImages: migrated (0.3780s) =====================

]0;khinsulinn@code2lab ~/sxrestaurant[01;32mkhinsulinn@code2lab[00m [01;34m~/sxrestaurant $[00m rails s
/home/khinsulinn/sxrestaurant/config/application.rb:7: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
=> Booting Puma
=> Rails 5.1.4 application starting in development 
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.10.0 (ruby 2.4.1-p111), codename: Russell's Teapot
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://localhost:3000
Use Ctrl-C to stop
Started GET "/" for ::1 at 2019-04-22 16:40:27 +0630
  [1m[35m (2.2ms)[0m  [1m[35mSET NAMES utf8,  @@SESSION.sql_mode = 'TRADITIONAL',  @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483[0m
  [1m[35m (0.3ms)[0m  [1m[34mSELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC[0m
Processing by HomeController#index as HTML
Redirected to http://localhost:3000/en/activate
Filter chain halted as :lookup_domain rendered or redirected
Completed 302 Found in 11ms (ActiveRecord: 0.0ms)


Started GET "/en/activate" for ::1 at 2019-04-22 16:40:27 +0630
Processing by InstallController#index as HTML
  Parameters: {"locale"=>"en"}
  Rendering install/index.html.erb within layouts/installation
  Rendered install/_form.html.erb (0.5ms)
  Rendered install/index.html.erb within layouts/installation (18.2ms)
Completed 200 OK in 32973ms (Views: 32788.4ms | ActiveRecord: 0.0ms)


Started POST "/activate" for ::1 at 2019-04-22 16:41:09 +0630
Processing by InstallController#activate as HTML
  Parameters: {"restaurant_name"=>"", "license_key"=>"", "db_host"=>"", "db_schema"=>"", "db_user"=>"", "db_password"=>"[FILTERED]"}
/home/khinsulinn/sxrestaurant/app/models/my_aes_crypt.rb:9: warning: constant OpenSSL::Cipher::Cipher is deprecated
Redirected to http://localhost:3000/en/activate
Completed 302 Found in 670ms (ActiveRecord: 0.0ms)


Started GET "/en/activate" for ::1 at 2019-04-22 16:41:09 +0630
Processing by InstallController#index as HTML
  Parameters: {"locale"=>"en"}
  Rendering install/index.html.erb within layouts/installation
  Rendered install/_form.html.erb (0.6ms)
  Rendered install/index.html.erb within layouts/installation (2.4ms)
Completed 200 OK in 24ms (Views: 21.6ms | ActiveRecord: 0.0ms)


^C- Gracefully stopping, waiting for requests to finish
=== puma shutdown: 2019-04-22 17:06:27 +0630 ===
- Goodbye!
Exiting
]0;khinsulinn@code2lab ~/sxrestaurant[01;32mkhinsulinn@code2lab[00m [01;34m~/sxrestaurant $[00m rails sbundle exec rake db:migraterails s[K
/home/khinsulinn/sxrestaurant/config/application.rb:7: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
=> Booting Puma
=> Rails 5.1.4 application starting in development 
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.10.0 (ruby 2.4.1-p111), codename: Russell's Teapot
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://localhost:3000
Use Ctrl-C to stop
Started GET "/en/activate" for ::1 at 2019-04-22 17:06:36 +0630
  [1m[35m (0.3ms)[0m  [1m[35mSET NAMES utf8,  @@SESSION.sql_mode = 'TRADITIONAL',  @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483[0m
  [1m[35m (0.5ms)[0m  [1m[34mSELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC[0m
Processing by InstallController#index as HTML
  Parameters: {"locale"=>"en"}
  Rendering install/index.html.erb within layouts/installation
  Rendered install/_form.html.erb (0.5ms)
  Rendered install/index.html.erb within layouts/installation (3.5ms)
Completed 200 OK in 1112ms (Views: 1081.4ms | ActiveRecord: 0.0ms)


Started GET "/" for ::1 at 2019-04-22 17:06:47 +0630
Processing by HomeController#index as HTML
  [1m[35m (2.8ms)[0m  [1m[34mSELECT DISTINCT `employees`.`role` FROM `employees`[0m
  Rendering layouts/login_dashboard.html.erb
  [1m[36mShop Load (0.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` WHERE `shops`.`id` = 1 LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[36mEmployee Load (0.5ms)[0m  [1m[34mSELECT `employees`.* FROM `employees` WHERE (is_active = true) ORDER BY name asc[0m
  Rendered layouts/login_dashboard.html.erb (340.0ms)
Completed 200 OK in 528ms (Views: 337.7ms | ActiveRecord: 11.2ms)


Started GET "/auth/222" for ::1 at 2019-04-22 17:08:57 +0630
Processing by HomeController#show as HTML
  Parameters: {"emp_id"=>"222"}
  Rendering layouts/login.html.erb
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` WHERE `shops`.`id` = 1 LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  Rendered layouts/login.html.erb (110.8ms)
Completed 200 OK in 114ms (Views: 109.6ms | ActiveRecord: 2.6ms)


Started GET "/auth/favicon.ico" for ::1 at 2019-04-22 17:08:58 +0630
Processing by HomeController#show as 
  Parameters: {"emp_id"=>"favicon"}
  Rendering layouts/login.html.erb
  [1m[36mShop Load (0.5ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  Rendered layouts/login.html.erb (41.4ms)
Completed 200 OK in 47ms (Views: 45.7ms | ActiveRecord: 0.5ms)


Started POST "/en/login" for ::1 at 2019-04-22 17:09:01 +0630
Processing by HomeController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"qEHkgRMD/N1giB7TqTLH4Ym/ShAn7+fSpAbtuoHBo86PcVz3zxT2YNxVryXKEJELtroZxnqHhJzgYD5vcitwpA==", "login_form"=>{"emp_id"=>"222", "password"=>"[FILTERED]"}, "locale"=>"en"}
  [1m[36mEmployee Load (0.3ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`emp_id` = '222' LIMIT 1[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35mSQL (87.7ms)[0m  [1m[33mUPDATE `employees` SET `employees`.`token_session` = '20e3649ff22a629a733f' WHERE `employees`.`id` = 7[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.2ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 11:09:01', `session_last_login` = '2019-04-22 10:39:01', `updated_at` = '2019-04-22 10:39:01' WHERE `employees`.`id` = 7[0m
  [1m[35m (57.1ms)[0m  [1m[35mCOMMIT[0m
Redirected to http://localhost:3000/en/origami/dashboard
Completed 302 Found in 279ms (ActiveRecord: 150.2ms)


Started GET "/en/origami/dashboard" for ::1 at 2019-04-22 17:09:01 +0630
Processing by Origami::DashboardController#index as HTML
  Parameters: {"locale"=>"en"}
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 11:39:01' WHERE `employees`.`id` = 7[0m
  [1m[35m (60.1ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mShop Load (0.8ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[36mLookup Load (0.9ms)[0m  [1m[34mSELECT  `lookups`.* FROM `lookups` WHERE `lookups`.`lookup_type` = 'display_type' LIMIT 1[0m
  [1m[36mShiftSale Load (0.7ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m
  [1m[36mCACHE ShiftSale Load (0.0ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mSale Load (18.5ms)[0m  [1m[34mSELECT  count(sale_id) as total_receipt, (case when sum(total_amount) > 0 then sum(total_amount) else 0.0 end) as total_amount, (case when sum(grand_total) > 0 then sum(grand_total) else 0.0 end) as grand_total, (case when sum(total_discount) > 0 then sum(total_discount) else 0.0 end) as total_discount, (case when sum(total_tax) > 0 then sum(total_tax) else 0.0 end) as total_tax FROM `sales` WHERE (sale_status = "completed") ORDER BY `sales`.`sale_id` ASC LIMIT 1[0m
  [1m[36mCACHE ShiftSale Load (0.0ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mSale Load (35.2ms)[0m  [1m[34mSELECT  (CASE WHEN c.customer_type='Dinein' THEN count(sales.customer_id) ELSE 0 END) as total_dinein_cus, (CASE WHEN c.customer_type='Takeaway' THEN count(sales.customer_id) ELSE 0 END) as total_take_cus FROM `sales` JOIN customers as c ON c.customer_id = sales.customer_id WHERE (sales.sale_status = "completed" and c.membership_id is null) ORDER BY `sales`.`sale_id` ASC LIMIT 1[0m
  [1m[36mCACHE ShiftSale Load (0.0ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mSale Load (0.6ms)[0m  [1m[34mSELECT  count(distinct sales.customer_id) as total_memb_cus FROM `sales` JOIN customers as c ON c.customer_id = sales.customer_id WHERE (sales.sale_status = "completed" and ((c.customer_type = "Dinein" and c.membership_id is not null) or (c.customer_type = "Takeaway" and c.membership_id is not null))) ORDER BY `sales`.`sale_id` ASC LIMIT 1[0m
  [1m[36mCACHE ShiftSale Load (0.0ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mSale Load (245.3ms)[0m  [1m[34mSELECT  count(distinct a.order_id) as total_order FROM `sales` JOIN sale_orders as a ON a.sale_id = sales.sale_id JOIN orders as b ON b.order_id = a.order_id WHERE (b.status = "billed") ORDER BY `sales`.`sale_id` ASC LIMIT 1[0m
  [1m[36mCACHE ShiftSale Load (0.0ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mCACHE ShiftSale Load (0.0ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mSale Load (417.9ms)[0m  [1m[34mSELECT  a.product_name as item_name, SUM(a.price) as item_total_price FROM `sales` JOIN sale_items as a ON a.sale_id = sales.sale_id WHERE ((a.qty > 0 and a.price > 0) and payment_status='paid' and sales.sale_status = 'completed') GROUP BY a.product_code ORDER BY SUM(a.qty) DESC LIMIT 1[0m
  [1m[36mCACHE ShiftSale Load (0.1ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m  [["LIMIT", 1]]
  [1m[35m (2.7ms)[0m  [1m[34mSELECT COUNT(*) FROM `sales` JOIN sale_items as a ON a.sale_id = sales.sale_id WHERE (sales.sale_status = 'completed' and a.status='foc' and a.product_name like '%FOC%')[0m
  [1m[36mPrintSetting Load (0.5ms)[0m  [1m[34mSELECT  `print_settings`.* FROM `print_settings` WHERE `print_settings`.`unique_code` = 'CloseCashierPdf' LIMIT 1[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'dinein_cashier'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'quick_service'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'food_court'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'dashboard_settings'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'reservation'[0m
  Rendering origami/dashboard/index.html.erb within layouts/origami
  Rendered origami/dashboard/index.html.erb within layouts/origami (2.7ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (6.1ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_left_sidebar.html.erb (131.7ms)
  Rendered layouts/_right_sidebar.html.erb (0.5ms)
Completed 200 OK in 1358ms (Views: 404.4ms | ActiveRecord: 790.7ms)


Started GET "/cable" for ::1 at 2019-04-22 17:09:03 +0630
Started GET "/origami/get_order_info" for ::1 at 2019-04-22 17:09:03 +0630
Processing by Origami::OrderReservationController#get_order_info as JSON
  [1m[36mEmployee Load (1.8ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (37.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (1.6ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.9ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (1.8ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:09:03 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
  [1m[35mSQL (4.4ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 12:09:01', `updated_at` = '2019-04-22 10:39:03' WHERE `employees`.`id` = 7[0m
  [1m[35m (59.1ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.5ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (0.4ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_reservations` WHERE (status = 'new')[0m
Completed 200 OK in 164ms (Views: 0.2ms | ActiveRecord: 108.8ms)


Started GET "/origami/get_all_menu" for ::1 at 2019-04-22 17:09:04 +0630
Processing by Origami::DashboardController#get_all_menu as */*
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.4ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 12:39:01', `updated_at` = '2019-04-22 10:39:04' WHERE `employees`.`id` = 7[0m
  [1m[35m (63.8ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.5ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
[SX-ActionCable] OrderChannel is streaming from order_channel
  Rendering origami/dashboard/get_all_menu.json.jbuilder
  [1m[36mMenu Load (0.5ms)[0m  [1m[34mSELECT `menus`.* FROM `menus` WHERE (is_active = true) ORDER BY created_at asc[0m
  [1m[36mLookup Load (1.4ms)[0m  [1m[34mSELECT  `lookups`.* FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_by' LIMIT 1[0m
  [1m[36mMenuCategory Load (2.3ms)[0m  [1m[34mSELECT `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_id` = 3 ORDER BY order_by asc[0m
  [1m[36mMenuCategory Load (0.4ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 51 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 51 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenu Load (1.1ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m
  [1m[36mMenuItem Load (0.7ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 51 ORDER BY item_code asc[0m
  [1m[36mMenuItemAttribute Load (0.3ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m
  [1m[36mMenuItemOption Load (0.3ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m
  [1m[36mMenuItemOption Load (1.1ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m
  [1m[36mItemSet Load (1.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 440[0m
  [1m[36mMenuItemInstance Load (1.2ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 440[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (263.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 449[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 449[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 450[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 450[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 62 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 62 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 62 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 492[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 492[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 493[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 493[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 504[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 504[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (3.8ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 16 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.2ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 16 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.6ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 16 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mMenuItemOption Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m
  [1m[36mMenuItemOption Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m
  [1m[36mShop Load (0.2ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[36mItemSet Load (0.5ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 148[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 148[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 144[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 144[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 143[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 143[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 593[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 593[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (9.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 594[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 594[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 595[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 595[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 596[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 596[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 597[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 597[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 509[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 509[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 598[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 598[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 599[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 599[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mMenuItemOption Load (0.3ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 11 LIMIT 1[0m
  [1m[36mMenuItemOption Load (0.3ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 12 LIMIT 1[0m
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 600[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 600[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 601[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 601[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 147[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 147[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 154[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 154[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 155[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 155[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 156[0m
  [1m[36mMenuItemInstance Load (0.6ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 156[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 442[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 442[0m
  [1m[36mCACHE MenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 11 LIMIT 1[0m  [["id", 11], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 602[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 602[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 499[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 499[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 496[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 496[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 497[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 497[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 151[0m
  [1m[36mMenuItemInstance Load (0.8ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 151[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 506[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 506[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.1ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 603[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 603[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 498[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 498[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mMenuCategory Load (0.4ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 49 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 49 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 49 ORDER BY item_code asc[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 20 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 20 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 20 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 11 LIMIT 1[0m  [["id", 11], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 195[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 195[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 11 LIMIT 1[0m  [["id", 11], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 197[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 197[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mMenuItemAttribute Load (0.3ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.3ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 11 LIMIT 1[0m  [["id", 11], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 604[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 604[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (9.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 605[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 605[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mMenuCategory Load (0.4ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 50 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 50 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 50 ORDER BY item_code asc[0m
  [1m[36mMenuCategory Load (0.4ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 18 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 18 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.5ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 18 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 606[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 606[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 607[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 607[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 608[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 608[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 164[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 164[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 163[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 163[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 170[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 170[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 171[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 171[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (20.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 159[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 159[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 169[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 169[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.3ms)
  [1m[36mMenuCategory Load (0.4ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 52 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 52 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.3ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 52 ORDER BY item_code asc[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 26 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 26 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.5ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 26 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 609[0m
  [1m[36mMenuItemInstance Load (1.0ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 609[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 11 LIMIT 1[0m  [["id", 11], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 224[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 224[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 227[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 227[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 500[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 500[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 223[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 223[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 226[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 226[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.6ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 28 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 28 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.6ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 28 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 610[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 610[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 611[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 611[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 612[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 612[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 613[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 613[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 614[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 614[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 615[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 615[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 616[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 616[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 617[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 617[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (1.6ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 618[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 618[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 619[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 619[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 620[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 620[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 621[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 621[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 622[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 622[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 624[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 624[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 235[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 235[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.3ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 22 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.2ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 22 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 22 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 11 LIMIT 1[0m  [["id", 11], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 625[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 625[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 626[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 626[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 11 LIMIT 1[0m  [["id", 11], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 627[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 627[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 212[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 212[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 628[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 628[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 629[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 629[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 630[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 630[0m
  [1m[36mCACHE MenuItemAttribute Load (0.1ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 631[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 631[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 29 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.2ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 29 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 29 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.5ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 236[0m
  [1m[36mMenuItemInstance Load (0.9ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 236[0m
  [1m[36mMenuItemAttribute Load (0.4ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m
  Rendered origami/addorders/_menu_item.json.jbuilder (8.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 237[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 237[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 238[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 238[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 239[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 239[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.2ms)
  [1m[36mMenuCategory Load (0.4ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 30 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 30 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.5ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 30 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 240[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 240[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 241[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 241[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 242[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 242[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 243[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 243[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 244[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 244[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 245[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 245[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 246[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 246[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 247[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 247[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 248[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 248[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 249[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 249[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 250[0m
  [1m[36mMenuItemInstance Load (0.8ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 250[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.2ms)
  [1m[36mMenuCategory Load (0.4ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 31 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 31 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.5ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 31 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 251[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 251[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 252[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 252[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 253[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 253[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 254[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 254[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 255[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 255[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 256[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 256[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 257[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 257[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 258[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 258[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 259[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 259[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 260[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 260[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.5ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 261[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 261[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 262[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 262[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 263[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 263[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 264[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 264[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.8ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 32 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.2ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 32 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (95.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 32 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 265[0m
  [1m[36mMenuItemInstance Load (0.5ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 265[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 266[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 266[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.1ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 267[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 267[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 268[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 268[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 269[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 269[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 270[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 270[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 271[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 271[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 33 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.2ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 33 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 33 ORDER BY item_code asc[0m
  [1m[36mMenuItemAttribute Load (0.4ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 272[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 272[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m
  Rendered origami/addorders/_menu_item.json.jbuilder (7.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m  [["id", 6], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 273[0m
  [1m[36mMenuItemInstance Load (0.5ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 273[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m  [["id", 6], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m  [["id", 6], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 274[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 274[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m  [["id", 6], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m  [["id", 6], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 275[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 275[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.1ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m  [["id", 6], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (10.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m  [["id", 6], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 276[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 276[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m  [["id", 6], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m  [["id", 6], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 277[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 277[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m  [["id", 6], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m  [["id", 6], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 278[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 278[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m  [["id", 6], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.1ms)
  [1m[36mMenuCategory Load (0.4ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 34 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 34 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.5ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 34 ORDER BY item_code asc[0m
  [1m[36mMenuItemAttribute Load (0.3ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 279[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 279[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (9.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 280[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 280[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 282[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 282[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mMenuItemAttribute Load (0.3ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m
  Rendered origami/addorders/_menu_item.json.jbuilder (6.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 283[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 283[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 284[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 284[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 285[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 285[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.4ms)
  [1m[36mMenuCategory Load (1.1ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 35 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 35 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 35 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 286[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 286[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.6ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (11.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 288[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 288[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 289[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 289[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.5ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 290[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 290[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 291[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 291[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 292[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 292[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 293[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 293[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mMenuItemAttribute Load (0.3ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 295[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 295[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mMenuItemAttribute Load (0.3ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m
  Rendered origami/addorders/_menu_item.json.jbuilder (6.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 296[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 296[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 297[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 297[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.6ms)
  [1m[36mMenuCategory Load (0.4ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 36 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 36 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 36 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (1.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 298[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 298[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.4ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 37 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 37 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 37 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (1.5ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 299[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 299[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (10.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 300[0m
  [1m[36mMenuItemInstance Load (1.0ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 300[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 301[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 301[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 302[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 302[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 303[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 303[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 304[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 304[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 305[0m
  [1m[36mMenuItemInstance Load (0.2ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 305[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.4ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 38 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.2ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 38 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 38 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 306[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 306[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 307[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 307[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 308[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 308[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 310[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 310[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 311[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 311[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (29.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 312[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 312[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 39 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.2ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 39 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 39 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 313[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 313[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 314[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 314[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 315[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 315[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 316[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 316[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 318[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 318[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 319[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 319[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 320[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 320[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 321[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 321[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 322[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 322[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.4ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 40 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.2ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 40 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (1.6ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 40 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 323[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 323[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 324[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 324[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 325[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 325[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 326[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 326[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 327[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 327[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 328[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 328[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 329[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 329[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 330[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 330[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 331[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 331[0m
  Rendered origami/addorders/_menu_item.json.jbuilder (4.3ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 41 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 41 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 41 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 332[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 332[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 333[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 333[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.9ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 334[0m
  [1m[36mMenuItemInstance Load (1.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 334[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 335[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 335[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (1.0ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 336[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 336[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 337[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 337[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.1ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 42 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 42 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 42 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 338[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 338[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 341[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 341[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 43 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 43 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.5ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 43 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 342[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 342[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 343[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 343[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 344[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 344[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 345[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 345[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 346[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 346[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 347[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 347[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 350[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 350[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 351[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 351[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 352[0m
  [1m[36mMenuItemInstance Load (0.8ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 352[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 353[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 353[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 354[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 354[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 355[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 355[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 356[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 356[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 357[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 357[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 358[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 358[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 359[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 359[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 360[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 360[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 361[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 361[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 44 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 44 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.3ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 44 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 362[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 362[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 45 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 45 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.6ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 45 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 363[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 363[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 364[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 364[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 365[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 365[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 366[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 366[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.8ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 367[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 367[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 368[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 368[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 369[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 369[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 370[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 370[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 371[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 371[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 372[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 372[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (10.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 373[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 373[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 7 LIMIT 1[0m  [["id", 7], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 375[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 375[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 376[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 376[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mMenuCategory Load (0.4ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 46 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 46 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 46 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mMenuItemAttribute Load (0.3ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 11 LIMIT 1[0m
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 377[0m
  [1m[36mMenuItemInstance Load (0.9ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 377[0m
  [1m[36mMenuItemAttribute Load (0.6ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 11 LIMIT 1[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 378[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 378[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 9 LIMIT 1[0m  [["id", 9], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mMenuCategory Load (0.4ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 47 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.8ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 47 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.5ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 47 ORDER BY item_code asc[0m
  [1m[36mMenuItemAttribute Load (0.3ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 379[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 379[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m
  Rendered origami/addorders/_menu_item.json.jbuilder (8.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 380[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 380[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 381[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 381[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 382[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 382[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 383[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 383[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 384[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 384[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 385[0m
  [1m[36mMenuItemInstance Load (0.2ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 385[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 386[0m
  [1m[36mMenuItemInstance Load (0.2ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 386[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 387[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 387[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 388[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 388[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 389[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 389[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 390[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 390[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.5ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 391[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 391[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (9.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 392[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 392[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 393[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 393[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 394[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 394[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 395[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 395[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 396[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 396[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 397[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 397[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 398[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 398[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 399[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 399[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 400[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 400[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 401[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 401[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 402[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 402[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 403[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 403[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (1.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 404[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 404[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (10.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 405[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 405[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.7ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 406[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 406[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 407[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 407[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 408[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 408[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (16.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 409[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 409[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 410[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 410[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 417[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 417[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 14 LIMIT 1[0m  [["id", 14], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 418[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 418[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 507[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 507[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.1ms)
  [1m[36mMenuCategory Load (0.4ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 56 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 56 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 56 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 428[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 428[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.5ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 429[0m
  [1m[36mMenuItemInstance Load (1.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 429[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (9.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 430[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 430[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 431[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 431[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 432[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 432[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 433[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 433[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 434[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 434[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 435[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 435[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mMenuItemAttribute Load (0.3ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 21 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 22 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 23 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 24 LIMIT 1[0m
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 25 LIMIT 1[0m
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 436[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 436[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 21 LIMIT 1[0m  [["id", 21], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 22 LIMIT 1[0m  [["id", 22], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 23 LIMIT 1[0m  [["id", 23], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 24 LIMIT 1[0m  [["id", 24], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 25 LIMIT 1[0m  [["id", 25], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (9.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 438[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 438[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 452[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 452[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 482[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 482[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.3ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 57 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 57 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.5ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 57 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 445[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 445[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m  [["id", 6], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 446[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 446[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 6 LIMIT 1[0m  [["id", 6], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.1ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 447[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 447[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 448[0m
  [1m[36mMenuItemInstance Load (0.8ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 448[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 451[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 451[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 475[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 475[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 477[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 477[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (3.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 480[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 480[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (3.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 481[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 481[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 495[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 495[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (3.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 508[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 508[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.0ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 58 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 58 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 58 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 453[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 453[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 454[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 454[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 455[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 455[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 456[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 456[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 457[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 457[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 458[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 458[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 459[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 459[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (1.9ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 460[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 460[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 505[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 505[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.5ms)
  [1m[36mMenuCategory Load (1.0ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 59 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.4ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 59 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 59 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 461[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 461[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 462[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 462[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 463[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 463[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 464[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 464[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 465[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 465[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 466[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 466[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.1ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 60 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.2ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 60 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 60 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 467[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 467[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mMenuItemAttribute Load (0.2ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 18 LIMIT 1[0m
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 468[0m
  [1m[36mMenuItemInstance Load (1.1ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 468[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 18 LIMIT 1[0m  [["id", 18], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (10.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 469[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 469[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 470[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 470[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 471[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 471[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 472[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 472[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 473[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 473[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 474[0m
  [1m[36mMenuItemInstance Load (0.9ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 474[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 8 LIMIT 1[0m  [["id", 8], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.9ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 61 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 61 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 61 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.5ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 491[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 491[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 5 LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.7ms)
  [1m[36mMenuCategory Load (0.4ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 64 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 64 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 64 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 514[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 514[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 515[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 515[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 516[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 516[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 517[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 517[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 518[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 518[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 519[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 519[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 520[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 520[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 521[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 521[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 522[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 522[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 523[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 523[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 524[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 524[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 632[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 632[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.8ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 65 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 65 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 3 ORDER BY created_at asc LIMIT 1[0m  [["id", 3], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.8ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 65 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 525[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 525[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 526[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 526[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 527[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 527[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 528[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 528[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 529[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 529[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 530[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 530[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 531[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 531[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 532[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 532[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 533[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 533[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 534[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 534[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 535[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 535[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (3.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 536[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 536[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 537[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 537[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 538[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 538[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 539[0m
  [1m[36mMenuItemInstance Load (0.8ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 539[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 540[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 540[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 541[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 541[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.1ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 542[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 542[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 543[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 543[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 544[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 544[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 545[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 545[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 546[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 546[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 547[0m
  [1m[36mMenuItemInstance Load (0.6ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 547[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 548[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 548[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.7ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 549[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 549[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 550[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 550[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 551[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 551[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 11 LIMIT 1[0m  [["id", 11], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 552[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 552[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 11 LIMIT 1[0m  [["id", 11], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 553[0m
  [1m[36mMenuItemInstance Load (0.6ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 553[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (9.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 554[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 554[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.1ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 555[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 555[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 556[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 556[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 557[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 557[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 558[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 558[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (14.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 559[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 559[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 560[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 560[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 561[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 561[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.9ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 562[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 562[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 563[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 563[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 564[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 564[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 11 LIMIT 1[0m  [["id", 11], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mMenuItemOption Load (0.3ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 14 LIMIT 1[0m
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 565[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 565[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 566[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 566[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.7ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 567[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 567[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 568[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 568[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 569[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 569[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 570[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 570[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.9ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 571[0m
  [1m[36mMenuItemInstance Load (0.6ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 571[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (7.5ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 572[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 572[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 573[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 573[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.4ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 574[0m
  [1m[36mMenuItemInstance Load (0.4ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 574[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 575[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 575[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 576[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 576[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 577[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 577[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 578[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 578[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 579[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 579[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 580[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 580[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 581[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 581[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.8ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 583[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 583[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (6.2ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 584[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 584[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (10.4ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 11 LIMIT 1[0m  [["id", 11], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 585[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 585[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (11.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.1ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 11 LIMIT 1[0m  [["id", 11], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 586[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 586[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.2ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 11 LIMIT 1[0m  [["id", 11], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 12 LIMIT 1[0m  [["id", 12], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 587[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 587[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 15 LIMIT 1[0m  [["id", 15], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 17 LIMIT 1[0m  [["id", 17], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 16 LIMIT 1[0m  [["id", 16], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (6.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 588[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 588[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 589[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 589[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 19 LIMIT 1[0m  [["id", 19], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 590[0m
  [1m[36mMenuItemInstance Load (0.2ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 590[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.7ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 591[0m
  [1m[36mMenuItemInstance Load (0.2ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 591[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 592[0m
  [1m[36mMenuItemInstance Load (0.2ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 592[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.1ms)
  Rendered origami/dashboard/_menu.json.jbuilder (3472.0ms)
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT  `lookups`.* FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_by' LIMIT 1[0m  [["lookup_type", "order_by"], ["LIMIT", 1]]
  [1m[36mMenuCategory Load (1.0ms)[0m  [1m[34mSELECT `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_id` = 5 ORDER BY order_by asc[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 53 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 53 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenu Load (0.3ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 5 ORDER BY created_at asc LIMIT 1[0m
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 53 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 419[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 419[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.6ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 420[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 420[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.6ms)
  [1m[36mMenuCategory Load (1.2ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 54 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 54 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 5 ORDER BY created_at asc LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 54 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.1ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 421[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 421[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (8.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 422[0m
  [1m[36mMenuItemInstance Load (1.0ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 422[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (5.0ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 423[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 423[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.2ms)
  [1m[36mMenuCategory Load (0.3ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`menu_category_id` = 55 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mMenuCategory Load (0.2ms)[0m  [1m[34mSELECT  `menu_categories`.* FROM `menu_categories` WHERE `menu_categories`.`id` = 55 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mCACHE Menu Load (0.0ms)[0m  [1m[34mSELECT  `menus`.* FROM `menus` WHERE `menus`.`id` = 5 ORDER BY created_at asc LIMIT 1[0m  [["id", 5], ["LIMIT", 1]]
  [1m[36mMenuItem Load (0.4ms)[0m  [1m[34mSELECT `menu_items`.* FROM `menu_items` WHERE `menu_items`.`menu_category_id` = 55 ORDER BY item_code asc[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 424[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 424[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.3ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 425[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 425[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.1ms)
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 10 LIMIT 1[0m  [["id", 10], ["LIMIT", 1]]
  [1m[36mCACHE MenuItemOption Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_options`.* FROM `menu_item_options` WHERE `menu_item_options`.`id` = 13 LIMIT 1[0m  [["id", 13], ["LIMIT", 1]]
  [1m[36mItemSet Load (0.3ms)[0m  [1m[34mSELECT `item_sets`.* FROM `item_sets` INNER JOIN `menu_item_sets` ON `item_sets`.`id` = `menu_item_sets`.`item_set_id` WHERE `menu_item_sets`.`menu_item_id` = 426[0m
  [1m[36mMenuItemInstance Load (0.3ms)[0m  [1m[34mSELECT `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`menu_item_id` = 426[0m
  [1m[36mCACHE MenuItemAttribute Load (0.0ms)[0m  [1m[34mSELECT  `menu_item_attributes`.* FROM `menu_item_attributes` WHERE `menu_item_attributes`.`id` = 4 LIMIT 1[0m  [["id", 4], ["LIMIT", 1]]
  Rendered origami/addorders/_menu_item.json.jbuilder (4.3ms)
  Rendered origami/dashboard/_menu.json.jbuilder (72.1ms)
  Rendered origami/dashboard/get_all_menu.json.jbuilder (3841.7ms)
Completed 200 OK in 3957ms (Views: 3348.0ms | ActiveRecord: 592.8ms)


Started GET "/" for ::1 at 2019-04-22 17:17:33 +0630
Processing by HomeController#index as HTML
  [1m[36mEmployee Load (1.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.6ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.6ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.6ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.4ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 13:09:01', `updated_at` = '2019-04-22 10:47:33' WHERE `employees`.`id` = 7[0m
  [1m[35m (99.2ms)[0m  [1m[35mCOMMIT[0m
  [1m[35m (1.8ms)[0m  [1m[34mSELECT DISTINCT `employees`.`role` FROM `employees`[0m
  Rendering layouts/login_dashboard.html.erb
  [1m[36mShop Load (0.5ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[36mEmployee Load (0.7ms)[0m  [1m[34mSELECT `employees`.* FROM `employees` WHERE (is_active = true) ORDER BY name asc[0m
  Rendered layouts/login_dashboard.html.erb (102.2ms)
Completed 200 OK in 234ms (Views: 105.2ms | ActiveRecord: 105.7ms)


Started GET "/origami" for ::1 at 2019-04-22 17:27:04 +0630
Processing by Origami::HomeController#index as HTML
  [1m[36mEmployee Load (0.8ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.5ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.4ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 13:39:01', `updated_at` = '2019-04-22 10:57:04' WHERE `employees`.`id` = 7[0m
  [1m[35m (50.4ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.5ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (0.4ms)[0m  [1m[34mSELECT customer_id, name FROM `customers`[0m
  [1m[36mShop Load (0.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(*) FROM `dining_facilities` WHERE (status='occupied')[0m
  [1m[36mShiftSale Load (0.5ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m
  Rendering origami/home/index.html.erb within layouts/origami
  [1m[36mSale Load (467.0ms)[0m  [1m[34mSELECT `sales`.* FROM `sales` join sale_orders as sale_orders on sale_orders.sale_id = sales.sale_id join orders as orders on orders.order_id = sale_orders.order_id WHERE (sales.sale_status != 'new' AND orders.status = 'billed' and orders.source = 'emenu' or orders.source = 'cashier') AND (DATE_FORMAT(sales.receipt_date,'%Y-%m-%d') = '2019-04-22' ) GROUP BY sales.sale_id[0m
  [1m[36mTable Load (0.7ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Table') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mRoom Load (0.5ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Room') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[36mOrder Load (0.5ms)[0m  [1m[34mSELECT `orders`.* FROM `orders` WHERE (DATE_FORMAT(date,'%Y-%m-%d') = '2019-04-22' and status != 'billed' and source != 'quick_service') ORDER BY date desc[0m
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered origami/home/index.html.erb within layouts/origami (605.9ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (7.0ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_left_sidebar.html.erb (7.6ms)
  Rendered layouts/_right_sidebar.html.erb (0.4ms)
Completed 200 OK in 767ms (Views: 200.1ms | ActiveRecord: 530.3ms)


[SX-ActionCable] Finished "/cable/" [WebSocket] for ::1 at 2019-04-22 17:27:05 +0630
[SX-ActionCable] BillChannel stopped streaming from bill_channel
[SX-ActionCable] CheckNewOrderChannel stopped streaming from check_new_order_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel stopped streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CheckinChannel stopped streaming from checkin_channel
[SX-ActionCable] OrderChannel stopped streaming from order_channel
[SX-ActionCable] OrderQueueStationChannel stopped streaming from order_queue_station_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel stopped streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] CheckInBookingChannel stopped streaming from check_in_booking_channel
[SX-ActionCable] SecondDisplayViewChannel stopped streaming from second_display_view_channel
[SX-ActionCable] SoundEffectChannel stopped streaming from sound_effect_channel
[SX-ActionCable] CallWaiterChannel stopped streaming from call_waiter_channel
[SX-ActionCable] OrderReservationChannel stopped streaming from order_reservation_channel
[SX-ActionCable] SecondDisplayChannel stopped streaming from second_display_channel
Started GET "/cable" for ::1 at 2019-04-22 17:27:05 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:27:05 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is streaming from order_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
Started GET "/origami/get_order_info" for ::1 at 2019-04-22 17:27:05 +0630
Processing by Origami::OrderReservationController#get_order_info as JSON
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.3ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 14:09:01', `updated_at` = '2019-04-22 10:57:05' WHERE `employees`.`id` = 7[0m
  [1m[35m (152.2ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.9ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (0.8ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_reservations` WHERE (status = 'new')[0m
Completed 200 OK in 166ms (Views: 0.5ms | ActiveRecord: 155.6ms)


Started POST "/origami/cashier/credit_sales" for ::1 at 2019-04-22 17:27:05 +0630
Processing by Origami::DashboardController#get_credit_sales as JSON
  Parameters: {"receipt_no"=>"", "customer_id"=>"", "type"=>"cashier"}
  [1m[36mEmployee Load (1.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.9ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (3.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (1.2ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.9ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 14:39:01' WHERE `employees`.`id` = 7[0m
  [1m[35m (140.0ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mSalePayment Load (216.9ms)[0m  [1m[34mSELECT s.receipt_no, sale_payments.sale_payment_id, 
                                sale_payments.payment_method, 
                                SUM(sale_payments.payment_amount) as payment_amount,
                                s.receipt_date as sale_date,
                                s.sale_id,
                                s.cashier_name as cashier_name, c.name as customer_name FROM `sale_payments` INNER JOIN sales s ON s.sale_id = sale_payments.sale_id INNER JOIN customers c ON c.customer_id = s.customer_id WHERE ((CASE WHEN (s.grand_total + s.amount_changed)=(select SUM(payment_amount) FROM sale_payments WHERE sale_id=s.sale_id AND payment_method!='creditnote') THEN NULL ELSE payment_method='creditnote' AND (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='cashier' OR (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='emenu' END) and s.sale_status = 'completed' and s.payment_status='paid'  ) GROUP BY s.receipt_no ORDER BY s.receipt_date ASC, s.receipt_no ASC[0m
Completed 200 OK in 496ms (Views: 0.2ms | ActiveRecord: 402.0ms)


Started GET "/origami/table/29" for ::1 at 2019-04-22 17:27:10 +0630
Processing by Origami::HomeController#show as HTML
  Parameters: {"dining_id"=>"29"}
  [1m[36mEmployee Load (0.5ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.3ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (1.8ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 15:09:01', `updated_at` = '2019-04-22 10:57:10' WHERE `employees`.`id` = 7[0m
  [1m[35m (53.9ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.6ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mDiningFacility Load (1.7ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 29 ORDER BY order_by asc LIMIT 1[0m
  [1m[35m (0.4ms)[0m  [1m[34mSELECT customer_id, name FROM `customers`[0m
  [1m[36mShiftSale Load (1.1ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m
  [1m[36mShop Load (0.5ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[36mMembershipSetting Load (0.5ms)[0m  [1m[34mSELECT  `membership_settings`.* FROM `membership_settings` WHERE `membership_settings`.`id` = 1 LIMIT 1[0m
  [1m[36mBooking Load (1.8ms)[0m  [1m[34mSELECT `bookings`.* FROM `bookings` WHERE `bookings`.`dining_facility_id` = 29 AND (booking_status != 'moved') AND (DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-22' OR DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-21' )[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_time'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_alert_time'[0m
  [1m[36mTaxProfile Load (0.5ms)[0m  [1m[34mSELECT `tax_profiles`.* FROM `tax_profiles` WHERE (group_type = 'cashier') ORDER BY order_by asc, order_by ASC[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'split_bill'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'edit_order'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'changable_tax'[0m
  Rendering origami/home/show.html.erb within layouts/origami
  [1m[36mSale Load (334.1ms)[0m  [1m[34mSELECT `sales`.* FROM `sales` join sale_orders as sale_orders on sale_orders.sale_id = sales.sale_id join orders as orders on orders.order_id = sale_orders.order_id WHERE (sales.sale_status != 'new' AND orders.status = 'billed' and orders.source = 'emenu' or orders.source = 'cashier') AND (DATE_FORMAT(sales.receipt_date,'%Y-%m-%d') = '2019-04-22' ) GROUP BY sales.sale_id[0m
  [1m[36mTable Load (0.6ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Table') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mRoom Load (0.5ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Room') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[36mOrder Load (0.6ms)[0m  [1m[34mSELECT `orders`.* FROM `orders` WHERE (DATE_FORMAT(date,'%Y-%m-%d') = '2019-04-22' and status != 'billed' and source != 'quick_service') ORDER BY date desc[0m
  [1m[36mPaymentMethodSetting Load (0.4ms)[0m  [1m[34mSELECT `payment_method_settings`.* FROM `payment_method_settings`[0m
  Rendered origami/home/show.html.erb within layouts/origami (438.3ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (7.1ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_left_sidebar.html.erb (16.5ms)
  Rendered layouts/_right_sidebar.html.erb (0.6ms)
Completed 200 OK in 643ms (Views: 174.1ms | ActiveRecord: 410.5ms)


[SX-ActionCable] Finished "/cable/" [WebSocket] for ::1 at 2019-04-22 17:27:11 +0630
[SX-ActionCable] BillChannel stopped streaming from bill_channel
[SX-ActionCable] CheckInBookingChannel stopped streaming from check_in_booking_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel stopped streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CheckinChannel stopped streaming from checkin_channel
[SX-ActionCable] OrderChannel stopped streaming from order_channel
[SX-ActionCable] OrderQueueStationChannel stopped streaming from order_queue_station_channel
[SX-ActionCable] OrderReservationChannel stopped streaming from order_reservation_channel
[SX-ActionCable] SecondDisplayChannel stopped streaming from second_display_channel
[SX-ActionCable] SecondDisplayViewChannel stopped streaming from second_display_view_channel
[SX-ActionCable] SoundEffectChannel stopped streaming from sound_effect_channel
[SX-ActionCable] CallWaiterChannel stopped streaming from call_waiter_channel
[SX-ActionCable] CheckNewOrderChannel stopped streaming from check_new_order_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel stopped streaming from check_order_ready_to_delivery_channel
Started GET "/cable" for ::1 at 2019-04-22 17:27:11 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:27:11 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is streaming from order_channel
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
Started GET "/origami/get_order_info" for ::1 at 2019-04-22 17:27:11 +0630
Processing by Origami::OrderReservationController#get_order_info as JSON
  [1m[36mEmployee Load (0.5ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.3ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.5ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 15:39:01', `updated_at` = '2019-04-22 10:57:11' WHERE `employees`.`id` = 7[0m
  [1m[35m (189.5ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_reservations` WHERE (status = 'new')[0m
Completed 200 OK in 205ms (Views: 0.4ms | ActiveRecord: 193.0ms)


Started POST "/origami/cashier/credit_sales" for ::1 at 2019-04-22 17:27:11 +0630
Processing by Origami::DashboardController#get_credit_sales as JSON
  Parameters: {"receipt_no"=>"", "customer_id"=>"", "type"=>"cashier"}
  [1m[36mEmployee Load (0.7ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (2.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.3ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.3ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (53.5ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 16:09:01' WHERE `employees`.`id` = 7[0m
  [1m[35m (65.4ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.6ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mSalePayment Load (122.7ms)[0m  [1m[34mSELECT s.receipt_no, sale_payments.sale_payment_id, 
                                sale_payments.payment_method, 
                                SUM(sale_payments.payment_amount) as payment_amount,
                                s.receipt_date as sale_date,
                                s.sale_id,
                                s.cashier_name as cashier_name, c.name as customer_name FROM `sale_payments` INNER JOIN sales s ON s.sale_id = sale_payments.sale_id INNER JOIN customers c ON c.customer_id = s.customer_id WHERE ((CASE WHEN (s.grand_total + s.amount_changed)=(select SUM(payment_amount) FROM sale_payments WHERE sale_id=s.sale_id AND payment_method!='creditnote') THEN NULL ELSE payment_method='creditnote' AND (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='cashier' OR (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='emenu' END) and s.sale_status = 'completed' and s.payment_status='paid'  ) GROUP BY s.receipt_no ORDER BY s.receipt_date ASC, s.receipt_no ASC[0m
Completed 200 OK in 298ms (Views: 0.2ms | ActiveRecord: 245.9ms)


Started GET "/origami/addorders/29" for ::1 at 2019-04-22 17:27:15 +0630
Processing by Origami::AddordersController#detail as HTML
  Parameters: {"addorders"=>"addorders", "id"=>"29"}
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.2ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.3ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.2ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (36.0ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 16:39:01', `updated_at` = '2019-04-22 10:57:15' WHERE `employees`.`id` = 7[0m
  [1m[35m (106.9ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (1.1ms)[0m  [1m[34mSELECT  `lookups`.* FROM `lookups` WHERE `lookups`.`lookup_type` = 'display_type' LIMIT 1[0m
  [1m[36mDiningFacility Load (1.2ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 29 ORDER BY order_by asc LIMIT 1[0m
  [1m[35m (4.6ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 10:57:15 UTC' THEN checkin_at >= '2019-04-22 10:57:15 UTC' ELSE checkin_at between '2019-04-22 05:57:15 UTC' and '2019-04-22 10:57:15 UTC' END) and checkout_by is null) LIMIT 1) subquery_for_count[0m
  Rendering origami/addorders/detail.html.erb within layouts/origami
  [1m[35m (46.2ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and checkin_at between '2019-04-22 05:57:15 UTC' and '2019-04-22 10:57:15 UTC' and reserved_by is not null and checkout_by is null) LIMIT 1) subquery_for_count[0m
  Rendered origami/addorders/detail.html.erb within layouts/origami (127.4ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mShop Load (0.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[36mLookup Load (0.7ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (11.7ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_left_sidebar.html.erb (7.9ms)
  Rendered layouts/_right_sidebar.html.erb (0.6ms)
Completed 200 OK in 462ms (Views: 233.4ms | ActiveRecord: 199.8ms)


[SX-ActionCable] Finished "/cable/" [WebSocket] for ::1 at 2019-04-22 17:27:15 +0630
[SX-ActionCable] CallWaiterChannel stopped streaming from call_waiter_channel
[SX-ActionCable] BillChannel stopped streaming from bill_channel
[SX-ActionCable] CheckInBookingChannel stopped streaming from check_in_booking_channel
[SX-ActionCable] CheckinChannel stopped streaming from checkin_channel
[SX-ActionCable] OrderChannel stopped streaming from order_channel
[SX-ActionCable] OrderQueueStationChannel stopped streaming from order_queue_station_channel
[SX-ActionCable] OrderReservationChannel stopped streaming from order_reservation_channel
[SX-ActionCable] SecondDisplayChannel stopped streaming from second_display_channel
[SX-ActionCable] SecondDisplayViewChannel stopped streaming from second_display_view_channel
[SX-ActionCable] CheckNewOrderChannel stopped streaming from check_new_order_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel stopped streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel stopped streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] SoundEffectChannel stopped streaming from sound_effect_channel
Started GET "/cable" for ::1 at 2019-04-22 17:27:15 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:27:15 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is streaming from order_channel
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
Started GET "/origami/get_order_info" for ::1 at 2019-04-22 17:27:16 +0630
Processing by Origami::OrderReservationController#get_order_info as JSON
  [1m[36mEmployee Load (0.3ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.2ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.3ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 17:09:01', `updated_at` = '2019-04-22 10:57:16' WHERE `employees`.`id` = 7[0m
  [1m[35m (79.1ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (0.9ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_reservations` WHERE (status = 'new')[0m
Completed 200 OK in 92ms (Views: 0.4ms | ActiveRecord: 82.7ms)


Started GET "//image/menu_images/382/382_DCMH0693.jpg" for ::1 at 2019-04-22 17:28:07 +0630
Started GET "//image/menu_images/382/382_DCMH0426.jpg" for ::1 at 2019-04-22 17:28:07 +0630
  
  
Started GET "//image/menu_images/382/382_DCMH0422.jpg" for ::1 at 2019-04-22 17:28:07 +0630
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0693.jpg"):
Started GET "//image/menu_images/382/382_DCMH0410.jpg" for ::1 at 2019-04-22 17:28:07 +0630
  
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0426.jpg"):
Started GET "//image/menu_images/382/382_DCMH0428.jpg" for ::1 at 2019-04-22 17:28:07 +0630
  
Started GET "//image/menu_images/382/382_DCMH0413.jpg" for ::1 at 2019-04-22 17:28:07 +0630
  
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0410.jpg"):
  
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0422.jpg"):
  
  
  
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0428.jpg"):
  
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0413.jpg"):
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
  
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
  
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
Started GET "//image/menu_images/382/382_DCMH0392.jpg" for ::1 at 2019-04-22 17:28:15 +0630
Started GET "//image/menu_images/382/382_DCMH0406.jpg" for ::1 at 2019-04-22 17:28:15 +0630
  
Started GET "//image/menu_images/382/382_DCMH0398.jpg" for ::1 at 2019-04-22 17:28:15 +0630
Started GET "//image/menu_images/382/382_DCMH0395.jpg" for ::1 at 2019-04-22 17:28:15 +0630
  
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0392.jpg"):
  
  
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0406.jpg"):
Started GET "//image/menu_images/382/382_DCMH0408.jpg" for ::1 at 2019-04-22 17:28:15 +0630
  
Started GET "//image/menu_images/382/382_DCMH0420.jpg" for ::1 at 2019-04-22 17:28:15 +0630
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0398.jpg"):
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0395.jpg"):
  
  
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
  
  
  
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0408.jpg"):
  
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0420.jpg"):
  
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
Started POST "/origami/addorders/create" for ::1 at 2019-04-22 17:28:24 +0630
Processing by Origami::AddordersController#create as JSON
  Parameters: {"order_source"=>"cashier", "order_type"=>"dine_in", "customer_id"=>"", "guest_info"=>"", "table_id"=>"29", "order_items"=>"[{\"order_item_id\":\"1\",\"item_instance_code\":\"100\",\"quantity\":\"1\",\"options\":\"[]\"},{\"order_item_id\":\"2\",\"item_instance_code\":\"006-006\",\"quantity\":\"1\",\"options\":\"[]\"}]", "create_type"=>"create_only", "addorders"=>"addorders"}
  [1m[36mEmployee Load (16.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (18.8ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.3ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.7ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 17:39:01', `updated_at` = '2019-04-22 10:58:24' WHERE `employees`.`id` = 7[0m
  [1m[35m (51.4ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mDiningFacility Load (0.4ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 29 ORDER BY order_by asc LIMIT 1[0m
  [1m[35m (0.8ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 10:58:24 UTC' THEN checkin_at >= '2019-04-22 10:58:24 UTC' ELSE checkin_at between '2019-04-22 05:58:24 UTC' and '2019-04-22 10:58:24 UTC' END) and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.7ms)[0m  [1m[33mUPDATE seed_generators set current = next, next = next + 1 WHERE model='TableBooking';[0m
  [1m[35m (0.3ms)[0m  [1m[34mselect * from seed_generators where model='TableBooking';[0m
  [1m[35mSQL (0.3ms)[0m  [1m[32mINSERT INTO `bookings` (`booking_id`, `dining_facility_id`, `type`, `checkin_at`, `checkin_by`, `booking_status`, `created_at`, `updated_at`) VALUES ('BKI-000000006448', 29, 'TableBooking', '2019-04-22 10:58:24', 'Test waiter2', 'assign', '2019-04-22 10:58:24', '2019-04-22 10:58:24')[0m
  [1m[35m (55.2ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mDiningFacility Load (0.4ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 29 ORDER BY order_by asc LIMIT 1[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[35mSQL (0.4ms)[0m  [1m[33mUPDATE `dining_facilities` SET `status` = 'occupied', `updated_at` = '2019-04-22 10:58:24' WHERE `dining_facilities`.`id` = 29[0m
  [1m[35m (55.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[35m (0.3ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[35m (0.3ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.7ms)[0m  [1m[33mUPDATE seed_generators set current = next, next = next + 1 WHERE model='Order';[0m
  [1m[35m (0.6ms)[0m  [1m[34mselect * from seed_generators where model='Order';[0m
  [1m[35mSQL (1.0ms)[0m  [1m[32mINSERT INTO `orders` (`order_id`, `date`, `source`, `order_type`, `customer_id`, `waiters`, `created_at`, `updated_at`) VALUES ('ODR-000000040176', '2019-04-22 10:58:24', 'cashier', 'dine_in', 'CUS-000000000001', '\"Test waiter2\"', '2019-04-22 10:58:24', '2019-04-22 10:58:24')[0m
  [1m[35m (51.1ms)[0m  [1m[35mCOMMIT[0m
Parent Id count -> 0
Parents count -> 0
Parent/children Items to remove -> 0
New list count -> 2
Re-Order List (Parent)-
[]
Re-Order List -
[{:order_item_id=>"1", :item_instance_code=>"100", :quantity=>"1", :options=>[]}, {:order_item_id=>"2", :item_instance_code=>"006-006", :quantity=>"1", :options=>[]}]
  [1m[36mMenuItemInstance Load (2.1ms)[0m  [1m[34mSELECT  `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`item_instance_code` = '100' LIMIT 1[0m
  [1m[36mMenuItem Load (0.6ms)[0m  [1m[34mSELECT  `menu_items`.* FROM `menu_items` WHERE `menu_items`.`id` = 440 ORDER BY item_code asc LIMIT 1[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mOrder Load (0.3ms)[0m  [1m[34mSELECT  `orders`.* FROM `orders` WHERE `orders`.`order_id` = 'ODR-000000040176' LIMIT 1[0m
  [1m[35m (0.3ms)[0m  [1m[33mUPDATE seed_generators set current = next, next = next + 1 WHERE model='OrderItem';[0m
  [1m[35m (0.2ms)[0m  [1m[34mselect * from seed_generators where model='OrderItem';[0m
  [1m[35mSQL (2.2ms)[0m  [1m[32mINSERT INTO `order_items` (`order_items_id`, `order_id`, `item_order_by`, `item_code`, `item_instance_code`, `item_name`, `alt_name`, `account_id`, `qty`, `price`, `options`, `created_at`, `updated_at`) VALUES ('ODI-000000057571', 'ODR-000000040176', 'Test waiter2', '100', '100', 'Rice - Rice', '', 4, 1.0, 500.0, '[]', '2019-04-22 10:58:24', '2019-04-22 10:58:24')[0m
  [1m[35m (53.9ms)[0m  [1m[35mCOMMIT[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.1ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mMenuItemInstance Load (0.7ms)[0m  [1m[34mSELECT  `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`item_instance_code` = '006-006' LIMIT 1[0m
  [1m[36mMenuItem Load (0.2ms)[0m  [1m[34mSELECT  `menu_items`.* FROM `menu_items` WHERE `menu_items`.`id` = 615 ORDER BY item_code asc LIMIT 1[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mOrder Load (0.4ms)[0m  [1m[34mSELECT  `orders`.* FROM `orders` WHERE `orders`.`order_id` = 'ODR-000000040176' LIMIT 1[0m
  [1m[35m (0.3ms)[0m  [1m[33mUPDATE seed_generators set current = next, next = next + 1 WHERE model='OrderItem';[0m
  [1m[35m (0.2ms)[0m  [1m[34mselect * from seed_generators where model='OrderItem';[0m
  [1m[35mSQL (0.3ms)[0m  [1m[32mINSERT INTO `order_items` (`order_items_id`, `order_id`, `item_order_by`, `item_code`, `item_instance_code`, `item_name`, `alt_name`, `account_id`, `qty`, `price`, `options`, `created_at`, `updated_at`) VALUES ('ODI-000000057572', 'ODR-000000040176', 'Test waiter2', '006-006', '006-006', '206 GRILLED PORK MISOU - ', '', 4, 1.0, 6500.0, '[]', '2019-04-22 10:58:25', '2019-04-22 10:58:25')[0m
  [1m[35m (102.6ms)[0m  [1m[35mCOMMIT[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.1ms)[0m  [1m[35mCOMMIT[0m
  [1m[35m (0.4ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_items` WHERE `order_items`.`order_id` = 'ODR-000000040176'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `orders` SET `item_count` = 2, `updated_at` = '2019-04-22 10:58:25' WHERE `orders`.`order_id` = 'ODR-000000040176'[0m
  [1m[35m (57.8ms)[0m  [1m[35mCOMMIT[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[35mSQL (0.6ms)[0m  [1m[32mINSERT INTO `booking_orders` (`booking_id`, `order_id`, `created_at`, `updated_at`) VALUES ('BKI-000000006448', 'ODR-000000040176', '2019-04-22 10:58:25', '2019-04-22 10:58:25')[0m
  [1m[35m (57.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mDiningFacility Load (0.7ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 29 ORDER BY order_by asc LIMIT 1[0m
[ActionCable] Broadcasting to order_channel: {:table=>#<Table id: 29, zone_id: 2, name: "U3", status: "occupied", type: "Table", seater: 4, order_by: 402, created_by: "Code2lab", is_active: true, created_at: "2018-12-06 11:38:23", updated_at: "2019-04-22 10:58:24">, :type=>"order", :from=>""}
[SX-ActionCable] OrderChannel transmitting {"table"=>{"id"=>29, "zone_id"=>2, "name"=>"U3", "status"=>"occupied", "seater"=>4, "order_by"=>402, "created_by"=>"Code2lab", "is_active"=>true, "created_at"=>"2018-12-06T18:08:23.000+06:30", "updated_at"=>"2019-04-22T17:28:24.000+06:30"}, "type"=>"order", "from"=>""} (via streamed from order_channel)
  [1m[36mOrder Load (2.2ms)[0m  [1m[34mSELECT  `orders`.* FROM `orders` WHERE `orders`.`order_id` = 'ODR-000000040176' LIMIT 1[0m
  [1m[36mLookup Load (0.8ms)[0m  [1m[34mSELECT  `lookups`.* FROM `lookups` WHERE `lookups`.`lookup_type` = 'sidekiq' LIMIT 1[0m
[sudo] password for khinsulinn: 
  [1m[36mDiningFacility Load (0.3ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 29 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mBooking Load (0.3ms)[0m  [1m[34mSELECT  `bookings`.* FROM `bookings` WHERE `bookings`.`dining_facility_id` = 29 LIMIT 1[0m
  [1m[36mOrderQueueProcessByZone Load (0.4ms)[0m  [1m[34mSELECT `order_queue_process_by_zones`.* FROM `order_queue_process_by_zones` WHERE (zone_id=2)[0m
  [1m[36mOrderQueueStation Load (0.4ms)[0m  [1m[34mSELECT  `order_queue_stations`.* FROM `order_queue_stations` WHERE `order_queue_stations`.`id` = 1 LIMIT 1[0m
  [1m[36mOrderItem Load (0.3ms)[0m  [1m[34mSELECT `order_items`.* FROM `order_items` WHERE `order_items`.`order_id` = 'ODR-000000040176'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.3ms)[0m  [1m[33mUPDATE seed_generators set current = next, next = next + 1 WHERE model='AssignedOrderItem';[0m
  [1m[35m (0.4ms)[0m  [1m[34mselect * from seed_generators where model='AssignedOrderItem';[0m
  [1m[35mSQL (0.9ms)[0m  [1m[32mINSERT INTO `assigned_order_items` (`assigned_order_item_id`, `item_code`, `instance_code`, `order_queue_station_id`, `order_id`, `print_status`, `delivery_status`, `created_at`, `updated_at`) VALUES ('AOI-000000057252', '100', '100', 1, 'ODR-000000040176', 0, 0, '2019-04-22 10:58:34', '2019-04-22 10:58:34')[0m
  [1m[35m (63.6ms)[0m  [1m[35mCOMMIT[0m
  [1m[35m (0.3ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.9ms)[0m  [1m[33mUPDATE seed_generators set current = next, next = next + 1 WHERE model='AssignedOrderItem';[0m
  [1m[35m (0.8ms)[0m  [1m[34mselect * from seed_generators where model='AssignedOrderItem';[0m
  [1m[35mSQL (1.0ms)[0m  [1m[32mINSERT INTO `assigned_order_items` (`assigned_order_item_id`, `item_code`, `instance_code`, `order_queue_station_id`, `order_id`, `print_status`, `delivery_status`, `created_at`, `updated_at`) VALUES ('AOI-000000057253', '006-006', '006-006', 1, 'ODR-000000040176', 0, 0, '2019-04-22 10:58:34', '2019-04-22 10:58:34')[0m
  [1m[35m (55.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mPrintSetting Exists (0.8ms)[0m  [1m[34mSELECT  1 AS one FROM `print_settings` LIMIT 1[0m
  [1m[36mPrintSetting Load (0.7ms)[0m  [1m[34mSELECT `print_settings`.* FROM `print_settings` ORDER BY id ASC[0m
  [1m[36mPrintSetting Load (1.0ms)[0m  [1m[34mSELECT  `print_settings`.* FROM `print_settings` WHERE `print_settings`.`unique_code` = 'OrderItemSlimPdf' LIMIT 1[0m
  [1m[36mOrderItem Load (0.6ms)[0m  [1m[34mSELECT order_items.order_id, order_items.item_code, order_items.item_name, order_items.qty, order_items.price, order_items.options, order_items.item_order_by as order_by, order_items.created_at as order_at, order_items.set_menu_items, cus.name as customer, df.type, df.name as dining,item.alt_name as alt_name FROM `order_items` left join orders ON orders.order_id = order_items.order_id                
                left join booking_orders AS bo ON bo.order_id=order_items.order_id
                left join bookings AS b ON b.booking_id = bo.booking_id
                left join dining_facilities AS df ON df.id = b.dining_facility_id
                left join customers as cus ON cus.customer_id = orders.customer_id
                left join menu_items as item ON item.item_code = order_items.item_code WHERE (order_items.order_items_id = 'ODI-000000057571') GROUP BY order_items.item_code[0m
  [1m[36mOrder Load (0.5ms)[0m  [1m[34mSELECT  `orders`.* FROM `orders` JOIN booking_orders bo ON bo.order_id = orders.order_id JOIN bookings b ON b.booking_id=bo.booking_id WHERE (orders.order_id='ODR-000000040176') ORDER BY `orders`.`order_id` ASC LIMIT 1[0m
  [1m[36mCACHE PrintSetting Exists (0.0ms)[0m  [1m[34mSELECT  1 AS one FROM `print_settings` LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mPrintSetting Load (0.3ms)[0m  [1m[34mSELECT `print_settings`.* FROM `print_settings`[0m
  [1m[36mBooking Load (0.5ms)[0m  [1m[34mSELECT  `bookings`.* FROM `bookings` JOIN booking_orders bo ON bo.booking_id = bookings.booking_id JOIN orders o ON o.order_id=bo.order_id WHERE (o.order_id='ODR-000000040176') ORDER BY `bookings`.`booking_id` ASC LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.1ms)[0m  [1m[35mCOMMIT[0m
Completed 500 Internal Server Error in 10648ms (ActiveRecord: 680.4ms)


  
RuntimeError (The printer or destination doesn't exist!):
  
app/models/printer/printer_worker.rb:49:in `initialize'
app/models/printer/printer_worker.rb:49:in `new'
app/models/printer/printer_worker.rb:49:in `block in print'
app/models/printer/printer_worker.rb:48:in `print'
app/models/printer/order_queue_printer.rb:60:in `print_order_item'
app/models/order_queue_station.rb:279:in `block in print_slip_item'
app/models/order_queue_station.rb:278:in `each'
app/models/order_queue_station.rb:278:in `print_slip_item'
app/models/order_queue_station.rb:64:in `block in process_order'
app/models/order_queue_station.rb:32:in `process_order'
app/controllers/origami/addorders_controller.rb:284:in `process_order_queue'
app/controllers/origami/addorders_controller.rb:199:in `create'
[SX-ActionCable] Finished "/cable/" [WebSocket] for ::1 at 2019-04-22 17:28:57 +0630
[SX-ActionCable] CallWaiterChannel stopped streaming from call_waiter_channel
[SX-ActionCable] BillChannel stopped streaming from bill_channel
[SX-ActionCable] CheckInBookingChannel stopped streaming from check_in_booking_channel
[SX-ActionCable] CheckNewOrderChannel stopped streaming from check_new_order_channel
[SX-ActionCable] CheckinChannel stopped streaming from checkin_channel
[SX-ActionCable] OrderQueueStationChannel stopped streaming from order_queue_station_channel
[SX-ActionCable] OrderReservationChannel stopped streaming from order_reservation_channel
[SX-ActionCable] SecondDisplayChannel stopped streaming from second_display_channel
[SX-ActionCable] SecondDisplayViewChannel stopped streaming from second_display_view_channel
[SX-ActionCable] SoundEffectChannel stopped streaming from sound_effect_channel
[SX-ActionCable] OrderChannel stopped streaming from order_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel stopped streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel stopped streaming from check_order_send_to_kitchen_channel
Started GET "/cable" for ::1 at 2019-04-22 17:28:57 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:28:57 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] OrderChannel is streaming from order_channel
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
Started POST "/origami/cashier/credit_sales" for ::1 at 2019-04-22 17:28:57 +0630
Processing by Origami::DashboardController#get_credit_sales as JSON
  Parameters: {"receipt_no"=>"", "customer_id"=>"", "type"=>"cashier"}
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.5ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (1.9ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 18:09:01', `updated_at` = '2019-04-22 10:58:57' WHERE `employees`.`id` = 7[0m
  [1m[35m (68.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mSalePayment Load (170.4ms)[0m  [1m[34mSELECT s.receipt_no, sale_payments.sale_payment_id, 
                                sale_payments.payment_method, 
                                SUM(sale_payments.payment_amount) as payment_amount,
                                s.receipt_date as sale_date,
                                s.sale_id,
                                s.cashier_name as cashier_name, c.name as customer_name FROM `sale_payments` INNER JOIN sales s ON s.sale_id = sale_payments.sale_id INNER JOIN customers c ON c.customer_id = s.customer_id WHERE ((CASE WHEN (s.grand_total + s.amount_changed)=(select SUM(payment_amount) FROM sale_payments WHERE sale_id=s.sale_id AND payment_method!='creditnote') THEN NULL ELSE payment_method='creditnote' AND (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='cashier' OR (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='emenu' END) and s.sale_status = 'completed' and s.payment_status='paid'  ) GROUP BY s.receipt_no ORDER BY s.receipt_date ASC, s.receipt_no ASC[0m
Completed 200 OK in 316ms (Views: 0.2ms | ActiveRecord: 242.9ms)


[SX-ActionCable] Finished "/cable/" [WebSocket] for ::1 at 2019-04-22 17:28:59 +0630
[SX-ActionCable] BillChannel stopped streaming from bill_channel
[SX-ActionCable] CallWaiterChannel stopped streaming from call_waiter_channel
[SX-ActionCable] CheckInBookingChannel stopped streaming from check_in_booking_channel
[SX-ActionCable] CheckinChannel stopped streaming from checkin_channel
[SX-ActionCable] OrderChannel stopped streaming from order_channel
[SX-ActionCable] OrderQueueStationChannel stopped streaming from order_queue_station_channel
[SX-ActionCable] OrderReservationChannel stopped streaming from order_reservation_channel
[SX-ActionCable] SecondDisplayChannel stopped streaming from second_display_channel
[SX-ActionCable] SecondDisplayViewChannel stopped streaming from second_display_view_channel
[SX-ActionCable] SoundEffectChannel stopped streaming from sound_effect_channel
[SX-ActionCable] CheckNewOrderChannel stopped streaming from check_new_order_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel stopped streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel stopped streaming from check_order_send_to_kitchen_channel
Started GET "/cable" for ::1 at 2019-04-22 17:29:00 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:29:00 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] OrderChannel is streaming from order_channel
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
Started POST "/origami/cashier/credit_sales" for ::1 at 2019-04-22 17:29:00 +0630
Processing by Origami::DashboardController#get_credit_sales as JSON
  Parameters: {"receipt_no"=>"", "customer_id"=>"", "type"=>"cashier"}
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (2.6ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.4ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 18:39:01', `updated_at` = '2019-04-22 10:59:00' WHERE `employees`.`id` = 7[0m
  [1m[35m (78.4ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.2ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mSalePayment Load (164.7ms)[0m  [1m[34mSELECT s.receipt_no, sale_payments.sale_payment_id, 
                                sale_payments.payment_method, 
                                SUM(sale_payments.payment_amount) as payment_amount,
                                s.receipt_date as sale_date,
                                s.sale_id,
                                s.cashier_name as cashier_name, c.name as customer_name FROM `sale_payments` INNER JOIN sales s ON s.sale_id = sale_payments.sale_id INNER JOIN customers c ON c.customer_id = s.customer_id WHERE ((CASE WHEN (s.grand_total + s.amount_changed)=(select SUM(payment_amount) FROM sale_payments WHERE sale_id=s.sale_id AND payment_method!='creditnote') THEN NULL ELSE payment_method='creditnote' AND (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='cashier' OR (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='emenu' END) and s.sale_status = 'completed' and s.payment_status='paid'  ) GROUP BY s.receipt_no ORDER BY s.receipt_date ASC, s.receipt_no ASC[0m
Completed 200 OK in 662ms (Views: 0.1ms | ActiveRecord: 248.8ms)


Started GET "/origami" for ::1 at 2019-04-22 17:29:05 +0630
Processing by Origami::HomeController#index as HTML
  [1m[36mEmployee Load (1.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (1.5ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.5ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (1.5ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (1.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.9ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 19:09:01', `updated_at` = '2019-04-22 10:59:05' WHERE `employees`.`id` = 7[0m
  [1m[35m (58.5ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.8ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (0.7ms)[0m  [1m[34mSELECT customer_id, name FROM `customers`[0m
  [1m[36mShop Load (0.9ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35m (1.1ms)[0m  [1m[34mSELECT COUNT(*) FROM `dining_facilities` WHERE (status='occupied')[0m
  [1m[36mShiftSale Load (1.4ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m
  Rendering origami/home/index.html.erb within layouts/origami
  [1m[36mSale Load (358.9ms)[0m  [1m[34mSELECT `sales`.* FROM `sales` join sale_orders as sale_orders on sale_orders.sale_id = sales.sale_id join orders as orders on orders.order_id = sale_orders.order_id WHERE (sales.sale_status != 'new' AND orders.status = 'billed' and orders.source = 'emenu' or orders.source = 'cashier') AND (DATE_FORMAT(sales.receipt_date,'%Y-%m-%d') = '2019-04-22' ) GROUP BY sales.sale_id[0m
  [1m[36mTable Load (0.7ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Table') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[35m (1.4ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 10:59:05 UTC' THEN checkin_at >= '2019-04-22 10:59:05 UTC' ELSE checkin_at between '2019-04-22 05:59:05 UTC' and '2019-04-22 10:59:05 UTC' END) and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mBooking Load (0.8ms)[0m  [1m[34mSELECT  `bookings`.* FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 10:59:05 UTC' THEN checkin_at >= '2019-04-22 10:59:05 UTC' ELSE checkin_at between '2019-04-22 05:59:05 UTC' and '2019-04-22 10:59:05 UTC' END) and checkout_by is null) LIMIT 1[0m
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and checkin_at between '2019-04-22 05:59:05 UTC' and '2019-04-22 10:59:05 UTC' and reserved_by is not null and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mRoom Load (0.3ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Room') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[36mOrder Load (0.4ms)[0m  [1m[34mSELECT `orders`.* FROM `orders` WHERE (DATE_FORMAT(date,'%Y-%m-%d') = '2019-04-22' and status != 'billed' and source != 'quick_service') ORDER BY date desc[0m
  [1m[36mSaleOrder Load (0.5ms)[0m  [1m[34mSELECT `sale_orders`.* FROM `sale_orders` WHERE `sale_orders`.`order_id` = 'ODR-000000040176'[0m
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered origami/home/index.html.erb within layouts/origami (546.8ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (6.0ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_left_sidebar.html.erb (9.5ms)
  Rendered layouts/_right_sidebar.html.erb (0.4ms)
Completed 200 OK in 761ms (Views: 258.7ms | ActiveRecord: 436.9ms)


[SX-ActionCable] Finished "/cable/" [WebSocket] for ::1 at 2019-04-22 17:29:05 +0630
[SX-ActionCable] BillChannel stopped streaming from bill_channel
[SX-ActionCable] CheckNewOrderChannel stopped streaming from check_new_order_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel stopped streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CheckinChannel stopped streaming from checkin_channel
[SX-ActionCable] OrderChannel stopped streaming from order_channel
[SX-ActionCable] OrderQueueStationChannel stopped streaming from order_queue_station_channel
[SX-ActionCable] OrderReservationChannel stopped streaming from order_reservation_channel
[SX-ActionCable] SecondDisplayChannel stopped streaming from second_display_channel
[SX-ActionCable] SecondDisplayViewChannel stopped streaming from second_display_view_channel
[SX-ActionCable] SoundEffectChannel stopped streaming from sound_effect_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel stopped streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] CheckInBookingChannel stopped streaming from check_in_booking_channel
[SX-ActionCable] CallWaiterChannel stopped streaming from call_waiter_channel
Started GET "/cable" for ::1 at 2019-04-22 17:29:06 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:29:06 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
Started GET "/origami/get_order_info" for ::1 at 2019-04-22 17:29:06 +0630
Processing by Origami::OrderReservationController#get_order_info as JSON
  [1m[36mEmployee Load (0.3ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.2ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (1.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 19:39:01', `updated_at` = '2019-04-22 10:59:06' WHERE `employees`.`id` = 7[0m
  [1m[35m (106.1ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (0.6ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_reservations` WHERE (status = 'new')[0m
Completed 200 OK in 125ms (Views: 0.6ms | ActiveRecord: 110.4ms)


Started POST "/origami/cashier/credit_sales" for ::1 at 2019-04-22 17:29:06 +0630
Processing by Origami::DashboardController#get_credit_sales as JSON
  Parameters: {"receipt_no"=>"", "customer_id"=>"", "type"=>"cashier"}
  [1m[36mEmployee Load (0.6ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.5ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.3ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (1.0ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.6ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 20:09:01' WHERE `employees`.`id` = 7[0m
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] OrderChannel is streaming from order_channel
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
  [1m[35m (75.9ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mSalePayment Load (134.3ms)[0m  [1m[34mSELECT s.receipt_no, sale_payments.sale_payment_id, 
                                sale_payments.payment_method, 
                                SUM(sale_payments.payment_amount) as payment_amount,
                                s.receipt_date as sale_date,
                                s.sale_id,
                                s.cashier_name as cashier_name, c.name as customer_name FROM `sale_payments` INNER JOIN sales s ON s.sale_id = sale_payments.sale_id INNER JOIN customers c ON c.customer_id = s.customer_id WHERE ((CASE WHEN (s.grand_total + s.amount_changed)=(select SUM(payment_amount) FROM sale_payments WHERE sale_id=s.sale_id AND payment_method!='creditnote') THEN NULL ELSE payment_method='creditnote' AND (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='cashier' OR (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='emenu' END) and s.sale_status = 'completed' and s.payment_status='paid'  ) GROUP BY s.receipt_no ORDER BY s.receipt_date ASC, s.receipt_no ASC[0m
Completed 200 OK in 276ms (Views: 0.2ms | ActiveRecord: 214.8ms)


Started GET "/origami" for ::1 at 2019-04-22 17:29:07 +0630
Processing by Origami::HomeController#index as HTML
  [1m[36mEmployee Load (0.5ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.7ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 20:39:01', `updated_at` = '2019-04-22 10:59:07' WHERE `employees`.`id` = 7[0m
  [1m[35m (51.7ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.8ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (1.5ms)[0m  [1m[34mSELECT customer_id, name FROM `customers`[0m
  [1m[36mShop Load (1.6ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35m (2.0ms)[0m  [1m[34mSELECT COUNT(*) FROM `dining_facilities` WHERE (status='occupied')[0m
  [1m[36mShiftSale Load (1.0ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m
  Rendering origami/home/index.html.erb within layouts/origami
  [1m[36mSale Load (355.6ms)[0m  [1m[34mSELECT `sales`.* FROM `sales` join sale_orders as sale_orders on sale_orders.sale_id = sales.sale_id join orders as orders on orders.order_id = sale_orders.order_id WHERE (sales.sale_status != 'new' AND orders.status = 'billed' and orders.source = 'emenu' or orders.source = 'cashier') AND (DATE_FORMAT(sales.receipt_date,'%Y-%m-%d') = '2019-04-22' ) GROUP BY sales.sale_id[0m
  [1m[36mTable Load (0.7ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Table') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[35m (0.8ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 10:59:08 UTC' THEN checkin_at >= '2019-04-22 10:59:08 UTC' ELSE checkin_at between '2019-04-22 05:59:08 UTC' and '2019-04-22 10:59:08 UTC' END) and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mBooking Load (0.7ms)[0m  [1m[34mSELECT  `bookings`.* FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 10:59:08 UTC' THEN checkin_at >= '2019-04-22 10:59:08 UTC' ELSE checkin_at between '2019-04-22 05:59:08 UTC' and '2019-04-22 10:59:08 UTC' END) and checkout_by is null) LIMIT 1[0m
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and checkin_at between '2019-04-22 05:59:08 UTC' and '2019-04-22 10:59:08 UTC' and reserved_by is not null and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m
  [1m[36mZone Load (0.8ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mRoom Load (0.6ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Room') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[36mOrder Load (0.5ms)[0m  [1m[34mSELECT `orders`.* FROM `orders` WHERE (DATE_FORMAT(date,'%Y-%m-%d') = '2019-04-22' and status != 'billed' and source != 'quick_service') ORDER BY date desc[0m
  [1m[36mSaleOrder Load (0.3ms)[0m  [1m[34mSELECT `sale_orders`.* FROM `sale_orders` WHERE `sale_orders`.`order_id` = 'ODR-000000040176'[0m
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered origami/home/index.html.erb within layouts/origami (486.3ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (6.5ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_left_sidebar.html.erb (8.9ms)
  Rendered layouts/_right_sidebar.html.erb (0.4ms)
Completed 200 OK in 1431ms (Views: 956.6ms | ActiveRecord: 424.2ms)


[SX-ActionCable] Finished "/cable/" [WebSocket] for ::1 at 2019-04-22 17:29:09 +0630
[SX-ActionCable] BillChannel stopped streaming from bill_channel
[SX-ActionCable] CheckInBookingChannel stopped streaming from check_in_booking_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel stopped streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CheckinChannel stopped streaming from checkin_channel
[SX-ActionCable] OrderChannel stopped streaming from order_channel
[SX-ActionCable] OrderQueueStationChannel stopped streaming from order_queue_station_channel
[SX-ActionCable] OrderReservationChannel stopped streaming from order_reservation_channel
[SX-ActionCable] SecondDisplayChannel stopped streaming from second_display_channel
[SX-ActionCable] SecondDisplayViewChannel stopped streaming from second_display_view_channel
[SX-ActionCable] SoundEffectChannel stopped streaming from sound_effect_channel
[SX-ActionCable] CheckNewOrderChannel stopped streaming from check_new_order_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel stopped streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] CallWaiterChannel stopped streaming from call_waiter_channel
Started GET "/cable" for ::1 at 2019-04-22 17:29:09 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:29:09 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
Started GET "/origami/get_order_info" for ::1 at 2019-04-22 17:29:09 +0630
Processing by Origami::OrderReservationController#get_order_info as JSON
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (1.1ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.3ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 21:09:01', `updated_at` = '2019-04-22 10:59:09' WHERE `employees`.`id` = 7[0m
  [1m[35m (95.7ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.8ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_reservations` WHERE (status = 'new')[0m
Completed 200 OK in 111ms (Views: 0.3ms | ActiveRecord: 99.8ms)


Started POST "/origami/cashier/credit_sales" for ::1 at 2019-04-22 17:29:09 +0630
Processing by Origami::DashboardController#get_credit_sales as JSON
  Parameters: {"receipt_no"=>"", "customer_id"=>"", "type"=>"cashier"}
  [1m[36mEmployee Load (1.9ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (1.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.4ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (1.1ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.8ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.9ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 21:39:01' WHERE `employees`.`id` = 7[0m
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] OrderChannel is streaming from order_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
  [1m[35m (80.1ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.6ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mSalePayment Load (126.7ms)[0m  [1m[34mSELECT s.receipt_no, sale_payments.sale_payment_id, 
                                sale_payments.payment_method, 
                                SUM(sale_payments.payment_amount) as payment_amount,
                                s.receipt_date as sale_date,
                                s.sale_id,
                                s.cashier_name as cashier_name, c.name as customer_name FROM `sale_payments` INNER JOIN sales s ON s.sale_id = sale_payments.sale_id INNER JOIN customers c ON c.customer_id = s.customer_id WHERE ((CASE WHEN (s.grand_total + s.amount_changed)=(select SUM(payment_amount) FROM sale_payments WHERE sale_id=s.sale_id AND payment_method!='creditnote') THEN NULL ELSE payment_method='creditnote' AND (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='cashier' OR (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='emenu' END) and s.sale_status = 'completed' and s.payment_status='paid'  ) GROUP BY s.receipt_no ORDER BY s.receipt_date ASC, s.receipt_no ASC[0m
Completed 200 OK in 285ms (Views: 0.1ms | ActiveRecord: 213.7ms)


Started GET "/origami/table/31" for ::1 at 2019-04-22 17:29:27 +0630
Processing by Origami::HomeController#show as HTML
  Parameters: {"dining_id"=>"31"}
  [1m[36mEmployee Load (0.5ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (1.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.4ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.2ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 22:09:01', `updated_at` = '2019-04-22 10:59:27' WHERE `employees`.`id` = 7[0m
  [1m[35m (63.8ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mDiningFacility Load (1.0ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 31 ORDER BY order_by asc LIMIT 1[0m
  [1m[35m (0.7ms)[0m  [1m[34mSELECT customer_id, name FROM `customers`[0m
  [1m[36mShiftSale Load (1.9ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m
  [1m[36mShop Load (0.7ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[36mBooking Load (5.9ms)[0m  [1m[34mSELECT `bookings`.* FROM `bookings` WHERE `bookings`.`dining_facility_id` = 31 AND (booking_status != 'moved') AND (DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-22' OR DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-21' )[0m
  [1m[36mLookup Load (0.7ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_time'[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_alert_time'[0m
  [1m[36mTaxProfile Load (0.8ms)[0m  [1m[34mSELECT `tax_profiles`.* FROM `tax_profiles` WHERE (group_type = 'cashier') ORDER BY order_by asc, order_by ASC[0m
  [1m[36mLookup Load (0.5ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'split_bill'[0m
  [1m[36mLookup Load (0.5ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'edit_order'[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'changable_tax'[0m
  Rendering origami/home/show.html.erb within layouts/origami
  [1m[36mSale Load (314.9ms)[0m  [1m[34mSELECT `sales`.* FROM `sales` join sale_orders as sale_orders on sale_orders.sale_id = sales.sale_id join orders as orders on orders.order_id = sale_orders.order_id WHERE (sales.sale_status != 'new' AND orders.status = 'billed' and orders.source = 'emenu' or orders.source = 'cashier') AND (DATE_FORMAT(sales.receipt_date,'%Y-%m-%d') = '2019-04-22' ) GROUP BY sales.sale_id[0m
  [1m[36mTable Load (0.6ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Table') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[35m (0.8ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 10:59:28 UTC' THEN checkin_at >= '2019-04-22 10:59:28 UTC' ELSE checkin_at between '2019-04-22 05:59:28 UTC' and '2019-04-22 10:59:28 UTC' END) and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mBooking Load (1.0ms)[0m  [1m[34mSELECT  `bookings`.* FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 10:59:28 UTC' THEN checkin_at >= '2019-04-22 10:59:28 UTC' ELSE checkin_at between '2019-04-22 05:59:28 UTC' and '2019-04-22 10:59:28 UTC' END) and checkout_by is null) LIMIT 1[0m
  [1m[35m (1.1ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and checkin_at between '2019-04-22 05:59:28 UTC' and '2019-04-22 10:59:28 UTC' and reserved_by is not null and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mZone Load (0.2ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m
  [1m[36mZone Load (0.2ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mRoom Load (0.4ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Room') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[36mOrder Load (0.6ms)[0m  [1m[34mSELECT `orders`.* FROM `orders` WHERE (DATE_FORMAT(date,'%Y-%m-%d') = '2019-04-22' and status != 'billed' and source != 'quick_service') ORDER BY date desc[0m
  [1m[36mSaleOrder Load (0.8ms)[0m  [1m[34mSELECT `sale_orders`.* FROM `sale_orders` WHERE `sale_orders`.`order_id` = 'ODR-000000040176'[0m
  [1m[36mPaymentMethodSetting Load (0.3ms)[0m  [1m[34mSELECT `payment_method_settings`.* FROM `payment_method_settings`[0m
  Rendered origami/home/show.html.erb within layouts/origami (421.3ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (5.6ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_left_sidebar.html.erb (6.6ms)
  Rendered layouts/_right_sidebar.html.erb (0.6ms)
Completed 200 OK in 613ms (Views: 160.3ms | ActiveRecord: 403.4ms)


[SX-ActionCable] Finished "/cable/" [WebSocket] for ::1 at 2019-04-22 17:29:28 +0630
[SX-ActionCable] CheckNewOrderChannel stopped streaming from check_new_order_channel
[SX-ActionCable] BillChannel stopped streaming from bill_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel stopped streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CheckinChannel stopped streaming from checkin_channel
[SX-ActionCable] OrderChannel stopped streaming from order_channel
[SX-ActionCable] OrderQueueStationChannel stopped streaming from order_queue_station_channel
[SX-ActionCable] OrderReservationChannel stopped streaming from order_reservation_channel
[SX-ActionCable] SecondDisplayChannel stopped streaming from second_display_channel
[SX-ActionCable] SecondDisplayViewChannel stopped streaming from second_display_view_channel
[SX-ActionCable] SoundEffectChannel stopped streaming from sound_effect_channel
[SX-ActionCable] CallWaiterChannel stopped streaming from call_waiter_channel
[SX-ActionCable] CheckInBookingChannel stopped streaming from check_in_booking_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel stopped streaming from check_order_ready_to_delivery_channel
Started GET "/cable" for ::1 at 2019-04-22 17:29:28 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:29:28 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] OrderChannel is streaming from order_channel
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
Started GET "/origami/get_order_info" for ::1 at 2019-04-22 17:29:28 +0630
Processing by Origami::OrderReservationController#get_order_info as JSON
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.7ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 22:39:01', `updated_at` = '2019-04-22 10:59:28' WHERE `employees`.`id` = 7[0m
  [1m[35m (83.9ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.9ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (1.0ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_reservations` WHERE (status = 'new')[0m
Completed 200 OK in 102ms (Views: 0.4ms | ActiveRecord: 88.0ms)


Started POST "/origami/cashier/credit_sales" for ::1 at 2019-04-22 17:29:28 +0630
Processing by Origami::DashboardController#get_credit_sales as JSON
  Parameters: {"receipt_no"=>"", "customer_id"=>"", "type"=>"cashier"}
  [1m[36mEmployee Load (1.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (1.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.4ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (1.3ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (1.1ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (1.1ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 23:09:01' WHERE `employees`.`id` = 7[0m
  [1m[35m (73.6ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.5ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mSalePayment Load (142.2ms)[0m  [1m[34mSELECT s.receipt_no, sale_payments.sale_payment_id, 
                                sale_payments.payment_method, 
                                SUM(sale_payments.payment_amount) as payment_amount,
                                s.receipt_date as sale_date,
                                s.sale_id,
                                s.cashier_name as cashier_name, c.name as customer_name FROM `sale_payments` INNER JOIN sales s ON s.sale_id = sale_payments.sale_id INNER JOIN customers c ON c.customer_id = s.customer_id WHERE ((CASE WHEN (s.grand_total + s.amount_changed)=(select SUM(payment_amount) FROM sale_payments WHERE sale_id=s.sale_id AND payment_method!='creditnote') THEN NULL ELSE payment_method='creditnote' AND (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='cashier' OR (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='emenu' END) and s.sale_status = 'completed' and s.payment_status='paid'  ) GROUP BY s.receipt_no ORDER BY s.receipt_date ASC, s.receipt_no ASC[0m
Completed 200 OK in 290ms (Views: 0.2ms | ActiveRecord: 222.1ms)


Started GET "/origami/table/31" for ::1 at 2019-04-22 17:30:47 +0630
Processing by Origami::HomeController#show as HTML
  Parameters: {"dining_id"=>"31"}
  [1m[36mEmployee Load (1.9ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-22 23:39:01', `updated_at` = '2019-04-22 11:00:47' WHERE `employees`.`id` = 7[0m
  [1m[35m (50.7ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.3ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mDiningFacility Load (0.3ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 31 ORDER BY order_by asc LIMIT 1[0m
  [1m[35m (0.3ms)[0m  [1m[34mSELECT customer_id, name FROM `customers`[0m
  [1m[36mShiftSale Load (0.4ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[36mBooking Load (1.6ms)[0m  [1m[34mSELECT `bookings`.* FROM `bookings` WHERE `bookings`.`dining_facility_id` = 31 AND (booking_status != 'moved') AND (DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-22' OR DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-21' )[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_time'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_alert_time'[0m
  [1m[36mTaxProfile Load (0.3ms)[0m  [1m[34mSELECT `tax_profiles`.* FROM `tax_profiles` WHERE (group_type = 'cashier') ORDER BY order_by asc, order_by ASC[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'split_bill'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'edit_order'[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'changable_tax'[0m
  Rendering origami/home/show.html.erb within layouts/origami
  [1m[36mSale Load (330.7ms)[0m  [1m[34mSELECT `sales`.* FROM `sales` join sale_orders as sale_orders on sale_orders.sale_id = sales.sale_id join orders as orders on orders.order_id = sale_orders.order_id WHERE (sales.sale_status != 'new' AND orders.status = 'billed' and orders.source = 'emenu' or orders.source = 'cashier') AND (DATE_FORMAT(sales.receipt_date,'%Y-%m-%d') = '2019-04-22' ) GROUP BY sales.sale_id[0m
  [1m[36mTable Load (1.3ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Table') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[35m (0.8ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 11:00:48 UTC' THEN checkin_at >= '2019-04-22 11:00:48 UTC' ELSE checkin_at between '2019-04-22 06:00:48 UTC' and '2019-04-22 11:00:48 UTC' END) and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mBooking Load (0.7ms)[0m  [1m[34mSELECT  `bookings`.* FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 11:00:48 UTC' THEN checkin_at >= '2019-04-22 11:00:48 UTC' ELSE checkin_at between '2019-04-22 06:00:48 UTC' and '2019-04-22 11:00:48 UTC' END) and checkout_by is null) LIMIT 1[0m
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and checkin_at between '2019-04-22 06:00:48 UTC' and '2019-04-22 11:00:48 UTC' and reserved_by is not null and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mRoom Load (0.4ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Room') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[36mOrder Load (0.6ms)[0m  [1m[34mSELECT `orders`.* FROM `orders` WHERE (DATE_FORMAT(date,'%Y-%m-%d') = '2019-04-22' and status != 'billed' and source != 'quick_service') ORDER BY date desc[0m
  [1m[36mSaleOrder Load (0.4ms)[0m  [1m[34mSELECT `sale_orders`.* FROM `sale_orders` WHERE `sale_orders`.`order_id` = 'ODR-000000040176'[0m
  [1m[36mPaymentMethodSetting Load (0.4ms)[0m  [1m[34mSELECT `payment_method_settings`.* FROM `payment_method_settings`[0m
  Rendered origami/home/show.html.erb within layouts/origami (458.3ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mLookup Load (0.5ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (9.6ms)
  [1m[36mCACHE Employee Load (0.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_left_sidebar.html.erb (8.8ms)
  Rendered layouts/_right_sidebar.html.erb (1.0ms)
Completed 200 OK in 618ms (Views: 189.3ms | ActiveRecord: 398.3ms)


[SX-ActionCable] Finished "/cable/" [WebSocket] for ::1 at 2019-04-22 17:30:48 +0630
[SX-ActionCable] BillChannel stopped streaming from bill_channel
[SX-ActionCable] CallWaiterChannel stopped streaming from call_waiter_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel stopped streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CheckinChannel stopped streaming from checkin_channel
[SX-ActionCable] OrderChannel stopped streaming from order_channel
[SX-ActionCable] OrderQueueStationChannel stopped streaming from order_queue_station_channel
[SX-ActionCable] OrderReservationChannel stopped streaming from order_reservation_channel
[SX-ActionCable] SecondDisplayChannel stopped streaming from second_display_channel
[SX-ActionCable] SecondDisplayViewChannel stopped streaming from second_display_view_channel
[SX-ActionCable] SoundEffectChannel stopped streaming from sound_effect_channel
[SX-ActionCable] CheckNewOrderChannel stopped streaming from check_new_order_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel stopped streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] CheckInBookingChannel stopped streaming from check_in_booking_channel
Started GET "/cable" for ::1 at 2019-04-22 17:30:48 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:30:48 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] OrderChannel is streaming from order_channel
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is streaming from bill_channel
Started GET "/origami/get_order_info" for ::1 at 2019-04-22 17:30:48 +0630
Processing by Origami::OrderReservationController#get_order_info as JSON
  [1m[36mEmployee Load (0.3ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.3ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.2ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.4ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 00:09:01', `updated_at` = '2019-04-22 11:00:48' WHERE `employees`.`id` = 7[0m
  [1m[35m (96.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (0.7ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_reservations` WHERE (status = 'new')[0m
Completed 200 OK in 112ms (Views: 0.4ms | ActiveRecord: 99.8ms)


Started POST "/origami/cashier/credit_sales" for ::1 at 2019-04-22 17:30:48 +0630
Processing by Origami::DashboardController#get_credit_sales as JSON
  Parameters: {"receipt_no"=>"", "customer_id"=>"", "type"=>"cashier"}
  [1m[36mEmployee Load (1.2ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (1.1ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.4ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (1.3ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.9ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.9ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 00:39:01' WHERE `employees`.`id` = 7[0m
  [1m[35m (73.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mSalePayment Load (154.9ms)[0m  [1m[34mSELECT s.receipt_no, sale_payments.sale_payment_id, 
                                sale_payments.payment_method, 
                                SUM(sale_payments.payment_amount) as payment_amount,
                                s.receipt_date as sale_date,
                                s.sale_id,
                                s.cashier_name as cashier_name, c.name as customer_name FROM `sale_payments` INNER JOIN sales s ON s.sale_id = sale_payments.sale_id INNER JOIN customers c ON c.customer_id = s.customer_id WHERE ((CASE WHEN (s.grand_total + s.amount_changed)=(select SUM(payment_amount) FROM sale_payments WHERE sale_id=s.sale_id AND payment_method!='creditnote') THEN NULL ELSE payment_method='creditnote' AND (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='cashier' OR (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='emenu' END) and s.sale_status = 'completed' and s.payment_status='paid'  ) GROUP BY s.receipt_no ORDER BY s.receipt_date ASC, s.receipt_no ASC[0m
Completed 200 OK in 322ms (Views: 0.1ms | ActiveRecord: 234.3ms)


Started GET "/origami/table/31" for ::1 at 2019-04-22 17:31:41 +0630
Processing by Origami::HomeController#show as HTML
  Parameters: {"dining_id"=>"31"}
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.8ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.8ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` WHERE `shops`.`id` = 1 LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 01:09:01', `updated_at` = '2019-04-22 11:01:41' WHERE `employees`.`id` = 7[0m
  [1m[35m (64.7ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.9ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mDiningFacility Load (0.3ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 31 ORDER BY order_by asc LIMIT 1[0m
  [1m[35m (0.2ms)[0m  [1m[34mSELECT customer_id, name FROM `customers`[0m
  [1m[36mShiftSale Load (0.5ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m
  [1m[36mShop Load (0.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[36mMembershipSetting Load (0.3ms)[0m  [1m[34mSELECT  `membership_settings`.* FROM `membership_settings` WHERE `membership_settings`.`id` = 1 LIMIT 1[0m
  [1m[36mBooking Load (1.5ms)[0m  [1m[34mSELECT `bookings`.* FROM `bookings` WHERE `bookings`.`dining_facility_id` = 31 AND (booking_status != 'moved') AND (DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-22' OR DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-21' )[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_time'[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_alert_time'[0m
  [1m[36mTaxProfile Load (0.3ms)[0m  [1m[34mSELECT `tax_profiles`.* FROM `tax_profiles` WHERE (group_type = 'cashier') ORDER BY order_by asc, order_by ASC[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'split_bill'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'edit_order'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'changable_tax'[0m
  Rendering origami/home/show.html.erb within layouts/origami
  [1m[36mSale Load (307.8ms)[0m  [1m[34mSELECT `sales`.* FROM `sales` join sale_orders as sale_orders on sale_orders.sale_id = sales.sale_id join orders as orders on orders.order_id = sale_orders.order_id WHERE (sales.sale_status != 'new' AND orders.status = 'billed' and orders.source = 'emenu' or orders.source = 'cashier') AND (DATE_FORMAT(sales.receipt_date,'%Y-%m-%d') = '2019-04-22' ) GROUP BY sales.sale_id[0m
  [1m[36mTable Load (0.6ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Table') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[35m (1.0ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 11:01:42 UTC' THEN checkin_at >= '2019-04-22 11:01:42 UTC' ELSE checkin_at between '2019-04-22 06:01:42 UTC' and '2019-04-22 11:01:42 UTC' END) and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mBooking Load (0.8ms)[0m  [1m[34mSELECT  `bookings`.* FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 11:01:42 UTC' THEN checkin_at >= '2019-04-22 11:01:42 UTC' ELSE checkin_at between '2019-04-22 06:01:42 UTC' and '2019-04-22 11:01:42 UTC' END) and checkout_by is null) LIMIT 1[0m
  [1m[35m (1.0ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and checkin_at between '2019-04-22 06:01:42 UTC' and '2019-04-22 11:01:42 UTC' and reserved_by is not null and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mZone Load (0.2ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mRoom Load (0.4ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Room') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[36mOrder Load (0.5ms)[0m  [1m[34mSELECT `orders`.* FROM `orders` WHERE (DATE_FORMAT(date,'%Y-%m-%d') = '2019-04-22' and status != 'billed' and source != 'quick_service') ORDER BY date desc[0m
  [1m[36mSaleOrder Load (0.9ms)[0m  [1m[34mSELECT `sale_orders`.* FROM `sale_orders` WHERE `sale_orders`.`order_id` = 'ODR-000000040176'[0m
  [1m[36mPaymentMethodSetting Load (0.3ms)[0m  [1m[34mSELECT `payment_method_settings`.* FROM `payment_method_settings`[0m
  Rendered origami/home/show.html.erb within layouts/origami (491.2ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mLookup Load (0.6ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (7.2ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_left_sidebar.html.erb (57.0ms)
  Rendered layouts/_right_sidebar.html.erb (0.5ms)
Completed 200 OK in 925ms (Views: 287.0ms | ActiveRecord: 403.5ms)


Started GET "/cable" for ::1 at 2019-04-22 17:31:42 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:31:42 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] OrderChannel is streaming from order_channel
Started GET "/origami/get_order_info" for ::1 at 2019-04-22 17:31:42 +0630
Processing by Origami::OrderReservationController#get_order_info as JSON
  [1m[36mEmployee Load (0.3ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.2ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.3ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 01:39:01', `updated_at` = '2019-04-22 11:01:42' WHERE `employees`.`id` = 7[0m
  [1m[35m (81.5ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.9ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (0.7ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_reservations` WHERE (status = 'new')[0m
Completed 200 OK in 99ms (Views: 0.4ms | ActiveRecord: 86.2ms)


Started POST "/origami/cashier/credit_sales" for ::1 at 2019-04-22 17:31:42 +0630
Processing by Origami::DashboardController#get_credit_sales as JSON
  Parameters: {"receipt_no"=>"", "customer_id"=>"", "type"=>"cashier"}
  [1m[36mEmployee Load (0.3ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.4ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (1.2ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.5ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 02:09:01' WHERE `employees`.`id` = 7[0m
  [1m[35m (71.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mSalePayment Load (134.1ms)[0m  [1m[34mSELECT s.receipt_no, sale_payments.sale_payment_id, 
                                sale_payments.payment_method, 
                                SUM(sale_payments.payment_amount) as payment_amount,
                                s.receipt_date as sale_date,
                                s.sale_id,
                                s.cashier_name as cashier_name, c.name as customer_name FROM `sale_payments` INNER JOIN sales s ON s.sale_id = sale_payments.sale_id INNER JOIN customers c ON c.customer_id = s.customer_id WHERE ((CASE WHEN (s.grand_total + s.amount_changed)=(select SUM(payment_amount) FROM sale_payments WHERE sale_id=s.sale_id AND payment_method!='creditnote') THEN NULL ELSE payment_method='creditnote' AND (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='cashier' OR (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='emenu' END) and s.sale_status = 'completed' and s.payment_status='paid'  ) GROUP BY s.receipt_no ORDER BY s.receipt_date ASC, s.receipt_no ASC[0m
Completed 200 OK in 293ms (Views: 0.2ms | ActiveRecord: 209.9ms)


Started GET "/origami/table/31" for ::1 at 2019-04-22 17:41:53 +0630
Processing by Origami::HomeController#show as HTML
  Parameters: {"dining_id"=>"31"}
  [1m[36mEmployee Load (2.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.5ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` WHERE `shops`.`id` = 1 LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.4ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 02:39:01', `updated_at` = '2019-04-22 11:11:53' WHERE `employees`.`id` = 7[0m
  [1m[35m (61.6ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.9ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mDiningFacility Load (0.3ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 31 ORDER BY order_by asc LIMIT 1[0m
  [1m[35m (1.4ms)[0m  [1m[34mSELECT customer_id, name FROM `customers`[0m
  [1m[36mShiftSale Load (0.4ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[36mMembershipSetting Load (1.0ms)[0m  [1m[34mSELECT  `membership_settings`.* FROM `membership_settings` WHERE `membership_settings`.`id` = 1 LIMIT 1[0m
  [1m[36mBooking Load (1.1ms)[0m  [1m[34mSELECT `bookings`.* FROM `bookings` WHERE `bookings`.`dining_facility_id` = 31 AND (booking_status != 'moved') AND (DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-22' OR DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-21' )[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_time'[0m
  [1m[36mLookup Load (0.6ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_alert_time'[0m
  [1m[36mTaxProfile Load (0.3ms)[0m  [1m[34mSELECT `tax_profiles`.* FROM `tax_profiles` WHERE (group_type = 'cashier') ORDER BY order_by asc, order_by ASC[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'split_bill'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'edit_order'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'changable_tax'[0m
  Rendering origami/home/show.html.erb within layouts/origami
  [1m[36mSale Load (347.3ms)[0m  [1m[34mSELECT `sales`.* FROM `sales` join sale_orders as sale_orders on sale_orders.sale_id = sales.sale_id join orders as orders on orders.order_id = sale_orders.order_id WHERE (sales.sale_status != 'new' AND orders.status = 'billed' and orders.source = 'emenu' or orders.source = 'cashier') AND (DATE_FORMAT(sales.receipt_date,'%Y-%m-%d') = '2019-04-22' ) GROUP BY sales.sale_id[0m
  [1m[36mTable Load (1.4ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Table') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[35m (0.7ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 11:11:54 UTC' THEN checkin_at >= '2019-04-22 11:11:54 UTC' ELSE checkin_at between '2019-04-22 06:11:54 UTC' and '2019-04-22 11:11:54 UTC' END) and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mBooking Load (1.0ms)[0m  [1m[34mSELECT  `bookings`.* FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 11:11:54 UTC' THEN checkin_at >= '2019-04-22 11:11:54 UTC' ELSE checkin_at between '2019-04-22 06:11:54 UTC' and '2019-04-22 11:11:54 UTC' END) and checkout_by is null) LIMIT 1[0m
  [1m[35m (0.6ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and checkin_at between '2019-04-22 06:11:54 UTC' and '2019-04-22 11:11:54 UTC' and reserved_by is not null and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mRoom Load (0.4ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Room') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[36mOrder Load (0.5ms)[0m  [1m[34mSELECT `orders`.* FROM `orders` WHERE (DATE_FORMAT(date,'%Y-%m-%d') = '2019-04-22' and status != 'billed' and source != 'quick_service') ORDER BY date desc[0m
  [1m[36mSaleOrder Load (0.4ms)[0m  [1m[34mSELECT `sale_orders`.* FROM `sale_orders` WHERE `sale_orders`.`order_id` = 'ODR-000000040176'[0m
  [1m[36mPaymentMethodSetting Load (0.3ms)[0m  [1m[34mSELECT `payment_method_settings`.* FROM `payment_method_settings`[0m
  Rendered origami/home/show.html.erb within layouts/origami (549.6ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (7.0ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_left_sidebar.html.erb (62.5ms)
  Rendered layouts/_right_sidebar.html.erb (0.5ms)
Completed 200 OK in 1015ms (Views: 313.5ms | ActiveRecord: 446.0ms)


Started GET "/cable" for ::1 at 2019-04-22 17:41:54 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:41:54 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
[SX-ActionCable] OrderChannel is streaming from order_channel
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
Started GET "/origami/get_order_info" for ::1 at 2019-04-22 17:41:54 +0630
Processing by Origami::OrderReservationController#get_order_info as JSON
  [1m[36mEmployee Load (0.3ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.3ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.2ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.5ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 03:09:01', `updated_at` = '2019-04-22 11:11:54' WHERE `employees`.`id` = 7[0m
  [1m[35m (150.4ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.5ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (1.0ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_reservations` WHERE (status = 'new')[0m
Completed 200 OK in 179ms (Views: 0.5ms | ActiveRecord: 156.9ms)


Started POST "/origami/cashier/credit_sales" for ::1 at 2019-04-22 17:41:55 +0630
Processing by Origami::DashboardController#get_credit_sales as JSON
  Parameters: {"receipt_no"=>"", "customer_id"=>"", "type"=>"cashier"}
  [1m[36mEmployee Load (1.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.5ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.3ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.5ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.8ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 03:39:01', `updated_at` = '2019-04-22 11:11:55' WHERE `employees`.`id` = 7[0m
  [1m[35m (69.5ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.5ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mSalePayment Load (155.3ms)[0m  [1m[34mSELECT s.receipt_no, sale_payments.sale_payment_id, 
                                sale_payments.payment_method, 
                                SUM(sale_payments.payment_amount) as payment_amount,
                                s.receipt_date as sale_date,
                                s.sale_id,
                                s.cashier_name as cashier_name, c.name as customer_name FROM `sale_payments` INNER JOIN sales s ON s.sale_id = sale_payments.sale_id INNER JOIN customers c ON c.customer_id = s.customer_id WHERE ((CASE WHEN (s.grand_total + s.amount_changed)=(select SUM(payment_amount) FROM sale_payments WHERE sale_id=s.sale_id AND payment_method!='creditnote') THEN NULL ELSE payment_method='creditnote' AND (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='cashier' OR (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='emenu' END) and s.sale_status = 'completed' and s.payment_status='paid'  ) GROUP BY s.receipt_no ORDER BY s.receipt_date ASC, s.receipt_no ASC[0m
Completed 200 OK in 334ms (Views: 0.2ms | ActiveRecord: 229.6ms)


Started GET "/origami/table/31" for ::1 at 2019-04-22 17:42:06 +0630
Processing by Origami::HomeController#show as HTML
  Parameters: {"dining_id"=>"31"}
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 04:09:01', `updated_at` = '2019-04-22 11:12:06' WHERE `employees`.`id` = 7[0m
  [1m[35m (64.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mDiningFacility Load (0.6ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 31 ORDER BY order_by asc LIMIT 1[0m
  [1m[35m (1.2ms)[0m  [1m[34mSELECT customer_id, name FROM `customers`[0m
  [1m[36mShiftSale Load (0.5ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[36mBooking Load (1.2ms)[0m  [1m[34mSELECT `bookings`.* FROM `bookings` WHERE `bookings`.`dining_facility_id` = 31 AND (booking_status != 'moved') AND (DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-22' OR DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-21' )[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_time'[0m
  [1m[36mLookup Load (0.2ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_alert_time'[0m
  [1m[36mTaxProfile Load (0.3ms)[0m  [1m[34mSELECT `tax_profiles`.* FROM `tax_profiles` WHERE (group_type = 'cashier') ORDER BY order_by asc, order_by ASC[0m
  [1m[36mLookup Load (1.6ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'split_bill'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'edit_order'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'changable_tax'[0m
  Rendering origami/home/show.html.erb within layouts/origami
  [1m[36mSale Load (322.1ms)[0m  [1m[34mSELECT `sales`.* FROM `sales` join sale_orders as sale_orders on sale_orders.sale_id = sales.sale_id join orders as orders on orders.order_id = sale_orders.order_id WHERE (sales.sale_status != 'new' AND orders.status = 'billed' and orders.source = 'emenu' or orders.source = 'cashier') AND (DATE_FORMAT(sales.receipt_date,'%Y-%m-%d') = '2019-04-22' ) GROUP BY sales.sale_id[0m
  [1m[36mTable Load (0.6ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Table') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[35m (0.7ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 11:12:07 UTC' THEN checkin_at >= '2019-04-22 11:12:07 UTC' ELSE checkin_at between '2019-04-22 06:12:07 UTC' and '2019-04-22 11:12:07 UTC' END) and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mBooking Load (0.9ms)[0m  [1m[34mSELECT  `bookings`.* FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 11:12:07 UTC' THEN checkin_at >= '2019-04-22 11:12:07 UTC' ELSE checkin_at between '2019-04-22 06:12:07 UTC' and '2019-04-22 11:12:07 UTC' END) and checkout_by is null) LIMIT 1[0m
  [1m[35m (0.6ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and checkin_at between '2019-04-22 06:12:07 UTC' and '2019-04-22 11:12:07 UTC' and reserved_by is not null and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mRoom Load (0.4ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Room') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[36mOrder Load (0.4ms)[0m  [1m[34mSELECT `orders`.* FROM `orders` WHERE (DATE_FORMAT(date,'%Y-%m-%d') = '2019-04-22' and status != 'billed' and source != 'quick_service') ORDER BY date desc[0m
  [1m[36mSaleOrder Load (0.3ms)[0m  [1m[34mSELECT `sale_orders`.* FROM `sale_orders` WHERE `sale_orders`.`order_id` = 'ODR-000000040176'[0m
  [1m[36mPaymentMethodSetting Load (0.9ms)[0m  [1m[34mSELECT `payment_method_settings`.* FROM `payment_method_settings`[0m
  Rendered origami/home/show.html.erb within layouts/origami (441.0ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (9.0ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_left_sidebar.html.erb (8.4ms)
  Rendered layouts/_right_sidebar.html.erb (0.4ms)
Completed 200 OK in 643ms (Views: 189.0ms | ActiveRecord: 403.3ms)


[SX-ActionCable] Finished "/cable/" [WebSocket] for ::1 at 2019-04-22 17:42:07 +0630
[SX-ActionCable] CallWaiterChannel stopped streaming from call_waiter_channel
[SX-ActionCable] BillChannel stopped streaming from bill_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel stopped streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CheckinChannel stopped streaming from checkin_channel
[SX-ActionCable] OrderChannel stopped streaming from order_channel
[SX-ActionCable] OrderQueueStationChannel stopped streaming from order_queue_station_channel
[SX-ActionCable] OrderReservationChannel stopped streaming from order_reservation_channel
[SX-ActionCable] SecondDisplayChannel stopped streaming from second_display_channel
[SX-ActionCable] SecondDisplayViewChannel stopped streaming from second_display_view_channel
[SX-ActionCable] SoundEffectChannel stopped streaming from sound_effect_channel
[SX-ActionCable] CheckNewOrderChannel stopped streaming from check_new_order_channel
[SX-ActionCable] CheckInBookingChannel stopped streaming from check_in_booking_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel stopped streaming from check_order_ready_to_delivery_channel
Started GET "/cable" for ::1 at 2019-04-22 17:42:07 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:42:07 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is streaming from order_channel
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
Started GET "/origami/get_order_info" for ::1 at 2019-04-22 17:42:07 +0630
Processing by Origami::OrderReservationController#get_order_info as JSON
  [1m[36mEmployee Load (0.3ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.3ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (2.1ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 04:39:01', `updated_at` = '2019-04-22 11:12:07' WHERE `employees`.`id` = 7[0m
  [1m[35m (144.9ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (0.6ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_reservations` WHERE (status = 'new')[0m
Completed 200 OK in 164ms (Views: 0.3ms | ActiveRecord: 150.1ms)


Started POST "/origami/cashier/credit_sales" for ::1 at 2019-04-22 17:42:08 +0630
Processing by Origami::DashboardController#get_credit_sales as JSON
  Parameters: {"receipt_no"=>"", "customer_id"=>"", "type"=>"cashier"}
  [1m[36mEmployee Load (1.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.7ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.3ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.7ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (1.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.7ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 05:09:01', `updated_at` = '2019-04-22 11:12:08' WHERE `employees`.`id` = 7[0m
  [1m[35m (107.6ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.9ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mSalePayment Load (144.8ms)[0m  [1m[34mSELECT s.receipt_no, sale_payments.sale_payment_id, 
                                sale_payments.payment_method, 
                                SUM(sale_payments.payment_amount) as payment_amount,
                                s.receipt_date as sale_date,
                                s.sale_id,
                                s.cashier_name as cashier_name, c.name as customer_name FROM `sale_payments` INNER JOIN sales s ON s.sale_id = sale_payments.sale_id INNER JOIN customers c ON c.customer_id = s.customer_id WHERE ((CASE WHEN (s.grand_total + s.amount_changed)=(select SUM(payment_amount) FROM sale_payments WHERE sale_id=s.sale_id AND payment_method!='creditnote') THEN NULL ELSE payment_method='creditnote' AND (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='cashier' OR (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='emenu' END) and s.sale_status = 'completed' and s.payment_status='paid'  ) GROUP BY s.receipt_no ORDER BY s.receipt_date ASC, s.receipt_no ASC[0m
Completed 200 OK in 332ms (Views: 0.6ms | ActiveRecord: 258.1ms)


Started GET "/origami/table/31" for ::1 at 2019-04-22 17:43:07 +0630
Processing by Origami::HomeController#show as HTML
  Parameters: {"dining_id"=>"31"}
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (1.5ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` WHERE `shops`.`id` = 1 LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 05:39:01', `updated_at` = '2019-04-22 11:13:08' WHERE `employees`.`id` = 7[0m
  [1m[35m (91.5ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mDiningFacility Load (1.0ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 31 ORDER BY order_by asc LIMIT 1[0m
  [1m[35m (0.2ms)[0m  [1m[34mSELECT customer_id, name FROM `customers`[0m
  [1m[36mShiftSale Load (0.4ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m
  [1m[36mShop Load (0.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[36mMembershipSetting Load (0.3ms)[0m  [1m[34mSELECT  `membership_settings`.* FROM `membership_settings` WHERE `membership_settings`.`id` = 1 LIMIT 1[0m
  [1m[36mBooking Load (3.1ms)[0m  [1m[34mSELECT `bookings`.* FROM `bookings` WHERE `bookings`.`dining_facility_id` = 31 AND (booking_status != 'moved') AND (DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-22' OR DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-21' )[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_time'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_alert_time'[0m
  [1m[36mTaxProfile Load (0.3ms)[0m  [1m[34mSELECT `tax_profiles`.* FROM `tax_profiles` WHERE (group_type = 'cashier') ORDER BY order_by asc, order_by ASC[0m
  [1m[36mLookup Load (0.9ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'split_bill'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'edit_order'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'changable_tax'[0m
  Rendering origami/home/show.html.erb within layouts/origami
  [1m[36mSale Load (386.6ms)[0m  [1m[34mSELECT `sales`.* FROM `sales` join sale_orders as sale_orders on sale_orders.sale_id = sales.sale_id join orders as orders on orders.order_id = sale_orders.order_id WHERE (sales.sale_status != 'new' AND orders.status = 'billed' and orders.source = 'emenu' or orders.source = 'cashier') AND (DATE_FORMAT(sales.receipt_date,'%Y-%m-%d') = '2019-04-22' ) GROUP BY sales.sale_id[0m
  [1m[36mTable Load (0.6ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Table') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[35m (1.8ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 11:13:08 UTC' THEN checkin_at >= '2019-04-22 11:13:08 UTC' ELSE checkin_at between '2019-04-22 06:13:08 UTC' and '2019-04-22 11:13:08 UTC' END) and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mBooking Load (1.2ms)[0m  [1m[34mSELECT  `bookings`.* FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 11:13:08 UTC' THEN checkin_at >= '2019-04-22 11:13:08 UTC' ELSE checkin_at between '2019-04-22 06:13:08 UTC' and '2019-04-22 11:13:08 UTC' END) and checkout_by is null) LIMIT 1[0m
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and checkin_at between '2019-04-22 06:13:08 UTC' and '2019-04-22 11:13:08 UTC' and reserved_by is not null and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mZone Load (0.2ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.2ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mRoom Load (0.4ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Room') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[36mOrder Load (0.4ms)[0m  [1m[34mSELECT `orders`.* FROM `orders` WHERE (DATE_FORMAT(date,'%Y-%m-%d') = '2019-04-22' and status != 'billed' and source != 'quick_service') ORDER BY date desc[0m
  [1m[36mSaleOrder Load (1.2ms)[0m  [1m[34mSELECT `sale_orders`.* FROM `sale_orders` WHERE `sale_orders`.`order_id` = 'ODR-000000040176'[0m
  [1m[36mPaymentMethodSetting Load (0.4ms)[0m  [1m[34mSELECT `payment_method_settings`.* FROM `payment_method_settings`[0m
  Rendered origami/home/show.html.erb within layouts/origami (595.2ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (9.1ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_left_sidebar.html.erb (57.1ms)
  Rendered layouts/_right_sidebar.html.erb (0.5ms)
Completed 200 OK in 1114ms (Views: 346.3ms | ActiveRecord: 514.9ms)


Started GET "/cable" for ::1 at 2019-04-22 17:43:09 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:43:09 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
[SX-ActionCable] OrderChannel is streaming from order_channel
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
Started GET "/origami/get_order_info" for ::1 at 2019-04-22 17:43:09 +0630
Processing by Origami::OrderReservationController#get_order_info as JSON
  [1m[36mEmployee Load (0.3ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 06:09:01', `updated_at` = '2019-04-22 11:13:09' WHERE `employees`.`id` = 7[0m
  [1m[35m (101.2ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.2ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (0.8ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_reservations` WHERE (status = 'new')[0m
Completed 200 OK in 128ms (Views: 0.6ms | ActiveRecord: 106.9ms)


Started POST "/origami/cashier/credit_sales" for ::1 at 2019-04-22 17:43:09 +0630
Processing by Origami::DashboardController#get_credit_sales as JSON
  Parameters: {"receipt_no"=>"", "customer_id"=>"", "type"=>"cashier"}
  [1m[36mEmployee Load (1.2ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (1.7ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.4ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.9ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.7ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (1.1ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 06:39:01' WHERE `employees`.`id` = 7[0m
  [1m[35m (83.6ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mSalePayment Load (149.0ms)[0m  [1m[34mSELECT s.receipt_no, sale_payments.sale_payment_id, 
                                sale_payments.payment_method, 
                                SUM(sale_payments.payment_amount) as payment_amount,
                                s.receipt_date as sale_date,
                                s.sale_id,
                                s.cashier_name as cashier_name, c.name as customer_name FROM `sale_payments` INNER JOIN sales s ON s.sale_id = sale_payments.sale_id INNER JOIN customers c ON c.customer_id = s.customer_id WHERE ((CASE WHEN (s.grand_total + s.amount_changed)=(select SUM(payment_amount) FROM sale_payments WHERE sale_id=s.sale_id AND payment_method!='creditnote') THEN NULL ELSE payment_method='creditnote' AND (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='cashier' OR (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='emenu' END) and s.sale_status = 'completed' and s.payment_status='paid'  ) GROUP BY s.receipt_no ORDER BY s.receipt_date ASC, s.receipt_no ASC[0m
Completed 200 OK in 331ms (Views: 0.2ms | ActiveRecord: 240.7ms)


Started GET "/origami/table/31" for ::1 at 2019-04-22 17:47:08 +0630
Processing by Origami::HomeController#show as HTML
  Parameters: {"dining_id"=>"31"}
  [1m[36mEmployee Load (0.3ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` WHERE `shops`.`id` = 1 LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.4ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 07:09:01', `updated_at` = '2019-04-22 11:17:09' WHERE `employees`.`id` = 7[0m
  [1m[35m (49.0ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mDiningFacility Load (0.3ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 31 ORDER BY order_by asc LIMIT 1[0m
.............I am Here..............
  [1m[35m (0.2ms)[0m  [1m[34mSELECT customer_id, name FROM `customers`[0m
  [1m[36mShiftSale Load (0.6ms)[0m  [1m[34mSELECT  `shift_sales`.* FROM `shift_sales` WHERE (shift_started_at is not null and shift_closed_at is null and employee_id = 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[36mMembershipSetting Load (0.3ms)[0m  [1m[34mSELECT  `membership_settings`.* FROM `membership_settings` WHERE `membership_settings`.`id` = 1 LIMIT 1[0m
  [1m[36mBooking Load (1.0ms)[0m  [1m[34mSELECT `bookings`.* FROM `bookings` WHERE `bookings`.`dining_facility_id` = 31 AND (booking_status != 'moved') AND (DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-22' OR DATE_FORMAT(created_at,'%Y-%m-%d') = '2019-04-21' )[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_time'[0m
  [1m[36mLookup Load (0.9ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'checkout_alert_time'[0m
  [1m[36mTaxProfile Load (0.3ms)[0m  [1m[34mSELECT `tax_profiles`.* FROM `tax_profiles` WHERE (group_type = 'cashier') ORDER BY order_by asc, order_by ASC[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'split_bill'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'edit_order'[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'changable_tax'[0m
  Rendering origami/home/show.html.erb within layouts/origami
  [1m[36mSale Load (332.4ms)[0m  [1m[34mSELECT `sales`.* FROM `sales` join sale_orders as sale_orders on sale_orders.sale_id = sales.sale_id join orders as orders on orders.order_id = sale_orders.order_id WHERE (sales.sale_status != 'new' AND orders.status = 'billed' and orders.source = 'emenu' or orders.source = 'cashier') AND (DATE_FORMAT(sales.receipt_date,'%Y-%m-%d') = '2019-04-22' ) GROUP BY sales.sale_id[0m
  [1m[36mTable Load (0.6ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Table') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[35m (1.9ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 11:17:10 UTC' THEN checkin_at >= '2019-04-22 11:17:10 UTC' ELSE checkin_at between '2019-04-22 06:17:10 UTC' and '2019-04-22 11:17:10 UTC' END) and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mBooking Load (1.9ms)[0m  [1m[34mSELECT  `bookings`.* FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 11:17:10 UTC' THEN checkin_at >= '2019-04-22 11:17:10 UTC' ELSE checkin_at between '2019-04-22 06:17:10 UTC' and '2019-04-22 11:17:10 UTC' END) and checkout_by is null) LIMIT 1[0m
  [1m[35m (0.7ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 29 and booking_status ='assign' and checkin_at between '2019-04-22 06:17:10 UTC' and '2019-04-22 11:17:10 UTC' and reserved_by is not null and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[36mZone Load (0.2ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m
  [1m[36mZone Load (0.3ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.1ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 2 LIMIT 1[0m  [["id", 2], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mCACHE Zone Load (0.0ms)[0m  [1m[34mSELECT  `zones`.* FROM `zones` WHERE `zones`.`id` = 1 LIMIT 1[0m  [["id", 1], ["LIMIT", 1]]
  [1m[36mRoom Load (0.4ms)[0m  [1m[34mSELECT `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`type` IN ('Room') AND `dining_facilities`.`is_active` = 1 ORDER BY status desc[0m
  [1m[36mOrder Load (0.9ms)[0m  [1m[34mSELECT `orders`.* FROM `orders` WHERE (DATE_FORMAT(date,'%Y-%m-%d') = '2019-04-22' and status != 'billed' and source != 'quick_service') ORDER BY date desc[0m
  [1m[36mSaleOrder Load (0.3ms)[0m  [1m[34mSELECT `sale_orders`.* FROM `sale_orders` WHERE `sale_orders`.`order_id` = 'ODR-000000040176'[0m
  [1m[36mPaymentMethodSetting Load (0.3ms)[0m  [1m[34mSELECT `payment_method_settings`.* FROM `payment_method_settings`[0m
  Rendered origami/home/show.html.erb within layouts/origami (537.0ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Shop Load (0.0ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (8.8ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_left_sidebar.html.erb (80.0ms)
  Rendered layouts/_right_sidebar.html.erb (0.4ms)
Completed 200 OK in 961ms (Views: 339.9ms | ActiveRecord: 412.3ms)


Started GET "/cable" for ::1 at 2019-04-22 17:47:10 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:47:10 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderChannel is streaming from order_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
Started GET "/origami/get_order_info" for ::1 at 2019-04-22 17:47:10 +0630
Processing by Origami::OrderReservationController#get_order_info as JSON
  [1m[36mEmployee Load (0.9ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.4ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 07:39:01', `updated_at` = '2019-04-22 11:17:10' WHERE `employees`.`id` = 7[0m
  [1m[35m (89.5ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.9ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (0.7ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_reservations` WHERE (status = 'new')[0m
Completed 200 OK in 119ms (Views: 0.5ms | ActiveRecord: 95.2ms)


Started POST "/origami/cashier/credit_sales" for ::1 at 2019-04-22 17:47:10 +0630
Processing by Origami::DashboardController#get_credit_sales as JSON
  Parameters: {"receipt_no"=>"", "customer_id"=>"", "type"=>"cashier"}
  [1m[36mEmployee Load (1.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (1.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.3ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.9ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.4ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 08:09:01' WHERE `employees`.`id` = 7[0m
  [1m[35m (78.1ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mSalePayment Load (143.5ms)[0m  [1m[34mSELECT s.receipt_no, sale_payments.sale_payment_id, 
                                sale_payments.payment_method, 
                                SUM(sale_payments.payment_amount) as payment_amount,
                                s.receipt_date as sale_date,
                                s.sale_id,
                                s.cashier_name as cashier_name, c.name as customer_name FROM `sale_payments` INNER JOIN sales s ON s.sale_id = sale_payments.sale_id INNER JOIN customers c ON c.customer_id = s.customer_id WHERE ((CASE WHEN (s.grand_total + s.amount_changed)=(select SUM(payment_amount) FROM sale_payments WHERE sale_id=s.sale_id AND payment_method!='creditnote') THEN NULL ELSE payment_method='creditnote' AND (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='cashier' OR (select orders.source FROM orders JOIN sale_orders so ON so.order_id=orders.order_id WHERE so.sale_id=s.sale_id GROUP BY so.sale_id)='emenu' END) and s.sale_status = 'completed' and s.payment_status='paid'  ) GROUP BY s.receipt_no ORDER BY s.receipt_date ASC, s.receipt_no ASC[0m
Completed 200 OK in 349ms (Views: 0.3ms | ActiveRecord: 229.0ms)


Started GET "/origami/addorders/31" for ::1 at 2019-04-22 17:47:40 +0630
Processing by Origami::AddordersController#detail as HTML
  Parameters: {"addorders"=>"addorders", "id"=>"31"}
  [1m[36mEmployee Load (0.4ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.5ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.4ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 08:39:01', `updated_at` = '2019-04-22 11:17:40' WHERE `employees`.`id` = 7[0m
  [1m[35m (49.2ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.9ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (1.6ms)[0m  [1m[34mSELECT  `lookups`.* FROM `lookups` WHERE `lookups`.`lookup_type` = 'display_type' LIMIT 1[0m
  [1m[36mDiningFacility Load (1.3ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 31 ORDER BY order_by asc LIMIT 1[0m
  [1m[35m (4.9ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 31 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 11:17:40 UTC' THEN checkin_at >= '2019-04-22 11:17:40 UTC' ELSE checkin_at between '2019-04-22 06:17:40 UTC' and '2019-04-22 11:17:40 UTC' END) and checkout_by is null) LIMIT 1) subquery_for_count[0m
  Rendering origami/addorders/detail.html.erb within layouts/origami
  [1m[35m (0.7ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 31 and booking_status ='assign' and checkin_at between '2019-04-22 06:17:40 UTC' and '2019-04-22 11:17:40 UTC' and reserved_by is not null and checkout_by is null) LIMIT 1) subquery_for_count[0m
  Rendered origami/addorders/detail.html.erb within layouts/origami (21.0ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[36mLookup Load (0.3ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m
  [1m[36mCACHE Lookup Load (0.0ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'order_reservation'[0m  [["lookup_type", "order_reservation"]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (6.1ms)
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.0ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  Rendered layouts/_left_sidebar.html.erb (12.0ms)
  Rendered layouts/_right_sidebar.html.erb (0.4ms)
Completed 200 OK in 194ms (Views: 111.1ms | ActiveRecord: 61.8ms)


[SX-ActionCable] Finished "/cable/" [WebSocket] for ::1 at 2019-04-22 17:47:40 +0630
[SX-ActionCable] BillChannel stopped streaming from bill_channel
[SX-ActionCable] CallWaiterChannel stopped streaming from call_waiter_channel
[SX-ActionCable] CheckInBookingChannel stopped streaming from check_in_booking_channel
[SX-ActionCable] CheckinChannel stopped streaming from checkin_channel
[SX-ActionCable] OrderChannel stopped streaming from order_channel
[SX-ActionCable] OrderQueueStationChannel stopped streaming from order_queue_station_channel
[SX-ActionCable] OrderReservationChannel stopped streaming from order_reservation_channel
[SX-ActionCable] SecondDisplayChannel stopped streaming from second_display_channel
[SX-ActionCable] SecondDisplayViewChannel stopped streaming from second_display_view_channel
[SX-ActionCable] SoundEffectChannel stopped streaming from sound_effect_channel
[SX-ActionCable] CheckNewOrderChannel stopped streaming from check_new_order_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel stopped streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel stopped streaming from check_order_send_to_kitchen_channel
Started GET "/cable" for ::1 at 2019-04-22 17:47:41 +0630
Started GET "/cable/" [WebSocket] for ::1 at 2019-04-22 17:47:41 +0630
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
[SX-ActionCable] BillChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is transmitting the subscription confirmation
[SX-ActionCable] BillChannel is streaming from bill_channel
[SX-ActionCable] OrderChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayChannel is transmitting the subscription confirmation
[SX-ActionCable] SecondDisplayViewChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckNewOrderChannel is transmitting the subscription confirmation
[SX-ActionCable] CallWaiterChannel is streaming from call_waiter_channel
[SX-ActionCable] OrderReservationChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckinChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckOrderSendToKitchenChannel is transmitting the subscription confirmation
[SX-ActionCable] CheckInBookingChannel is transmitting the subscription confirmation
[SX-ActionCable] OrderQueueStationChannel is streaming from order_queue_station_channel
[SX-ActionCable] CheckOrderReadyToDeliveryChannel is streaming from check_order_ready_to_delivery_channel
[SX-ActionCable] SecondDisplayChannel is streaming from second_display_channel
[SX-ActionCable] SecondDisplayViewChannel is streaming from second_display_view_channel
[SX-ActionCable] CheckNewOrderChannel is streaming from check_new_order_channel
[SX-ActionCable] OrderChannel is streaming from order_channel
[SX-ActionCable] OrderReservationChannel is streaming from order_reservation_channel
[SX-ActionCable] CheckinChannel is streaming from checkin_channel
[SX-ActionCable] SoundEffectChannel is transmitting the subscription confirmation
[SX-ActionCable] SoundEffectChannel is streaming from sound_effect_channel
[SX-ActionCable] CheckOrderSendToKitchenChannel is streaming from check_order_send_to_kitchen_channel
[SX-ActionCable] CheckInBookingChannel is streaming from check_in_booking_channel
Started GET "/origami/get_order_info" for ::1 at 2019-04-22 17:47:41 +0630
Processing by Origami::OrderReservationController#get_order_info as JSON
  [1m[36mEmployee Load (0.5ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.5ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.1ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.3ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.2ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.4ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 09:09:01', `updated_at` = '2019-04-22 11:17:41' WHERE `employees`.`id` = 7[0m
  [1m[35m (107.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (2.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[35m (0.7ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_reservations` WHERE (status = 'new')[0m
Completed 200 OK in 124ms (Views: 0.4ms | ActiveRecord: 112.1ms)


Started GET "/en/origami/addorders/products/list" for ::1 at 2019-04-22 17:53:57 +0630
Processing by Origami::AddordersController#get_all_product as JSON
  Parameters: {"locale"=>"en"}
  [1m[36mEmployee Load (0.5ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.6ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (0.3ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 09:39:01', `updated_at` = '2019-04-22 11:23:57' WHERE `employees`.`id` = 7[0m
  [1m[35m (90.8ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (0.9ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  Rendering origami/addorders/get_all_product.json.jbuilder
  [1m[36mProduct Load (1.1ms)[0m  [1m[34mSELECT `products`.* FROM `products`[0m
  Rendered origami/addorders/get_all_product.json.jbuilder (6.6ms)
Completed 200 OK in 134ms (Views: 23.5ms | ActiveRecord: 96.2ms)


Started GET "//image/menu_images/382/382_DCMH0640.jpg" for ::1 at 2019-04-22 17:54:02 +0630
  
Started GET "//image/menu_images/382/382_DCMH0645.jpg" for ::1 at 2019-04-22 17:54:02 +0630
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0640.jpg"):
  
  
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0645.jpg"):
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
  
Started GET "//image/menu_images/382/382_DCMH0641.jpg" for ::1 at 2019-04-22 17:54:02 +0630
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
  
ActionController::RoutingError (No route matches [GET] "/image/menu_images/382/382_DCMH0641.jpg"):
  
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:301:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
Started POST "/origami/addorders/create" for ::1 at 2019-04-22 17:55:17 +0630
Processing by Origami::AddordersController#create as JSON
  Parameters: {"order_source"=>"cashier", "order_type"=>"dine_in", "customer_id"=>"", "guest_info"=>"", "table_id"=>"31", "order_items"=>"[{\"order_item_id\":\"3\",\"item_instance_code\":\"003-003-003\",\"quantity\":\"1\",\"options\":\"[\\\"Take away\\\",\\\"Less  Spicy\\\"]\"},{\"order_item_id\":\"2\",\"item_instance_code\":\"043-003\",\"quantity\":\"2\",\"options\":\"[]\"}]", "create_type"=>"create_only", "addorders"=>"addorders"}
  [1m[36mEmployee Load (0.5ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mLookup Load (0.4ms)[0m  [1m[34mSELECT name, value FROM `lookups` WHERE `lookups`.`lookup_type` = 'expiry_time'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[36mEmployee Exists (0.8ms)[0m  [1m[34mSELECT  1 AS one FROM `employees` WHERE `employees`.`emp_id` = BINARY '222' AND (`employees`.`id` != 7) LIMIT 1[0m
  [1m[36mShop Load (0.6ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35mSQL (1.5ms)[0m  [1m[33mUPDATE `employees` SET `session_expiry` = '2019-04-23 10:09:01', `updated_at` = '2019-04-22 11:25:17' WHERE `employees`.`id` = 7[0m
  [1m[35m (83.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mEmployee Load (1.5ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m
  [1m[36mCACHE Employee Load (0.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mCACHE Employee Load (0.1ms)[0m  [1m[34mSELECT  `employees`.* FROM `employees` WHERE `employees`.`token_session` = '20e3649ff22a629a733f' LIMIT 1[0m  [["token_session", "20e3649ff22a629a733f"], ["LIMIT", 1]]
  [1m[36mDiningFacility Load (3.2ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 31 ORDER BY order_by asc LIMIT 1[0m
  [1m[35m (1.2ms)[0m  [1m[34mSELECT COUNT(*) FROM (SELECT  1 FROM `bookings` WHERE (dining_facility_id = 31 and booking_status ='assign' and (CASE WHEN checkin_at > '2019-04-22 11:25:17 UTC' THEN checkin_at >= '2019-04-22 11:25:17 UTC' ELSE checkin_at between '2019-04-22 06:25:17 UTC' and '2019-04-22 11:25:17 UTC' END) and checkout_by is null) LIMIT 1) subquery_for_count[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.6ms)[0m  [1m[33mUPDATE seed_generators set current = next, next = next + 1 WHERE model='TableBooking';[0m
  [1m[35m (0.4ms)[0m  [1m[34mselect * from seed_generators where model='TableBooking';[0m
  [1m[35mSQL (1.3ms)[0m  [1m[32mINSERT INTO `bookings` (`booking_id`, `dining_facility_id`, `type`, `checkin_at`, `checkin_by`, `booking_status`, `created_at`, `updated_at`) VALUES ('BKI-000000006449', 31, 'TableBooking', '2019-04-22 11:25:17', 'Test waiter2', 'assign', '2019-04-22 11:25:17', '2019-04-22 11:25:17')[0m
  [1m[35m (51.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mDiningFacility Load (0.4ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 31 ORDER BY order_by asc LIMIT 1[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[35mSQL (0.4ms)[0m  [1m[33mUPDATE `dining_facilities` SET `status` = 'occupied', `updated_at` = '2019-04-22 11:25:17' WHERE `dining_facilities`.`id` = 31[0m
  [1m[35m (48.2ms)[0m  [1m[35mCOMMIT[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.3ms)[0m  [1m[33mUPDATE seed_generators set current = next, next = next + 1 WHERE model='Order';[0m
  [1m[35m (0.3ms)[0m  [1m[34mselect * from seed_generators where model='Order';[0m
  [1m[35mSQL (0.3ms)[0m  [1m[32mINSERT INTO `orders` (`order_id`, `date`, `source`, `order_type`, `customer_id`, `waiters`, `created_at`, `updated_at`) VALUES ('ODR-000000040177', '2019-04-22 11:25:17', 'cashier', 'dine_in', 'CUS-000000000001', '\"Test waiter2\"', '2019-04-22 11:25:17', '2019-04-22 11:25:17')[0m
  [1m[35m (47.8ms)[0m  [1m[35mCOMMIT[0m
Parent Id count -> 0
Parents count -> 0
Parent/children Items to remove -> 0
New list count -> 2
Re-Order List (Parent)-
[]
Re-Order List -
[{:order_item_id=>"3", :item_instance_code=>"003-003-003", :quantity=>"1", :options=>["Take away", "Less  Spicy"]}, {:order_item_id=>"2", :item_instance_code=>"043-003", :quantity=>"2", :options=>[]}]
  [1m[36mMenuItemInstance Load (1.2ms)[0m  [1m[34mSELECT  `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`item_instance_code` = '003-003-003' LIMIT 1[0m
  [1m[36mMenuItem Load (0.3ms)[0m  [1m[34mSELECT  `menu_items`.* FROM `menu_items` WHERE `menu_items`.`id` = 604 ORDER BY item_code asc LIMIT 1[0m
  [1m[35m (0.5ms)[0m  [1m[35mBEGIN[0m
  [1m[36mOrder Load (0.3ms)[0m  [1m[34mSELECT  `orders`.* FROM `orders` WHERE `orders`.`order_id` = 'ODR-000000040177' LIMIT 1[0m
  [1m[35m (0.3ms)[0m  [1m[33mUPDATE seed_generators set current = next, next = next + 1 WHERE model='OrderItem';[0m
  [1m[35m (0.3ms)[0m  [1m[34mselect * from seed_generators where model='OrderItem';[0m
  [1m[35mSQL (0.3ms)[0m  [1m[32mINSERT INTO `order_items` (`order_items_id`, `order_id`, `item_order_by`, `item_code`, `item_instance_code`, `item_name`, `alt_name`, `account_id`, `qty`, `price`, `options`, `created_at`, `updated_at`) VALUES ('ODI-000000057573', 'ODR-000000040177', 'Test waiter2', '003-003', '003-003-003', '185 TOM YUM SOUP - PRAWN', '', 4, 1.0, 4000.0, '[\"Take away\", \"Less  Spicy\"]', '2019-04-22 11:25:18', '2019-04-22 11:25:18')[0m
  [1m[35m (49.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[35m (0.4ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.3ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mMenuItemInstance Load (2.8ms)[0m  [1m[34mSELECT  `menu_item_instances`.* FROM `menu_item_instances` WHERE `menu_item_instances`.`item_instance_code` = '043-003' LIMIT 1[0m
  [1m[36mMenuItem Load (1.0ms)[0m  [1m[34mSELECT  `menu_items`.* FROM `menu_items` WHERE `menu_items`.`id` = 504 ORDER BY item_code asc LIMIT 1[0m
  [1m[35m (0.4ms)[0m  [1m[35mBEGIN[0m
  [1m[36mOrder Load (1.3ms)[0m  [1m[34mSELECT  `orders`.* FROM `orders` WHERE `orders`.`order_id` = 'ODR-000000040177' LIMIT 1[0m
  [1m[35m (0.8ms)[0m  [1m[33mUPDATE seed_generators set current = next, next = next + 1 WHERE model='OrderItem';[0m
  [1m[35m (0.7ms)[0m  [1m[34mselect * from seed_generators where model='OrderItem';[0m
  [1m[35mSQL (0.8ms)[0m  [1m[32mINSERT INTO `order_items` (`order_items_id`, `order_id`, `item_order_by`, `item_code`, `item_instance_code`, `item_name`, `alt_name`, `account_id`, `qty`, `price`, `options`, `created_at`, `updated_at`) VALUES ('ODI-000000057574', 'ODR-000000040177', 'Test waiter2', '043-003', '043-003', 'Shisha Free Flow - ', '', 5, 2.0, 40000.0, '[]', '2019-04-22 11:25:18', '2019-04-22 11:25:18')[0m
  [1m[35m (49.8ms)[0m  [1m[35mCOMMIT[0m
  [1m[35m (0.3ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.2ms)[0m  [1m[35mCOMMIT[0m
  [1m[35m (0.4ms)[0m  [1m[34mSELECT COUNT(*) FROM `order_items` WHERE `order_items`.`order_id` = 'ODR-000000040177'[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[35mSQL (0.4ms)[0m  [1m[33mUPDATE `orders` SET `item_count` = 2, `updated_at` = '2019-04-22 11:25:18' WHERE `orders`.`order_id` = 'ODR-000000040177'[0m
  [1m[35m (58.5ms)[0m  [1m[35mCOMMIT[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[35mSQL (0.3ms)[0m  [1m[32mINSERT INTO `booking_orders` (`booking_id`, `order_id`, `created_at`, `updated_at`) VALUES ('BKI-000000006449', 'ODR-000000040177', '2019-04-22 11:25:18', '2019-04-22 11:25:18')[0m
  [1m[35m (57.1ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mDiningFacility Load (0.8ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 31 ORDER BY order_by asc LIMIT 1[0m
[ActionCable] Broadcasting to order_channel: {:table=>#<Table id: 31, zone_id: 2, name: "U5", status: "occupied", type: "Table", seater: 4, order_by: 404, created_by: "Code2lab", is_active: true, created_at: "2018-12-06 11:38:42", updated_at: "2019-04-22 11:25:17">, :type=>"order", :from=>""}
[SX-ActionCable] OrderChannel transmitting {"table"=>{"id"=>31, "zone_id"=>2, "name"=>"U5", "status"=>"occupied", "seater"=>4, "order_by"=>404, "created_by"=>"Code2lab", "is_active"=>true, "created_at"=>"2018-12-06T18:08:42.000+06:30", "updated_at"=>"2019-04-22T17:55:17.000+06:30"}, "type"=>"order", "from"=>""} (via streamed from order_channel)
  [1m[36mOrder Load (1.2ms)[0m  [1m[34mSELECT  `orders`.* FROM `orders` WHERE `orders`.`order_id` = 'ODR-000000040177' LIMIT 1[0m
  [1m[36mLookup Load (0.9ms)[0m  [1m[34mSELECT  `lookups`.* FROM `lookups` WHERE `lookups`.`lookup_type` = 'sidekiq' LIMIT 1[0m
[sudo] password for khinsulinn: 
  [1m[36mDiningFacility Load (0.4ms)[0m  [1m[34mSELECT  `dining_facilities`.* FROM `dining_facilities` WHERE `dining_facilities`.`id` = 31 ORDER BY order_by asc LIMIT 1[0m
  [1m[36mBooking Load (0.4ms)[0m  [1m[34mSELECT  `bookings`.* FROM `bookings` WHERE `bookings`.`dining_facility_id` = 31 LIMIT 1[0m
  [1m[36mOrderQueueProcessByZone Load (0.7ms)[0m  [1m[34mSELECT `order_queue_process_by_zones`.* FROM `order_queue_process_by_zones` WHERE (zone_id=2)[0m
  [1m[36mOrderQueueStation Load (1.0ms)[0m  [1m[34mSELECT  `order_queue_stations`.* FROM `order_queue_stations` WHERE `order_queue_stations`.`id` = 1 LIMIT 1[0m
  [1m[36mOrderItem Load (0.9ms)[0m  [1m[34mSELECT `order_items`.* FROM `order_items` WHERE `order_items`.`order_id` = 'ODR-000000040177'[0m
  [1m[35m (0.4ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.4ms)[0m  [1m[33mUPDATE seed_generators set current = next, next = next + 1 WHERE model='AssignedOrderItem';[0m
  [1m[35m (0.2ms)[0m  [1m[34mselect * from seed_generators where model='AssignedOrderItem';[0m
  [1m[35mSQL (0.3ms)[0m  [1m[32mINSERT INTO `assigned_order_items` (`assigned_order_item_id`, `item_code`, `instance_code`, `order_queue_station_id`, `order_id`, `print_status`, `delivery_status`, `created_at`, `updated_at`) VALUES ('AOI-000000057254', '003-003', '003-003-003', 1, 'ODR-000000040177', 0, 0, '2019-04-22 11:25:24', '2019-04-22 11:25:24')[0m
  [1m[35m (56.9ms)[0m  [1m[35mCOMMIT[0m
  [1m[36mPrintSetting Exists (0.9ms)[0m  [1m[34mSELECT  1 AS one FROM `print_settings` LIMIT 1[0m
  [1m[36mPrintSetting Load (1.0ms)[0m  [1m[34mSELECT `print_settings`.* FROM `print_settings` ORDER BY id ASC[0m
  [1m[36mPrintSetting Load (0.4ms)[0m  [1m[34mSELECT  `print_settings`.* FROM `print_settings` WHERE `print_settings`.`unique_code` = 'OrderItemSlimPdf' LIMIT 1[0m
  [1m[36mOrderItem Load (0.6ms)[0m  [1m[34mSELECT order_items.order_id, order_items.item_code, order_items.item_name, order_items.qty, order_items.price, order_items.options, order_items.item_order_by as order_by, order_items.created_at as order_at, order_items.set_menu_items, cus.name as customer, df.type, df.name as dining,item.alt_name as alt_name FROM `order_items` left join orders ON orders.order_id = order_items.order_id                
                left join booking_orders AS bo ON bo.order_id=order_items.order_id
                left join bookings AS b ON b.booking_id = bo.booking_id
                left join dining_facilities AS df ON df.id = b.dining_facility_id
                left join customers as cus ON cus.customer_id = orders.customer_id
                left join menu_items as item ON item.item_code = order_items.item_code WHERE (order_items.order_items_id = 'ODI-000000057573') GROUP BY order_items.item_code[0m
  [1m[36mOrder Load (0.6ms)[0m  [1m[34mSELECT  `orders`.* FROM `orders` JOIN booking_orders bo ON bo.order_id = orders.order_id JOIN bookings b ON b.booking_id=bo.booking_id WHERE (orders.order_id='ODR-000000040177') ORDER BY `orders`.`order_id` ASC LIMIT 1[0m
  [1m[36mCACHE PrintSetting Exists (0.0ms)[0m  [1m[34mSELECT  1 AS one FROM `print_settings` LIMIT 1[0m  [["LIMIT", 1]]
  [1m[36mPrintSetting Load (0.3ms)[0m  [1m[34mSELECT `print_settings`.* FROM `print_settings`[0m
  [1m[36mBooking Load (0.5ms)[0m  [1m[34mSELECT  `bookings`.* FROM `bookings` JOIN booking_orders bo ON bo.booking_id = bookings.booking_id JOIN orders o ON o.order_id=bo.order_id WHERE (o.order_id='ODR-000000040177') ORDER BY `bookings`.`booking_id` ASC LIMIT 1[0m
  [1m[36mShop Load (0.3ms)[0m  [1m[34mSELECT  `shops`.* FROM `shops` ORDER BY `shops`.`id` ASC LIMIT 1[0m
  [1m[35m (0.2ms)[0m  [1m[35mBEGIN[0m
  [1m[35m (0.1ms)[0m  [1m[35mCOMMIT[0m
Completed 500 Internal Server Error in 7299ms (ActiveRecord: 555.8ms)


  
RuntimeError (The printer or destination doesn't exist!):
  
app/models/printer/printer_worker.rb:49:in `initialize'
app/models/printer/printer_worker.rb:49:in `new'
app/models/printer/printer_worker.rb:49:in `block in print'
app/models/printer/printer_worker.rb:48:in `print'
app/models/printer/order_queue_printer.rb:60:in `print_order_item'
app/models/order_queue_station.rb:279:in `block in print_slip_item'
app/models/order_queue_station.rb:278:in `each'
app/models/order_queue_station.rb:278:in `print_slip_item'
app/models/order_queue_station.rb:64:in `block in process_order'
app/models/order_queue_station.rb:32:in `process_order'
app/controllers/origami/addorders_controller.rb:284:in `process_order_queue'
app/controllers/origami/addorders_controller.rb:199:in `create'
Exiting
/home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:257:in `rescue in io': Connection lost (ECONNRESET) (Redis::ConnectionError)
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:250:in `io'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:261:in `read'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:136:in `block (3 levels) in call_loop'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:135:in `loop'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:135:in `block (2 levels) in call_loop'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:231:in `block (2 levels) in process'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:367:in `ensure_connected'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:221:in `block in process'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:306:in `logging'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:220:in `process'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:134:in `block in call_loop'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:280:in `with_socket_timeout'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:133:in `call_loop'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/subscribe.rb:43:in `subscription'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis/subscribe.rb:12:in `subscribe'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis.rb:2775:in `_subscription'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis.rb:2143:in `block in subscribe'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis.rb:58:in `block in synchronize'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis.rb:2142:in `subscribe'
	from /home/khinsulinn/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actioncable-5.1.4/lib/action_cable/subscription_adapter/redis.rb:77:in `block in listen'
	