quintel / etmoses

Online decision support tool to create local energy situations for neighbourhoods, cities and regions with a time resolution of 15 minutes created and maintained by Quintel – Not maintained
https://moses.energytransitionmodel.com
MIT License
11 stars 3 forks source link

[Airbrake] [Staging] undefined method `profile_required?' for nil:NilClass #1390

Closed dennisquintel closed 8 years ago

dennisquintel commented 8 years ago

Airbrake error: #0798 Airbrake project: ETMoses

Error type: NoMethodError Error message: undefined methodprofile_required?' for nil:NilClass **Where:**testing_grounds#show` Occurred at: Aug 24, 2016 23:05:09 UTC First seen at: Aug 24, 2016 23:05:09 UTC Occurrences: 1 (1 since last deploy on Aug 24, 2016 13:56:20 UTC)

URL: https://beta-moses.energytransitionmodel.com/testing_grounds/57 File: [PROJECT_ROOT]/app/models/installed_technology.rb

Backtrace:

[PROJECT_ROOT]/app/models/installed_technology.rb:265:in valid?
[PROJECT_ROOT]/app/views/testing_grounds/show.html.haml:83:in block (2 levels) in _app_views_testing_grounds_show_html_haml___2084798858305637857_70283153847080
[PROJECT_ROOT]/app/views/testing_grounds/show.html.haml:82:in each
[PROJECT_ROOT]/app/views/testing_grounds/show.html.haml:82:in block in _app_views_testing_grounds_show_html_haml___2084798858305637857_70283153847080