mberlanda / cheidelacoriera

This Rails application aims to become a management system for away fans.
GNU General Public License v3.0
2 stars 1 forks source link

chore: upgrade to rails <7 #227

Closed mberlanda closed 2 years ago

mberlanda commented 2 years ago

description

testing

mberlanda commented 2 years ago
2022-04-09T16:49:42.553890+00:00 app[web.1]: I, [2022-04-09T16:49:42.553831 #58]  INFO -- : [54886f36-2968-48cf-8c24-dc816c6d7bfd] Started GET "/trasferta/gatti-cani-animali-2069-12-31-aereo/details" for 83.32.226.199 at 2022-04-09 16:49:42 +0000
2022-04-09T16:49:42.554669+00:00 app[web.1]: I, [2022-04-09T16:49:42.554630 #58]  INFO -- : [54886f36-2968-48cf-8c24-dc816c6d7bfd] Processing by EventsController#details as HTML
2022-04-09T16:49:42.554694+00:00 app[web.1]: I, [2022-04-09T16:49:42.554675 #58]  INFO -- : [54886f36-2968-48cf-8c24-dc816c6d7bfd]   Parameters: {"id"=>"gatti-cani-animali-2069-12-31-aereo"}
2022-04-09T16:49:42.564919+00:00 app[web.1]: I, [2022-04-09T16:49:42.564857 #58]  INFO -- : [54886f36-2968-48cf-8c24-dc816c6d7bfd]   Rendered events/details.html.haml within layouts/application (Duration: 0.9ms | Allocations: 341)
2022-04-09T16:49:42.564967+00:00 app[web.1]: I, [2022-04-09T16:49:42.564941 #58]  INFO -- : [54886f36-2968-48cf-8c24-dc816c6d7bfd]   Rendered layout layouts/application.html.haml (Duration: 1.0ms | Allocations: 369)
2022-04-09T16:49:42.565156+00:00 app[web.1]: I, [2022-04-09T16:49:42.565125 #58]  INFO -- : [54886f36-2968-48cf-8c24-dc816c6d7bfd] Completed 500 Internal Server Error in 10ms (ActiveRecord: 3.3ms | Allocations: 2652)
2022-04-09T16:49:42.565882+00:00 app[web.1]: F, [2022-04-09T16:49:42.565846 #58] FATAL -- : [54886f36-2968-48cf-8c24-dc816c6d7bfd]   
2022-04-09T16:49:42.565883+00:00 app[web.1]: [54886f36-2968-48cf-8c24-dc816c6d7bfd] ActionView::Template::Error (`render file:` should be given the absolute path to a file. 'reservations/status' was given instead):
2022-04-09T16:49:42.565883+00:00 app[web.1]: [54886f36-2968-48cf-8c24-dc816c6d7bfd]     36:           - elsif !@event.book_range?
2022-04-09T16:49:42.565884+00:00 app[web.1]: [54886f36-2968-48cf-8c24-dc816c6d7bfd]     37:             = render(file: 'reservations/no_user_form')
2022-04-09T16:49:42.565884+00:00 app[web.1]: [54886f36-2968-48cf-8c24-dc816c6d7bfd]     38:           - elsif @reservation&.id
2022-04-09T16:49:42.565884+00:00 app[web.1]: [54886f36-2968-48cf-8c24-dc816c6d7bfd]     39:             = render(file: 'reservations/status')
2022-04-09T16:49:42.565885+00:00 app[web.1]: [54886f36-2968-48cf-8c24-dc816c6d7bfd]     40:           - elsif !current_user.can_book?(@event)
2022-04-09T16:49:42.565885+00:00 app[web.1]: [54886f36-2968-48cf-8c24-dc816c6d7bfd]     41:             = render(file: 'reservations/no_user_form')
2022-04-09T16:49:42.565886+00:00 app[web.1]: [54886f36-2968-48cf-8c24-dc816c6d7bfd]     42:           - else
2022-04-09T16:49:42.565886+00:00 app[web.1]: [54886f36-2968-48cf-8c24-dc816c6d7bfd]   
2022-04-09T16:49:42.565887+00:00 app[web.1]: [54886f36-2968-48cf-8c24-dc816c6d7bfd] app/views/events/details.html.haml:39