Closed antoinesimonin closed 4 years ago
hi. could you please share the code which is raising the error. if its during rendering some json inside a controller, please share the controller namespace signature too. thanks
Hi wasifhossain. I'm totaly beginner in rails app MVC. I'm apex developper and I don't know which part of the app is in error.
Here you can find the app architecture, can you tell me, witch file you want to see?
Here you can find logs in heroku : ` 2020-03-28T10:02:41.361656+00:00 heroku[router]: at=info method=GET path="/assets/vendor-954e3ee5ae945e98ae94927321d2e6af.css" host=spie-refcom-preprod.herokuapp.com request_id=ce26cbff-ebf9-4201-8300-865c04cbc376 fwd="87.231.123.63" dyno=web.1 connect=1ms service=2ms status=304 bytes=160 protocol=https
2020-03-28T10:02:41.272478+00:00 app[web.1]: Started GET "/" for 87.231.123.63 at 2020-03-28 10:02:41 +0000
2020-03-28T10:02:41.274926+00:00 app[web.1]: Processing by EmberCli::EmberController#index as HTML
2020-03-28T10:02:41.275030+00:00 app[web.1]: Parameters: {"ember_app"=>:frontend}
2020-03-28T10:02:41.278323+00:00 app[web.1]: Rendering vendor/bundle/ruby/2.6.0/gems/ember-cli-rails-0.10.0/app/views/ember_cli/ember/index.html.erb
2020-03-28T10:02:41.281518+00:00 app[web.1]: Rendering html template
2020-03-28T10:02:41.281675+00:00 app[web.1]: Rendered html template (0.0ms)
2020-03-28T10:02:41.281740+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.6.0/gems/ember-cli-rails-0.10.0/app/views/ember_cli/ember/index.html.erb (3.4ms)
2020-03-28T10:02:41.281942+00:00 app[web.1]: Completed 200 OK in 7ms (Views: 3.8ms)
2020-03-28T10:02:41.359875+00:00 app[web.1]: Started GET "/assets/vendor-954e3ee5ae945e98ae94927321d2e6af.css" for 87.231.123.63 at 2020-03-28 10:02:41 +0000
2020-03-28T10:02:41.362588+00:00 app[web.1]: Started GET "/assets/vendor-24d7ffb12e8046f889e2389d87fca2ac.js" for 87.231.123.63 at 2020-03-28 10:02:41 +0000
2020-03-28T10:02:41.403572+00:00 app[web.1]: Started GET "/assets/spie-de6d8617fbff375739d5e4c79b817a70.js" for 87.231.123.63 at 2020-03-28 10:02:41 +0000
2020-03-28T10:02:41.404300+00:00 app[web.1]: Started GET "/assets/spie-c032e6803607d560c64c8e1ea9927262.css" for 87.231.123.63 at 2020-03-28 10:02:41 +0000
2020-03-28T10:02:41.284890+00:00 heroku[router]: at=info method=GET path="/" host=spie-refcom-preprod.herokuapp.com request_id=a1424ea9-11be-4233-8fe2-8f3ba8f63ea3 fwd="87.231.123.63" dyno=web.1 connect=1ms service=23ms status=200 bytes=2397 protocol=https
2020-03-28T10:02:41.356069+00:00 heroku[router]: at=info method=GET path="/assets/vendor-24d7ffb12e8046f889e2389d87fca2ac.js" host=spie-refcom-preprod.herokuapp.com request_id=d365daf4-d44f-4f79-b4ac-7adf1a8efb88 fwd="87.231.123.63" dyno=web.1 connect=0ms service=2ms status=304 bytes=160 protocol=https
2020-03-28T10:02:41.398737+00:00 heroku[router]: at=info method=GET path="/assets/spie-de6d8617fbff375739d5e4c79b817a70.js" host=spie-refcom-preprod.herokuapp.com request_id=b7379a3d-1f28-48e5-b7d4-e84f5a817bd7 fwd="87.231.123.63" dyno=web.1 connect=1ms service=4ms status=304 bytes=160 protocol=https
2020-03-28T10:02:41.630910+00:00 heroku[router]: at=info method=GET path="/images/spie.svg" host=spie-refcom-preprod.herokuapp.com request_id=0af54673-18bf-4ace-bbd6-356d79ac10bb fwd="87.231.123.63" dyno=web.1 connect=0ms service=2ms status=304 bytes=160 protocol=https
2020-03-28T10:02:41.406833+00:00 heroku[router]: at=info method=GET path="/assets/spie-c032e6803607d560c64c8e1ea9927262.css" host=spie-refcom-preprod.herokuapp.com request_id=55f9691d-2384-4e36-9730-23ebc896465a fwd="87.231.123.63" dyno=web.1 connect=0ms service=4ms status=304 bytes=160 protocol=https
2020-03-28T10:02:41.591463+00:00 app[web.1]: Started GET "/filters" for 87.231.123.63 at 2020-03-28 10:02:41 +0000
2020-03-28T10:02:41.592417+00:00 app[web.1]: Processing by FiltersController#getallfilters as JSON
2020-03-28T10:02:41.632739+00:00 app[web.1]: Started GET "/images/spie.svg" for 87.231.123.63 at 2020-03-28 10:02:41 +0000
2020-03-28T10:02:41.640061+00:00 app[web.1]: Started GET "/images/spinner-57f23599cb45c2f22942f6157e01715a.gif" for 87.231.123.63 at 2020-03-28 10:02:41 +0000
2020-03-28T10:02:41.658149+00:00 app[web.1]: Started GET "/assets/fonts/DINPro-Regular_13937.woff" for 87.231.123.63 at 2020-03-28 10:02:41 +0000
2020-03-28T10:02:41.651156+00:00 heroku[router]: at=info method=GET path="/assets/fonts/DINPro-Regular_13937.woff" host=spie-refcom-preprod.herokuapp.com request_id=e346e22e-b8bc-49e2-8f9f-e4a071a5cc53 fwd="87.231.123.63" dyno=web.1 connect=0ms service=2ms status=304 bytes=160 protocol=https
2020-03-28T10:02:41.721416+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=spie-refcom-preprod.herokuapp.com request_id=9d200c0e-3e02-45db-8694-4db0df1a4eda fwd="87.231.123.63" dyno=web.1 connect=0ms service=1ms status=304 bytes=48 protocol=https
2020-03-28T10:02:41.638703+00:00 heroku[router]: at=info method=GET path="/images/spinner-57f23599cb45c2f22942f6157e01715a.gif" host=spie-refcom-preprod.herokuapp.com request_id=605fdd79-21fb-4a4a-a6f5-f9018b38b9f6 fwd="87.231.123.63" dyno=web.1 connect=1ms service=2ms status=304 bytes=160 protocol=https
2020-03-28T10:02:41.668983+00:00 heroku[router]: at=info method=GET path="/fonts/fontawesome-webfont.woff2?v=4.4.0" host=spie-refcom-preprod.herokuapp.com request_id=335d73fe-2675-49e5-b286-8e0bbca8eef9 fwd="87.231.123.63" dyno=web.1 connect=1ms service=2ms status=304 bytes=48 protocol=https
2020-03-28T10:02:51.610512+00:00 app[web.1]: Read fragment views/spie-refcom-preprod.herokuapp.com/filters.json (10017.2ms)
2020-03-28T10:02:51.610602+00:00 app[web.1]: on geAllFilters 2020-03-28T10:02:55.534764+00:00 app[web.1]: &&&&&&&& after push 1 2020-03-28T10:02:55.725797+00:00 app[web.1]: &&&&&&&& after push 2 2020-03-28T10:02:55.893424+00:00 app[web.1]: &&&&&&&& after push 3 2020-03-28T10:02:56.236191+00:00 app[web.1]: &&&&&&&& after push 4 2020-03-28T10:02:56.578209+00:00 app[web.1]: &&&&&&&& after push 5 2020-03-28T10:02:56.838487+00:00 app[web.1]: &&&&&&&& after push 6 2020-03-28T10:02:57.260140+00:00 app[web.1]: &&&&&&&& after push 7 2020-03-28T10:02:57.626982+00:00 app[web.1]: &&&&&&&& after push 8 2020-03-28T10:02:57.626992+00:00 app[web.1]: &&&&&&&& after push 9 2020-03-28T10:02:58.023957+00:00 app[web.1]: &&&&&&&& after push 10 2020-03-28T10:02:58.379680+00:00 app[web.1]: &&&&&&&& after push 11 2020-03-28T10:02:58.737000+00:00 app[web.1]: &&&&&&&& after push 12 2020-03-28T10:02:59.072370+00:00 app[web.1]: &&&&&&&& after push 13 2020-03-28T10:02:59.759437+00:00 app[web.1]: &&&&&&&& after push 14 2020-03-28T10:03:00.082818+00:00 app[web.1]: &&&&&&&& after push 15 2020-03-28T10:03:00.413222+00:00 app[web.1]: &&&&&&&& after push 16 2020-03-28T10:03:00.737430+00:00 app[web.1]: &&&&&&&& after push 17 2020-03-28T10:03:01.051957+00:00 app[web.1]: &&&&&&&& after push 18 2020-03-28T10:03:01.430658+00:00 app[web.1]: &&&&&&&& after push 19 2020-03-28T10:03:01.721589+00:00 app[web.1]: &&&&&&&& after push 20 2020-03-28T10:03:02.065475+00:00 app[web.1]: &&&&&&&& after push 21 2020-03-28T10:03:02.065505+00:00 app[web.1]: &&&&&&&& after push 22 2020-03-28T10:03:02.065505+00:00 app[web.1]: &&&&&&&& END RENDER
2020-03-28T10:03:02.065512+00:00 app[web.1]: {"id"=>"1", "name"=>"subsidiary", "className"=>"subsidiary", "choices"=>["BU0007", "BUSUK", "BUSOGS", "BUSBEL", "BUSNL", "BUSICS", "BUSHQ", "BUOTHER", "BUSCH", "BU0041", "BU0042", "BU0020", "BUDZE", "BU0063", "BU0064", "BU0065", "BU0066"], "needTranslation"=>true}
2020-03-28T10:03:02.065515+00:00 app[web.1]: {"id"=>"2", "name"=>"customer", "className"=>"subsidiary", "choices"=>[], "needTranslation"=>false}
2020-03-28T10:03:02.065548+00:00 app[web.1]: {"id"=>"3", "name"=>"location", "className"=>"subsidiary", "choices"=>[], "needTranslation"=>false}
2020-03-28T10:03:02.065559+00:00 app[web.1]: {"id"=>"4", "name"=>"client_sector", "className"=>"subsidiary", "choices"=>["C01", "C02", "C03", "C04", "C05", "C06"], "needTranslation"=>true}
2020-03-28T10:03:02.065593+00:00 app[web.1]: {"id"=>"5", "name"=>"activity", "className"=>"subsidiary", "choices"=>["E1", "E2", "E3"], "needTranslation"=>true}
2020-03-28T10:03:02.065607+00:00 app[web.1]: {"id"=>"6", "name"=>"skill", "className"=>"subsidiary", "choices"=>["E11", "E12", "E13", "E41", "E42", "E43", "E44", "E45", "E61", "E62", "E63", "E64", "E65", "E66"], "needTranslation"=>true}
2020-03-28T10:03:02.066153+00:00 app[web.1]: {"id"=>"7", "name"=>"amount", "className"=>"subsidiary", "choices"=>["<= 100 K€", "100 K€ - 500 K€", "500 K€ - 1 M€", "1 M€ - 3 M€", "3 M€ - 5 M€", "5 M€ - 10 M€", "10 M€ - 20 M€", "> 20 M€"], "needTranslation"=>true}
2020-03-28T10:03:02.066223+00:00 app[web.1]: {"id"=>"8", "name"=>"duration_range", "className"=>"subsidiary", "choices"=>["< 1", "1 - 3", "3 - 5", "> 5"], "needTranslation"=>false}
2020-03-28T10:03:02.066227+00:00 app[web.1]: {"id"=>"9", "name"=>"period_start_end_contract", "className"=>"subsidiary", "choices"=>[], "needTranslation"=>false}
2020-03-28T10:03:02.066271+00:00 app[web.1]: {"id"=>"10", "name"=>"sector_public_private", "className"=>"subsidiary", "choices"=>["0", "-1"], "needTranslation"=>true}
2020-03-28T10:03:02.066274+00:00 app[web.1]: {"id"=>"11", "name"=>"account_type", "className"=>"subsidiary", "choices"=>["CL01", "CL02", "CL03", "CL04", "CL05", "CL06", "CL07", "CL08", "CL09", "CL10"], "needTranslation"=>true}
2020-03-28T10:03:02.066316+00:00 app[web.1]: {"id"=>"12", "name"=>"contract_type", "className"=>"subsidiary", "choices"=>["TC01", "TC02", "TC03", "TC04", "TC05"], "needTranslation"=>true}
2020-03-28T10:03:02.066344+00:00 app[web.1]: {"id"=>"13", "name"=>"phase", "className"=>"subsidiary", "choices"=>["UP0", "MI0", "DS0"], "needTranslation"=>true}
2020-03-28T10:03:02.066376+00:00 app[web.1]: {"id"=>"14", "name"=>"service_line", "className"=>"subsidiary", "choices"=>["AS0", "WS0", "CD0", "EP0"], "needTranslation"=>true}
2020-03-28T10:03:02.066413+00:00 app[web.1]: {"id"=>"15", "name"=>"prestation", "className"=>"subsidiary", "choices"=>["AS01", "AS02", "AS03", "AS04", "AS05", "AS06", "AS07", "AS08", "WS01", "WS02", "WS03", "WS04", "WS05", "WS06", "CD01", "CD02", "CD03", "CD04", "EP01", "EP02", "EP03", "EP04", "EP05", "EP06", "EP07", "EP08"], "needTranslation"=>true}
2020-03-28T10:03:02.066456+00:00 app[web.1]: {"id"=>"16", "name"=>"detail_phase", "className"=>"subsidiary", "choices"=>["UP01", "UP02", "MI01", "MI02", "DS01", "DS02", "DS03", "DS04", "DS05", "DS06", "DS07", "DS08", "DS09"], "needTranslation"=>true}
2020-03-28T10:03:02.066460+00:00 app[web.1]: {"id"=>"17", "name"=>"perimeter", "className"=>"subsidiary", "choices"=>["AUT01", "BI", "DC", "ENVUSR", "IP", "UCC"], "needTranslation"=>true}
2020-03-28T10:03:02.066490+00:00 app[web.1]: {"id"=>"18", "name"=>"techno_category", "className"=>"subsidiary", "choices"=>["AUT01", "BI1", "BI2", "DC1", "DC2", "DC3", "IP1", "IP2", "SEC", "UCC1", "UCC2", "UCC3"], "needTranslation"=>true}
2020-03-28T10:03:02.066532+00:00 app[web.1]: {"id"=>"19", "name"=>"das_service", "className"=>"subsidiary", "choices"=>["CONSEIL & INGENIERIE", "INFOGERANCE", "SERVICES OPERES & CLOUD", "AUTRES SERVICES"], "needTranslation"=>true}
2020-03-28T10:03:02.066582+00:00 app[web.1]: {"id"=>"20", "name"=>"service_category", "className"=>"subsidiary", "choices"=>["AUTRES SERVICES", "CONSEIL& ARCHITECTURE", "INFOGERANCE INFRA", "INFOGERANCE UTILISATEURS", "INGENIERIE PROJET", "MAINTENANCE", "SERVICES MANAGES, HEBERGES, CLOUD", "SERVICES OPERATEUR", "DEP", "INFOG5"], "needTranslation"=>true}
2020-03-28T10:03:02.066582+00:00 app[web.1]: {"id"=>"21", "name"=>"strategic_activity_domain", "className"=>"subsidiary", "choices"=>["TN", "TSE", "M", "DEM"], "needTranslation"=>true} 2020-03-28T10:03:02.066605+00:00 app[web.1]: {"id"=>"22", "name"=>"certificate_ability", "className"=>"subsidiary", "choices"=>["true", "false"], "needTranslation"=>true}
2020-03-28T10:03:02.067011+00:00 app[web.1]: No serializer found for resource: {"id"=>"1", "name"=>"subsidiary", "className"=>"subsidiary", "choices"=>["BU0007", "BUSUK", "BUSOGS", "BUSBEL", "BUSNL", "BUSICS", "BUSHQ", "BUOTHER", "BUSCH", "BU0041", "BU0042", "BU0020", "BUDZE", "BU0063", "BU0064", "BU0065", "BU0066"], "needTranslation"=>true}
2020-03-28T10:03:02.069395+00:00 app[web.1]: [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Array (2.19ms)
2020-03-28T10:03:11.641759+00:00 app[web.1]: Started GET "/filters" for 87.231.123.63 at 2020-03-28 10:03:11 +0000
2020-03-28T10:03:11.643041+00:00 app[web.1]: Processing by FiltersController#getallfilters as JSON`
We can see that all my data is well retrieve from Salesforce CRM.
Here is the app on preprod with the new stack heroku 18
It should display filters that you can see in logs.
I imagine, that the error came from this line :
2020-03-28T10:03:02.067011+00:00 app[web.1]: No serializer found for resource: {"id"=>"1", "name"=>"subsidiary", "className"=>"subsidiary", "choices"=>["BU0007", "BUSUK", "BUSOGS", "BUSBEL", "BUSNL", "BUSICS", "BUSHQ", "BUOTHER", "BUSCH", "BU0041", "BU0042", "BU0020", "BUDZE", "BU0063", "BU0064", "BU0065", "BU0066"], "needTranslation"=>true}
But I'm not sure!
Thanks for your help!!
Best regards!
thanks for the info. could you share the getallfilters
method from FiltersController
Hi Wasifhossain,
Here the method getallfilters from Ffilter_controller
class FiltersController < ApplicationController
caches_action :getallfilters
respond_to :json
def getallfilters
puts "on geAllFilters"
# login
client = Restforce.new
all_filters_value = []
# High part
# ------------------------
# subsidiaries
subsidiaries = client.picklist_values('Reference_commerciale__c', 'Lead_Subsidiary__c');
subsidiaries_values_choices = []
for record in subsidiaries
subsidiaries_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "1", "name" => "subsidiary", "className" => "subsidiary", "choices" => subsidiaries_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 1"
# clients
#clients = client.query("select Client_Group__c
# from Reference_commerciale__c
# where Technical_Validation_Status__c = 'Validated' and Archived__c = false
# group by Client_Group__c");
#clients = JSON.parse clients.to_json
#clients_values_choices = []
#for record in clients
# clients_values_choices.push(record["Client_Group__c"])
#end
clients = client.query("select Account_Name__r.Name
from Reference_Commerciale__c
where Technical_Validation_Status__c = 'Validated'
group by Account_Name__r.Name
order by Account_Name__r.Name ASC");
clients = JSON.parse clients.to_json
clients_values_choices = []
for record in clients
clients_values_choices.push(record["Name"])
end
all_filters_value.push({"id" => "2", "name" => "customer", "className" => "subsidiary", "choices" => clients_values_choices, "needTranslation" => false});
puts "&&&&&&&& after push 2"
# locations
locations = client.query("select Location__c
from Reference_commerciale__c
where Technical_Validation_Status__c = 'Validated' and Archived__c = false
group by Location__c");
locations = JSON.parse locations.to_json
locations_values_choices = []
for record in locations
locations_values_choices.push(record["Location__c"])
end
all_filters_value.push({"id" => "3", "name" => "location", "className" => "subsidiary", "choices" => locations_values_choices, "needTranslation" => false});
puts "&&&&&&&& after push 3"
# client sector
client_sectors = client.picklist_values('Reference_commerciale__c', 'Client_Sector__c');
client_sectors_values_choices = []
for record in client_sectors
client_sectors_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "4", "name" => "client_sector", "className" => "subsidiary", "choices" => client_sectors_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 4"
# activities
activities = client.picklist_values('Reference_commerciale__c', 'Activity__c');
activities_values_choices = []
for record in activities
activities_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "5", "name" => "activity", "className" => "subsidiary", "choices" => activities_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 5"
# skills
skills = client.picklist_values('Reference_commerciale__c', 'Skill__c');
skills_values_choices = []
for record in skills
skills_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "6", "name" => "skill", "className" => "subsidiary", "choices" => skills_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 6"
# amount ranges
amount_ranges = client.picklist_values('Reference_commerciale__c', 'Amount_Range__c');
amount_ranges_values_choices = []
for record in amount_ranges
amount_ranges_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "7", "name" => "amount", "className" => "subsidiary", "choices" => amount_ranges_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 7"
# duration ranges
duration_ranges = client.picklist_values('Reference_commerciale__c', 'Duration_Range__c');
duration_ranges_values_choices = []
for record in duration_ranges
duration_ranges_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "8", "name" => "duration_range", "className" => "subsidiary", "choices" => duration_ranges_values_choices, "needTranslation" => false});
puts "&&&&&&&& after push 8"
# period
all_filters_value.push({"id" => "9", "name" => "period_start_end_contract", "className" => "subsidiary", "choices" => [], "needTranslation" => false});
puts "&&&&&&&& after push 9"
# Low part
# -----------
# sectors (private public)
sectors = client.picklist_values('Reference_commerciale__c', 'Private_Public_Sector__c');
sectors_values_choices = []
for record in sectors
sectors_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "10", "name" => "sector_public_private", "className" => "subsidiary", "choices" => sectors_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 10"
# Seg OGS : Type de Client
seg_ops_account_type = client.picklist_values('Reference_commerciale__c', 'Seg_OGS_Account_Type__c');
seg_ops_account_type_values_choices = []
for record in seg_ops_account_type
seg_ops_account_type_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "11", "name" => "account_type", "className" => "subsidiary", "choices" => seg_ops_account_type_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 11"
# Seg OGS : Type de contrat
seg_ops_contract_type = client.picklist_values('Reference_commerciale__c', 'Seg_OGS_Contract_Type__c');
seg_ops_contract_type_values_choices = []
for record in seg_ops_contract_type
seg_ops_contract_type_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "12", "name" => "contract_type", "className" => "subsidiary", "choices" => seg_ops_contract_type_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 12"
# Seg OGS : Phase
seg_ops_phase = client.picklist_values('Reference_commerciale__c', 'Seg_OGS_Phase__c');
seg_ops_phase_values_choices = []
for record in seg_ops_phase
seg_ops_phase_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "13", "name" => "phase", "className" => "subsidiary", "choices" => seg_ops_phase_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 13"
# Seg OGS : Service line
seg_ops_service_line = client.picklist_values('Reference_commerciale__c', 'Seg_OGS_Service_Line__c');
seg_ops_service_line_values_choices = []
for record in seg_ops_service_line
seg_ops_service_line_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "14", "name" => "service_line", "className" => "subsidiary", "choices" => seg_ops_service_line_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 14"
# Seg OGS : prestation
seg_ops_prestation = client.picklist_values('Reference_commerciale__c', 'Seg_OGS_Prestation__c');
seg_ops_prestation_values_choices = []
for record in seg_ops_prestation
seg_ops_prestation_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "15", "name" => "prestation", "className" => "subsidiary", "choices" => seg_ops_prestation_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 15"
# Seg OGS : detail phase
seg_ops_detail_phase = client.picklist_values('Reference_commerciale__c', 'Seg_OGS_Detail_Phase__c');
seg_ops_detail_phase_values_choices = []
for record in seg_ops_detail_phase
seg_ops_detail_phase_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "16", "name" => "detail_phase", "className" => "subsidiary", "choices" => seg_ops_detail_phase_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 16"
# Seg COM : perimeter
seg_com_perimeter = client.picklist_values('Reference_commerciale__c', 'Seg_COM_Perimeter__c');
seg_com_perimeter_values_choices = []
for record in seg_com_perimeter
seg_com_perimeter_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "17", "name" => "perimeter", "className" => "subsidiary", "choices" => seg_com_perimeter_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 17"
# Seg COM : techno category
seg_com_techno_category = client.picklist_values('Reference_commerciale__c', 'Seg_COM_Techno_Category__c');
seg_com_techno_category_values_choices = []
for record in seg_com_techno_category
seg_com_techno_category_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "18", "name" => "techno_category", "className" => "subsidiary", "choices" => seg_com_techno_category_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 18"
# Seg COM : DAS service
seg_com_das_service = client.picklist_values('Reference_commerciale__c', 'Seg_COM_DAS_Service__c');
seg_com_das_service_values_choices = []
for record in seg_com_das_service
seg_com_das_service_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "19", "name" => "das_service", "className" => "subsidiary", "choices" => seg_com_das_service_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 19"
# Seg COM : service category
seg_com_service_category = client.picklist_values('Reference_commerciale__c', 'Seg_COM_Service_Category__c');
seg_com_service_category_values_choices = []
for record in seg_com_service_category
seg_com_service_category_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "20", "name" => "service_category", "className" => "subsidiary", "choices" => seg_com_service_category_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 20"
# strategic segmentation
strategic_segmentations = client.picklist_values('Reference_commerciale__c', 'Seg_Nuc_Strategic_Activity_Domain__c');
strategic_segmentations_values_choices = []
for record in strategic_segmentations
strategic_segmentations_values_choices.push(record["value"])
end
all_filters_value.push({"id" => "21", "name" => "strategic_activity_domain", "className" => "subsidiary", "choices" => strategic_segmentations_values_choices, "needTranslation" => true});
puts "&&&&&&&& after push 21"
# Certificate of ability
certificate_ability_values_choices = ["true", "false"]
all_filters_value.push({"id" => "22", "name" => "certificate_ability", "className" => "subsidiary", "choices" => certificate_ability_values_choices, "needTranslation" => true});
puts " &&&&&&&& after push 22 "
#puts "0000000000000000"
#puts all_filters_value.inspect
puts "&&&&&&&& END RENDER "
puts all_filters_value
render json: all_filters_value
end
end
Thank you so much for your help !
Regards.
you're most welcome! to resolve the case, you need to introduce a class
# app/models/filter.rb
class Filter < ActiveModelSerializers::Model
attributes :id, :name, :className, :choices, :needTranslation
end
and then make this small change in the last line (render json: all_filters_value
) in the getallfilters
method
def getallfilters
...
render json: all_filters_value.map { |filter| Filter.new(filter) }
end
If you are eager to know why you would need to introduce the Filter class that way, please refer to https://github.com/rails-api/active_model_serializers/blob/0-10-stable/docs/howto/serialize_poro.md
Hi Wasifhossain,
Thanks it's seems that we fix the error, but I get another:
2020-03-29T16:03:45.912443+00:00 app[web.1]: {"id"=>"22", "name"=>"certificate_ability", "className"=>"subsidiary", "choices"=>["true", "false"], "needTranslation"=>true}
2020-03-29T16:03:45.925320+00:00 app[web.1]: Completed 500 Internal Server Error in 19820ms
2020-03-29T16:03:45.925744+00:00 app[web.1]:
2020-03-29T16:03:45.927974+00:00 app[web.1]: NoMethodError (undefined method `all_filters_value' for #<FiltersController:0x00007f5745918810>):
2020-03-29T16:03:45.927978+00:00 app[web.1]:
2020-03-29T16:03:45.928037+00:00 app[web.1]: app/controllers/filters_controller.rb:266:in `getallfilters'
2020-03-29T16:03:45.929424+00:00 heroku[router]: at=info method=GET path="/filters" host=spie-refcom-preprod.herokuapp.com request_id=e30203b5-0798-4671-a5a1-c077ede91ebc fwd="87.231.123.63" dyno=web.1 connect=0ms service=19826ms status=500 bytes=244 protocol=https
I'm watching your link to understand and learn on Rail MVC.
Anyway thanks you so much for your help. I'm not sure I could succeed without you !
Regards, Antoine.
awesome! could you please paste line 266 from filters_controller.rb
render json: all_filters_value { |filter| Filter.new(filter) }
got it! you might have missed a small part (.map
) from what I shared in my post. i have pasted it again for clarification :)
render json: all_filters_value.map { |filter| Filter.new(filter) }
ah my bad :p
Pushing it into git !
not yet ;(
2020-03-29T16:41:12.933683+00:00 app[web.1]: Completed 500 Internal Server Error in 19482ms
2020-03-29T16:41:12.934441+00:00 app[web.1]:
2020-03-29T16:41:12.934536+00:00 app[web.1]: NameError (uninitialized constant FiltersController::Filter
2020-03-29T16:41:12.934537+00:00 app[web.1]: Did you mean? FiltersController::Filters
2020-03-29T16:41:12.934537+00:00 app[web.1]: File
2020-03-29T16:41:12.934538+00:00 app[web.1]: Fiber):
2020-03-29T16:41:12.934582+00:00 app[web.1]:
2020-03-29T16:41:12.934631+00:00 app[web.1]: app/controllers/filters_controller.rb:266:in `block in getallfilters'
2020-03-29T16:41:12.934631+00:00 app[web.1]: app/controllers/filters_controller.rb:266:in `map'
2020-03-29T16:41:12.934632+00:00 app[web.1]: app/controllers/filters_controller.rb:266:in `getallfilters'
2020-03-29T16:41:12.934644+00:00 heroku[router]: at=info method=GET path="/filters" host=spie-refcom-preprod.herokuapp.com request_id=6f06811a-12e9-4184-9877-aa4c04b33eb3 fwd="87.231.123.63" dyno=web.1 connect=0ms service=19486ms status=500 bytes=244 protocol=https
any ideas?
Regards,
I guess same error frm here ?
class SearchfiltersController < ApplicationController
respond_to :json
def getallfilters
# login
client = Restforce.new :host => 'spie--train.cs17.my.salesforce.com'
all_filters_value = []
# subsidiaries
subsidiaries = client.picklist_values('Reference_commerciale__c', 'Lead_Subsidiary__c');
subsidiaries_values = []
for record in subsidiaries
subsidiaries_values.push({"value" => record["value"], "label" => record["label"]})
end
all_filters_value.push("subsidiaries" => subsidiaries_values);
# locations
locations = client.query("select Location__c
from Reference_commerciale__c
group by Location__c");
locations = JSON.parse locations.to_json
locations_values = []
for record in locations
locations_values.push({"value" => record["Location__c"], "label" => record["Location__c"]})
end
all_filters_value.push("locations" => locations_values);
# sectors
sectors = client.picklist_values('Reference_commerciale__c', 'Private_Public_Sector__c');
sectors_values = []
for record in sectors
sectors_values.push({"value" => record["value"], "label" => record["label"]})
end
all_filters_value.push("sectors" => sectors_values);
# activities
activities = client.picklist_values('Reference_commerciale__c', 'Activity__c');
activities_values = []
for record in activities
activities_values.push({"value" => record["value"], "label" => record["label"]})
end
all_filters_value.push("activities" => activities_values);
# clients
clients = client.query("select Client_Group__c
from Reference_commerciale__c
group by Client_Group__c");
clients = JSON.parse clients.to_json
clients_values = []
for record in clients
clients_values.push({"value" => record["Client_Group__c"], "label" => record["Client_Group__c"]})
end
all_filters_value.push("clients" => clients_values);
# skills
skills = client.picklist_values('Reference_commerciale__c', 'Skill__c');
skills_values = []
for record in skills
skills_values.push({"value" => record["value"], "label" => record["label"]})
end
all_filters_value.push("skills" => skills_values);
# strategic segmentation
strategic_segmentations = client.picklist_values('Reference_commerciale__c', 'Seg_Nuc_Strategic_Activity_Domain__c');
strategic_segmentations_values = []
for record in strategic_segmentations
strategic_segmentations_values.push({"value" => record["value"], "label" => record["label"]})
end
all_filters_value.push("skills" => strategic_segmentations_values);
# amount ranges
amount_ranges = client.picklist_values('Reference_commerciale__c', 'Amount_Range__c');
amount_ranges_values = []
for record in amount_ranges
amount_ranges_values.push({"value" => record["value"], "label" => record["label"]})
end
all_filters_value.push("amountRanges" => amount_ranges_values);
respond_with all_filters_value
end
end
respond_with all_filters_value ?
I hope I well understood ;p!
i think the error comes from the same line as before. in this case, you need to prefix the Filter class with ::
::Filter.new(filter)
so the line would look like
render json: all_filters_value.map { |filter| ::Filter.new(filter) }
apart from this, you just need to make sure you have created the filter class under app/models/filter.rb
with the content from https://github.com/rails-api/active_model_serializers/issues/2379#issuecomment-605629256
Here differents files in app/models
i see the filter class is still missing from app/models. could you please create a file named filter.rb
under app/models
directory with the following content
class Filter < ActiveModelSerializers::Model
attributes :id, :name, :className, :choices, :needTranslation
end
Ok I create it but it existed in app/serializers/filter_serializer.rb
I make changes ! Thanks !
basically you need 2 files for the serializer to work:
app/models/filter.rb
)
class Filter < ActiveModelSerializers::Model
app/serializers/filter_serializer.rb
)
class FilterSerializer < ActiveModel::Serializer
in your case, the 2nd file is already present. now you just need to put the 1st file in place to make the serializer work
Ok thanks for infos!
It's pushing into git.
And once again thanks a lot !!
Regards, Antoine.
np! would be glad if it works :)
Hey no more errors, but my filters are not display on my home page :(
2020-03-29T17:03:23.977653+00:00 heroku[router]: at=info method=GET path="/filters" host=spie-refcom-preprod.herokuapp.com request_id=13bd3ce3-a267-49c9-aeb1-3352d6e61dcb fwd="87.231.123.63" dyno=web.1 connect=0ms service=27217ms status=200 bytes=4859 protocol=https
2020-03-29T17:03:52.947614+00:00 app[web.1]: Started GET "/" for 87.231.123.63 at 2020-03-29 17:03:52 +0000
2020-03-29T17:03:52.948649+00:00 app[web.1]: Processing by EmberCli::EmberController#index as HTML
2020-03-29T17:03:52.948695+00:00 app[web.1]: Parameters: {"ember_app"=>:frontend}
2020-03-29T17:03:52.949551+00:00 app[web.1]: Rendering vendor/bundle/ruby/2.6.0/gems/ember-cli-rails-0.10.0/app/views/ember_cli/ember/index.html.erb
2020-03-29T17:03:52.950151+00:00 app[web.1]: Rendering html template
2020-03-29T17:03:52.950307+00:00 app[web.1]: Rendered html template (0.0ms)
2020-03-29T17:03:52.950398+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.6.0/gems/ember-cli-rails-0.10.0/app/views/ember_cli/ember/index.html.erb (0.8ms)
2020-03-29T17:03:52.950621+00:00 app[web.1]: Completed 200 OK in 2ms (Views: 1.3ms)
2020-03-29T17:03:53.025103+00:00 app[web.1]: Started GET "/assets/vendor-954e3ee5ae945e98ae94927321d2e6af.css" for 87.231.123.63 at 2020-03-29 17:03:53 +0000
2020-03-29T17:03:53.032245+00:00 app[web.1]: Started GET "/assets/spie-c032e6803607d560c64c8e1ea9927262.css" for 87.231.123.63 at 2020-03-29 17:03:53 +0000
2020-03-29T17:03:53.071967+00:00 app[web.1]: Started GET "/assets/vendor-24d7ffb12e8046f889e2389d87fca2ac.js" for 87.231.123.63 at 2020-03-29 17:03:53 +0000
2020-03-29T17:03:53.076402+00:00 app[web.1]: Started GET "/assets/spie-de6d8617fbff375739d5e4c79b817a70.js" for 87.231.123.63 at 2020-03-29 17:03:53 +0000
2020-03-29T17:03:53.184791+00:00 app[web.1]: Started GET "/filters" for 87.231.123.63 at 2020-03-29 17:03:53 +0000
2020-03-29T17:03:53.185725+00:00 app[web.1]: Processing by FiltersController#getallfilters as JSON
2020-03-29T17:03:53.072908+00:00 heroku[router]: at=info method=GET path="/assets/vendor-24d7ffb12e8046f889e2389d87fca2ac.js" host=spie-refcom-preprod.herokuapp.com request_id=e7baac65-9a1c-438f-8905-7812d9f42dc0 fwd="87.231.123.63" dyno=web.1 connect=0ms service=2ms status=304 bytes=160 protocol=https
2020-03-29T17:03:53.026298+00:00 heroku[router]: at=info method=GET path="/assets/vendor-954e3ee5ae945e98ae94927321d2e6af.css" host=spie-refcom-preprod.herokuapp.com request_id=3f0eb965-85e4-4787-989b-ccddd9426f77 fwd="87.231.123.63" dyno=web.1 connect=0ms service=2ms status=304 bytes=160 protocol=https
2020-03-29T17:03:53.200814+00:00 app[web.1]: Started GET "/images/spie.svg" for 87.231.123.63 at 2020-03-29 17:03:53 +0000
2020-03-29T17:03:53.034966+00:00 heroku[router]: at=info method=GET path="/assets/spie-c032e6803607d560c64c8e1ea9927262.css" host=spie-refcom-preprod.herokuapp.com request_id=f3491d81-a9ce-4cf5-978a-5defbc81f4fe fwd="87.231.123.63" dyno=web.1 connect=1ms service=2ms status=304 bytes=160 protocol=https
2020-03-29T17:03:53.079699+00:00 heroku[router]: at=info method=GET path="/assets/spie-de6d8617fbff375739d5e4c79b817a70.js" host=spie-refcom-preprod.herokuapp.com request_id=5547e612-5c50-450e-b931-40457058c5eb fwd="87.231.123.63" dyno=web.1 connect=1ms service=2ms status=304 bytes=160 protocol=https
2020-03-29T17:03:52.951752+00:00 heroku[router]: at=info method=GET path="/" host=spie-refcom-preprod.herokuapp.com request_id=122f02e3-8782-448a-97ee-36f09c43a76c fwd="87.231.123.63" dyno=web.1 connect=0ms service=5ms status=200 bytes=2397 protocol=https
2020-03-29T17:03:53.201591+00:00 heroku[router]: at=info method=GET path="/images/spie.svg" host=spie-refcom-preprod.herokuapp.com request_id=a2bccd4e-1d8f-44f8-87e8-5140dcef8f69 fwd="87.231.123.63" dyno=web.1 connect=0ms service=2ms status=304 bytes=160 protocol=https
2020-03-29T17:03:53.248543+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=spie-refcom-preprod.herokuapp.com request_id=dbcfb5f3-298e-4fd0-b16e-204144fb51fb fwd="87.231.123.63" dyno=web.1 connect=0ms service=1ms status=200 bytes=143 protocol=https
2020-03-29T17:04:03.204558+00:00 app[web.1]: Read fragment views/spie-refcom-preprod.herokuapp.com/filters.json (10018.0ms)
2020-03-29T17:04:03.204659+00:00 app[web.1]: on geAllFilters
2020-03-29T17:04:03.886666+00:00 app[web.1]: &&&&&&&& after push 1
2020-03-29T17:04:04.065507+00:00 app[web.1]: &&&&&&&& after push 2
2020-03-29T17:04:04.242643+00:00 app[web.1]: &&&&&&&& after push 3
2020-03-29T17:04:04.706619+00:00 app[web.1]: &&&&&&&& after push 4
2020-03-29T17:04:05.122550+00:00 app[web.1]: &&&&&&&& after push 5
2020-03-29T17:04:05.395090+00:00 app[web.1]: &&&&&&&& after push 6
2020-03-29T17:04:05.652186+00:00 app[web.1]: &&&&&&&& after push 7
2020-03-29T17:04:06.042586+00:00 app[web.1]: &&&&&&&& after push 8
2020-03-29T17:04:06.042595+00:00 app[web.1]: &&&&&&&& after push 9
2020-03-29T17:04:06.388596+00:00 app[web.1]: &&&&&&&& after push 10
2020-03-29T17:04:06.732914+00:00 app[web.1]: &&&&&&&& after push 11
2020-03-29T17:04:07.055937+00:00 app[web.1]: &&&&&&&& after push 12
2020-03-29T17:04:07.410465+00:00 app[web.1]: &&&&&&&& after push 13
2020-03-29T17:04:07.778342+00:00 app[web.1]: &&&&&&&& after push 14
2020-03-29T17:04:08.064562+00:00 app[web.1]: &&&&&&&& after push 15
2020-03-29T17:04:08.496012+00:00 app[web.1]: &&&&&&&& after push 16
2020-03-29T17:04:08.775148+00:00 app[web.1]: &&&&&&&& after push 17
2020-03-29T17:04:09.057383+00:00 app[web.1]: &&&&&&&& after push 18
2020-03-29T17:04:09.434455+00:00 app[web.1]: &&&&&&&& after push 19
2020-03-29T17:04:09.715049+00:00 app[web.1]: &&&&&&&& after push 20
2020-03-29T17:04:09.974675+00:00 app[web.1]: &&&&&&&& after push 21
2020-03-29T17:04:09.974687+00:00 app[web.1]: &&&&&&&& after push 22
2020-03-29T17:04:09.974687+00:00 app[web.1]: &&&&&&&& END RENDER
2020-03-29T17:04:09.974730+00:00 app[web.1]: {"id"=>"1", "name"=>"subsidiary", "className"=>"subsidiary", "choices"=>["BU0007", "BUSUK", "BUSOGS", "BUSBEL", "BUSNL", "BUSICS", "BUSHQ", "BUOTHER", "BUSCH", "BU0041", "BU0042", "BU0020", "BUDZE", "BU0063", "BU0064", "BU0065", "BU0066"], "needTranslation"=>true}
2020-03-29T17:04:09.974750+00:00 app[web.1]: {"id"=>"2", "name"=>"customer", "className"=>"subsidiary", "choices"=>[], "needTranslation"=>false}
2020-03-29T17:04:09.974765+00:00 app[web.1]: {"id"=>"3", "name"=>"location", "className"=>"subsidiary", "choices"=>[], "needTranslation"=>false}
2020-03-29T17:04:09.974785+00:00 app[web.1]: {"id"=>"4", "name"=>"client_sector", "className"=>"subsidiary", "choices"=>["C01", "C02", "C03", "C04", "C05", "C06"], "needTranslation"=>true}
2020-03-29T17:04:09.974808+00:00 app[web.1]: {"id"=>"5", "name"=>"activity", "className"=>"subsidiary", "choices"=>["E1", "E2", "E3"], "needTranslation"=>true}
2020-03-29T17:04:09.974838+00:00 app[web.1]: {"id"=>"6", "name"=>"skill", "className"=>"subsidiary", "choices"=>["E11", "E12", "E13", "E41", "E42", "E43", "E44", "E45", "E61", "E62", "E63", "E64", "E65", "E66"], "needTranslation"=>true}
2020-03-29T17:04:09.974862+00:00 app[web.1]: {"id"=>"7", "name"=>"amount", "className"=>"subsidiary", "choices"=>["<= 100 K€", "100 K€ - 500 K€", "500 K€ - 1 M€", "1 M€ - 3 M€", "3 M€ - 5 M€", "5 M€ - 10 M€", "10 M€ - 20 M€", "> 20 M€"], "needTranslation"=>true}
2020-03-29T17:04:09.974886+00:00 app[web.1]: {"id"=>"8", "name"=>"duration_range", "className"=>"subsidiary", "choices"=>["< 1", "1 - 3", "3 - 5", "> 5"], "needTranslation"=>false}
2020-03-29T17:04:09.974901+00:00 app[web.1]: {"id"=>"9", "name"=>"period_start_end_contract", "className"=>"subsidiary", "choices"=>[], "needTranslation"=>false}
2020-03-29T17:04:09.974923+00:00 app[web.1]: {"id"=>"10", "name"=>"sector_public_private", "className"=>"subsidiary", "choices"=>["0", "-1"], "needTranslation"=>true}
2020-03-29T17:04:09.974945+00:00 app[web.1]: {"id"=>"11", "name"=>"account_type", "className"=>"subsidiary", "choices"=>["CL01", "CL02", "CL03", "CL04", "CL05", "CL06", "CL07", "CL08", "CL09", "CL10"], "needTranslation"=>true}
2020-03-29T17:04:09.974974+00:00 app[web.1]: {"id"=>"12", "name"=>"contract_type", "className"=>"subsidiary", "choices"=>["TC01", "TC02", "TC03", "TC04", "TC05"], "needTranslation"=>true}
2020-03-29T17:04:09.974976+00:00 app[web.1]: {"id"=>"13", "name"=>"phase", "className"=>"subsidiary", "choices"=>["UP0", "MI0", "DS0"], "needTranslation"=>true}
2020-03-29T17:04:09.975006+00:00 app[web.1]: {"id"=>"14", "name"=>"service_line", "className"=>"subsidiary", "choices"=>["AS0", "WS0", "CD0", "EP0"], "needTranslation"=>true}
2020-03-29T17:04:09.975041+00:00 app[web.1]: {"id"=>"15", "name"=>"prestation", "className"=>"subsidiary", "choices"=>["AS01", "AS02", "AS03", "AS04", "AS05", "AS06", "AS07", "AS08", "WS01", "WS02", "WS03", "WS04", "WS05", "WS06", "CD01", "CD02", "CD03", "CD04", "EP01", "EP02", "EP03", "EP04", "EP05", "EP06", "EP07", "EP08"], "needTranslation"=>true}
2020-03-29T17:04:09.975081+00:00 app[web.1]: {"id"=>"16", "name"=>"detail_phase", "className"=>"subsidiary", "choices"=>["UP01", "UP02", "MI01", "MI02", "DS01", "DS02", "DS03", "DS04", "DS05", "DS06", "DS07", "DS08", "DS09"], "needTranslation"=>true}
2020-03-29T17:04:09.975082+00:00 app[web.1]: {"id"=>"17", "name"=>"perimeter", "className"=>"subsidiary", "choices"=>["AUT01", "BI", "DC", "ENVUSR", "IP", "UCC"], "needTranslation"=>true}
2020-03-29T17:04:09.975117+00:00 app[web.1]: {"id"=>"18", "name"=>"techno_category", "className"=>"subsidiary", "choices"=>["AUT01", "BI1", "BI2", "DC1", "DC2", "DC3", "IP1", "IP2", "SEC", "UCC1", "UCC2", "UCC3"], "needTranslation"=>true}
2020-03-29T17:04:09.975140+00:00 app[web.1]: {"id"=>"19", "name"=>"das_service", "className"=>"subsidiary", "choices"=>["CONSEIL & INGENIERIE", "INFOGERANCE", "SERVICES OPERES & CLOUD", "AUTRES SERVICES"], "needTranslation"=>true}
2020-03-29T17:04:09.975168+00:00 app[web.1]: {"id"=>"20", "name"=>"service_category", "className"=>"subsidiary", "choices"=>["AUTRES SERVICES", "CONSEIL& ARCHITECTURE", "INFOGERANCE INFRA", "INFOGERANCE UTILISATEURS", "INGENIERIE PROJET", "MAINTENANCE", "SERVICES MANAGES, HEBERGES, CLOUD", "SERVICES OPERATEUR", "DEP", "INFOG5"], "needTranslation"=>true}
2020-03-29T17:04:09.975189+00:00 app[web.1]: {"id"=>"21", "name"=>"strategic_activity_domain", "className"=>"subsidiary", "choices"=>["TN", "TSE", "M", "DEM"], "needTranslation"=>true}
2020-03-29T17:04:09.975256+00:00 app[web.1]: {"id"=>"22", "name"=>"certificate_ability", "className"=>"subsidiary", "choices"=>["true", "false"], "needTranslation"=>true}
2020-03-29T17:04:09.985824+00:00 app[web.1]: [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::JsonApi (9.13ms)
2020-03-29T17:04:19.997127+00:00 app[web.1]: Write fragment views/spie-refcom-preprod.herokuapp.com/filters.json (10011.1ms)
2020-03-29T17:04:19.997357+00:00 app[web.1]: Completed 200 OK in 26811ms (Views: 10.0ms)
2020-03-29T17:04:20.001134+00:00 heroku[router]: at=info method=GET path="/filters" host=spie-refcom-preprod.herokuapp.com request_id=4d4d7792-3f7d-4441-8588-62b7fd664520 fwd="87.231.123.63" dyno=web.1 connect=1ms service=26815ms status=304 bytes=598 protocol=https
I'm a bit disapointed :(.
Here all logs from my git push :
PS C:\Users\antoine.simonin\Documents\projects\spie-refcom-preprod> git push heroku master
Enumerating objects: 8, done.
Counting objects: 100% (8/8), done.
Delta compression using up to 8 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 486 bytes | 486.00 KiB/s, done.
Total 5 (delta 3), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Node.js app detected
remote:
remote: -----> Creating runtime environment
remote:
remote: NPM_CONFIG_LOGLEVEL=error
remote: NPM_CONFIG_PRODUCTION=false
remote: NODE_ENV=production
remote: NODE_MODULES_CACHE=true
remote: NODE_VERBOSE=false
remote:
remote: -----> Installing binaries
remote: engines.node (package.json): 8.x.x
remote: engines.npm (package.json): 6.x.x
remote:
remote: Resolving node version 8.x.x...
remote: Downloading and installing node 8.17.0...
remote: Bootstrapping npm 6.x.x (replacing 6.13.4)...
remote: npm 6.x.x installed
remote:
remote: -----> Restoring cache
remote: Loading 3 from cacheDirectories (package.json):
remote: - frontend/node_modules
remote: - frontend/bower_components
remote: - node_modules (exists - skipping)
remote:
remote: -----> Installing dependencies
remote: Prebuild detected (node_modules already exists)
remote: Rebuilding any native modules
remote:
remote: > node-sass@4.13.0 install /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/node-sass
remote: > node scripts/install.js
remote:
remote: Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.0/linux-x64-57_binding.node
remote: Download complete
remote: Binary saved to /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/node-sass/vendor/linux-x64-57/binding.node
remote: Caching binary to /tmp/npmcache.LxQB5/node-sass/4.13.0/linux-x64-57_binding.node
remote:
remote: > node-sass@4.13.0 postinstall /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/node-sass
remote: > node scripts/build.js
remote:
remote: Binary found at /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/node-sass/vendor/linux-x64-57/binding.node
remote: Testing binary
remote: Binary is fine
remote: node-sass@4.13.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/node-sass
remote: async-foreach@0.1.3 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/async-foreach
remote: chalk@1.1.3 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/chalk
remote: ansi-styles@2.2.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/ansi-styles
remote: escape-string-regexp@1.0.5 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/escape-string-regexp
remote: has-ansi@2.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/has-ansi
remote: ansi-regex@2.1.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/ansi-regex
remote: strip-ansi@3.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/strip-ansi
remote: supports-color@2.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/supports-color
remote: cross-spawn@3.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/cross-spawn
remote: lru-cache@4.1.5 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/lru-cache
remote: pseudomap@1.0.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/pseudomap
remote: yallist@2.1.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/yallist
remote: which@1.3.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/which
remote: isexe@2.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/isexe
remote: gaze@1.1.3 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/gaze
remote: globule@1.2.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/globule
remote: glob@7.1.5 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/glob
remote: fs.realpath@1.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/fs.realpath
remote: inflight@1.0.6 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/inflight
remote: once@1.4.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/once
remote: wrappy@1.0.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/wrappy
remote: inherits@2.0.4 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/inherits
remote: minimatch@3.0.4 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/minimatch
remote: brace-expansion@1.1.11 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/brace-expansion
remote: balanced-match@1.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/balanced-match
remote: concat-map@0.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/concat-map
remote: path-is-absolute@1.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/path-is-absolute
remote: lodash@4.17.15 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/lodash
remote: get-stdin@4.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/get-stdin
remote: in-publish@2.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/in-publish
remote: meow@3.7.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/meow
remote: camelcase-keys@2.1.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/camelcase-keys
remote: camelcase@2.1.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/camelcase
remote: map-obj@1.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/map-obj
remote: decamelize@1.2.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/decamelize
remote: loud-rejection@1.6.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/loud-rejection
remote: currently-unhandled@0.4.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/currently-unhandled
remote: array-find-index@1.0.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/array-find-index
remote: signal-exit@3.0.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/signal-exit
remote: minimist@1.2.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/minimist
remote: normalize-package-data@2.5.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/normalize-package-data
remote: hosted-git-info@2.8.5 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/hosted-git-info
remote: resolve@1.12.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/resolve
remote: path-parse@1.0.6 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/path-parse
remote: semver@5.7.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/semver
remote: validate-npm-package-license@3.0.4 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/validate-npm-package-license
remote: spdx-correct@3.1.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/spdx-correct
remote: spdx-expression-parse@3.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/spdx-expression-parse
remote: spdx-exceptions@2.2.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/spdx-exceptions
remote: spdx-license-ids@3.0.5 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/spdx-license-ids
remote: object-assign@4.1.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/object-assign
remote: read-pkg-up@1.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/read-pkg-up
remote: find-up@1.1.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/find-up
remote: path-exists@2.1.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/path-exists
remote: pinkie-promise@2.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/pinkie-promise
remote: pinkie@2.0.4 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/pinkie
remote: read-pkg@1.1.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/read-pkg
remote: load-json-file@1.1.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/load-json-file
remote: graceful-fs@4.2.3 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/graceful-fs
remote: parse-json@2.2.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/parse-json
remote: error-ex@1.3.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/error-ex
remote: is-arrayish@0.2.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/is-arrayish
remote: pify@2.3.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/pify
remote: strip-bom@2.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/strip-bom
remote: is-utf8@0.2.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/is-utf8
remote: path-type@1.1.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/path-type
remote: redent@1.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/redent
remote: indent-string@2.1.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/indent-string
remote: repeating@2.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/repeating
remote: is-finite@1.0.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/is-finite
remote: number-is-nan@1.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/number-is-nan
remote: strip-indent@1.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/strip-indent
remote: trim-newlines@1.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/trim-newlines
remote: mkdirp@0.5.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/mkdirp
remote: minimist@0.0.8 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/mkdirp/node_modules/minimist
remote: nan@2.14.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/nan
remote: node-gyp@3.8.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/node-gyp
remote: fstream@1.0.12 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/fstream
remote: rimraf@2.7.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/rimraf
remote: nopt@3.0.6 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/nopt
remote: abbrev@1.1.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/abbrev
remote: npmlog@4.1.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/npmlog
remote: are-we-there-yet@1.1.5 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/are-we-there-yet
remote: delegates@1.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/delegates
remote: readable-stream@2.3.6 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/readable-stream
remote: core-util-is@1.0.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/core-util-is
remote: isarray@1.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/isarray
remote: process-nextick-args@2.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/process-nextick-args
remote: safe-buffer@5.1.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/safe-buffer
remote: string_decoder@1.1.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/string_decoder
remote: util-deprecate@1.0.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/util-deprecate
remote: console-control-strings@1.1.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/console-control-strings
remote: gauge@2.7.4 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/gauge
remote: aproba@1.2.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/aproba
remote: has-unicode@2.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/has-unicode
remote: string-width@1.0.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/string-width
remote: code-point-at@1.1.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/code-point-at
remote: is-fullwidth-code-point@1.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/is-fullwidth-code-point
remote: wide-align@1.1.3 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/wide-align
remote: set-blocking@2.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/set-blocking
remote: osenv@0.1.5 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/osenv
remote: os-homedir@1.0.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/os-homedir
remote: os-tmpdir@1.0.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/os-tmpdir
remote: request@2.88.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/request
remote: aws-sign2@0.7.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/aws-sign2
remote: aws4@1.8.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/aws4
remote: caseless@0.12.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/caseless
remote: combined-stream@1.0.8 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/combined-stream
remote: delayed-stream@1.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/delayed-stream
remote: extend@3.0.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/extend
remote: forever-agent@0.6.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/forever-agent
remote: form-data@2.3.3 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/form-data
remote: asynckit@0.4.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/asynckit
remote: mime-types@2.1.24 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/mime-types
remote: mime-db@1.40.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/mime-db
remote: har-validator@5.1.3 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/har-validator
remote: ajv@6.10.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/ajv
remote: fast-deep-equal@2.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/fast-deep-equal
remote: fast-json-stable-stringify@2.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/fast-json-stable-stringify
remote: json-schema-traverse@0.4.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/json-schema-traverse
remote: uri-js@4.2.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/uri-js
remote: punycode@2.1.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/punycode
remote: har-schema@2.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/har-schema
remote: http-signature@1.2.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/http-signature
remote: assert-plus@1.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/assert-plus
remote: jsprim@1.4.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/jsprim
remote: extsprintf@1.3.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/extsprintf
remote: json-schema@0.2.3 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/json-schema
remote: verror@1.10.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/verror
remote: sshpk@1.16.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/sshpk
remote: asn1@0.2.4 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/asn1
remote: safer-buffer@2.1.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/safer-buffer
remote: bcrypt-pbkdf@1.0.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/bcrypt-pbkdf
remote: tweetnacl@0.14.5 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/tweetnacl
remote: dashdash@1.14.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/dashdash
remote: ecc-jsbn@0.1.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/ecc-jsbn
remote: jsbn@0.1.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/jsbn
remote: getpass@0.1.7 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/getpass
remote: is-typedarray@1.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/is-typedarray
remote: isstream@0.1.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/isstream
remote: json-stringify-safe@5.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/json-stringify-safe
remote: oauth-sign@0.9.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/oauth-sign
remote: performance-now@2.1.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/performance-now
remote: qs@6.5.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/qs
remote: tough-cookie@2.4.3 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/tough-cookie
remote: psl@1.4.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/psl
remote: punycode@1.4.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/tough-cookie/node_modules/punycode
remote: tunnel-agent@0.6.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/tunnel-agent
remote: uuid@3.3.3 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/uuid
remote: semver@5.3.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/node-gyp/node_modules/semver
remote: tar@2.2.2 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/tar
remote: block-stream@0.0.9 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/block-stream
remote: sass-graph@2.2.4 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/sass-graph
remote: scss-tokenizer@0.2.3 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/scss-tokenizer
remote: js-base64@2.5.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/js-base64
remote: source-map@0.4.4 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/source-map
remote: amdefine@1.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/amdefine
remote: yargs@7.1.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/yargs
remote: camelcase@3.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/yargs/node_modules/camelcase
remote: cliui@3.2.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/cliui
remote: wrap-ansi@2.1.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/wrap-ansi
remote: get-caller-file@1.0.3 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/get-caller-file
remote: os-locale@1.4.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/os-locale
remote: lcid@1.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/lcid
remote: invert-kv@1.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/invert-kv
remote: require-directory@2.1.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/require-directory
remote: require-main-filename@1.0.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/require-main-filename
remote: which-module@1.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/which-module
remote: y18n@3.2.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/y18n
remote: yargs-parser@5.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/yargs-parser
remote: camelcase@3.0.0 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/yargs-parser/node_modules/camelcase
remote: stdout-stream@1.4.1 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/stdout-stream
remote: true-case-path@1.0.3 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/true-case-path
remote: bower@1.8.8 /tmp/build_96027765c8ad8201fa93fab9591c2860/node_modules/bower
remote: Installing any new modules (package.json)
remote:
remote: > undefined postinstall /tmp/build_96027765c8ad8201fa93fab9591c2860
remote: > ./bin/heroku_install
remote:
remote: audited 49972 packages in 9.602s
remote:
remote: 5 packages are looking for funding
remote: run `npm fund` for details
remote:
remote: found 374 vulnerabilities (104 low, 55 moderate, 214 high, 1 critical)
remote: run `npm audit fix` to fix them, or `npm audit` for details
remote: bower loader.js extra-resolution Unnecessary resolution: loader.js#3.2.1
remote: bower qunit extra-resolution Unnecessary resolution: qunit#~1.18.0
remote: bower ember-cli-shims extra-resolution Unnecessary resolution: ember-cli-shims#0.1.0
remote: bower ember-qunit-notifications extra-resolution Unnecessary resolution: ember-qunit-notifications#0.1.0
remote: bower ember-qunit extra-resolution Unnecessary resolution: ember-qunit#0.4.9
remote: bower ember-cli-test-loader extra-resolution Unnecessary resolution: ember-cli-test-loader#0.2.2
remote: bower qunit-notifications extra-resolution Unnecessary resolution: qunit-notifications#~0.1.0
remote: /tmp/build_96027765c8ad8201fa93fab9591c2860
remote: audited 530 packages in 15.085s
remote: found 6 low severity vulnerabilities
remote: run `npm audit fix` to fix them, or `npm audit` for details
remote:
remote: -----> Build
remote:
remote: -----> Caching build
remote: Saving 3 cacheDirectories (package.json):
remote: - frontend/node_modules
remote: - frontend/bower_components
remote: - node_modules
remote:
remote: -----> Pruning devDependencies
remote: Skipping because NPM_CONFIG_PRODUCTION is 'false'
remote:
remote: -----> Build succeeded!
remote: -----> Ruby app detected
remote: -----> Installing bundler 2.0.2
remote: -----> Removing BUNDLED WITH version in the Gemfile.lock
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.6.5
remote:
remote: ###### WARNING:
remote:
remote: Removing `Gemfile.lock` because it was generated on Windows.
remote: Bundler will do a full resolve so native gems are handled properly.
remote: This may result in unexpected gem versions being used in your app.
remote: In rare occasions Bundler may not be able to resolve your dependencies at all.
remote: https://devcenter.heroku.com/articles/bundler-windows-gemfile
remote:
remote: -----> Installing dependencies using bundler 2.0.2
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4
remote: Fetching gem metadata from https://rubygems.org/.............
remote: Fetching gem metadata from https://rubygems.org/.
remote: Resolving dependencies.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
remote: Using rake 13.0.1
remote: Using concurrent-ruby 1.1.6
remote: Using minitest 5.14.0
remote: Using thread_safe 0.3.6
remote: Using builder 3.2.4
remote: Using erubis 2.7.0
remote: Using mini_portile2 2.4.0
remote: Using crass 1.0.6
remote: Using rack 2.2.2
remote: Using nio4r 2.5.2
remote: Using websocket-extensions 0.1.4
remote: Using mini_mime 1.0.2
remote: Using jsonapi-renderer 0.2.2
remote: Using arel 7.1.4
remote: Using bundler 2.0.2
remote: Using climate_control 0.2.0
remote: Using coffee-script-source 1.12.2
remote: Using execjs 2.7.0
remote: Using method_source 1.0.0
remote: Using thor 1.0.1
remote: Using ember-cli-rails-assets 0.6.2
remote: Using html_page 0.1.0
remote: Using multipart-post 2.1.1
remote: Using ffi 1.12.2
remote: Using hashie 4.1.0
remote: Using json 1.8.6
remote: Using jwt 2.2.1
remote: Using pg 1.2.3
remote: Using rails_serve_static_assets 0.0.5
remote: Using rails_stdout_logging 0.0.5
remote: Using rb-fsevent 0.10.3
remote: Using rdoc 4.3.0
remote: Using redis 4.1.3
remote: Using tilt 2.0.10
remote: Using turbolinks-source 5.2.0
remote: Using i18n 1.8.2
remote: Using nokogiri 1.10.9
remote: Using rack-test 0.6.3
remote: Using websocket-driver 0.6.5
remote: Using mail 2.7.1
remote: Using cocaine 0.5.8
remote: Using puma 4.3.3
remote: Using rack-attack 6.2.2
remote: Using rack-cors 1.1.1
remote: Using sprockets 3.7.2
remote: Using tzinfo 1.2.6
remote: Using faraday 1.0.0
remote: Using postmark 1.20.0
remote: Using rails_12factor 0.0.3
remote: Using rb-inotify 0.10.1
remote: Using redis-store 1.8.2
remote: Using sdoc 0.4.2
remote: Using turbolinks 5.2.1
remote: Using activesupport 5.0.7.2
remote: Using loofah 2.4.0
remote: Using coffee-script 2.4.1
remote: Using faraday_middleware 1.0.0
remote: Using redis-rack 2.1.2
remote: Using sass-listen 4.0.0
remote: Using tzinfo-data 1.2019.3
remote: Using uglifier 4.2.0
remote: Using rails-dom-testing 2.0.3
remote: Using globalid 0.4.2
remote: Using activemodel 5.0.7.2
remote: Using case_transform 0.2
remote: Using jbuilder 2.10.0
remote: Using redis-activesupport 5.2.0
remote: Using activejob 5.0.7.2
remote: Using activerecord 5.0.7.2
remote: Using restforce 4.2.2
remote: Using sass 3.7.4
remote: Using rails-html-sanitizer 1.3.0
remote: Using actionview 5.0.7.2
remote: Using actionpack 5.0.7.2
remote: Using actioncable 5.0.7.2
remote: Using actionmailer 5.0.7.2
remote: Using actionpack-action_caching 1.2.1
remote: Using active_model_serializers 0.10.10
remote: Using railties 5.0.7.2
remote: Using sprockets-rails 3.2.1
remote: Using redis-actionpack 5.2.0
remote: Using coffee-rails 4.1.1
remote: Using ember-cli-rails 0.10.0
remote: Using jquery-rails 4.3.5
remote: Using postmark-rails 0.20.0
remote: Using rails 5.0.7.2
remote: Using responders 3.0.0
remote: Using sass-rails 5.0.7
remote: Using redis-rails 5.0.2
remote: Bundle complete! 27 Gemfile dependencies, 89 gems now installed.
remote: Gems in the groups development and test were not installed.
remote: Bundled gems are installed into `./vendor/bundle`
remote: Bundle completed (177.03s)
remote: Cleaning up the bundler cache.
remote: -----> Detecting rake tasks
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-ajax -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-cli-app-version -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-cli-font-awesome -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-cli-htmlbars-inline-precompile -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> moment -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-moment -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-moment -> ember-new-computed -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-cli-pagination -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> Ember CLI QUnit -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-power-select -> ember-basic-dropdown -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-power-select -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-power-select -> ember-concurrency -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-power-select -> ember-concurrency -> ember-getowner-polyfill -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-power-select -> ember-text-measurer -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-power-select -> ember-truth-helpers -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-data-filter -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-export-application-global -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-i18n -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-modal-dialog -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-modal-dialog -> ember-wormhole -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-resolver -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-rl-month-picker -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-rl-month-picker -> ember-rl-dropdown -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-rl-month-picker -> ember-rl-year-picker -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-rl-month-picker -> ember-rl-year-picker -> ember-rl-dropdown -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-rl-year-picker -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-rl-year-picker -> ember-rl-dropdown -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-searchable-select -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-truth-helpers -> ember-cli-babel
remote: WARNING: WARNING: Node v8.17.0 has currently not been tested against Ember CLI and may result in unexpected behaviour.
remote: version: 2.3.0
remote: Could not start watchman; falling back to NodeWatcher for file system events.
remote: Visit http://www.ember-cli.com/user-guide/#watchman for more info.
remote: node: 8.17.0
remote: os: linux x64
remote: npm WARN babel-plugin-debug-macros@0.2.0 requires a peer of @babel/core@^7.0.0-beta.42 but none is installed. You must install peer dependencies yourself.
remote:
remote: audited 49972 packages in 8.77s
remote:
remote: 5 packages are looking for funding
remote: run `npm fund` for details
remote:
remote: found 374 vulnerabilities (104 low, 55 moderate, 214 high, 1 critical)
remote: run `npm audit fix` to fix them, or `npm audit` for details
remote: npm WARN babel-plugin-debug-macros@0.2.0 requires a peer of @babel/core@^7.0.0-beta.42 but none is installed. You must install peer dependencies yourself.
remote:
remote: added 5 packages from 3 contributors, removed 5 packages, updated 1 package and audited 49972 packages in 10.569s
remote:
remote: 5 packages are looking for funding
remote: run `npm fund` for details
remote:
remote: found 374 vulnerabilities (104 low, 55 moderate, 214 high, 1 critical)
remote: run `npm audit fix` to fix them, or `npm audit` for details
remote: bower loader.js extra-resolution Unnecessary resolution: loader.js#3.2.1
remote: bower qunit extra-resolution Unnecessary resolution: qunit#~1.18.0
remote: bower ember-cli-shims extra-resolution Unnecessary resolution: ember-cli-shims#0.1.0
remote: bower ember-qunit-notifications extra-resolution Unnecessary resolution: ember-qunit-notifications#0.1.0
remote: bower ember-qunit extra-resolution Unnecessary resolution: ember-qunit#0.4.9
remote: bower ember-cli-test-loader extra-resolution Unnecessary resolution: ember-cli-test-loader#0.2.2
remote: bower qunit-notifications extra-resolution Unnecessary resolution: qunit-notifications#~0.1.0
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-ajax -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-cli-app-version -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-cli-font-awesome -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-cli-htmlbars-inline-precompile -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> moment -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-moment -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-moment -> ember-new-computed -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-cli-pagination -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> Ember CLI QUnit -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-power-select -> ember-basic-dropdown -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-power-select -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-power-select -> ember-concurrency -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-power-select -> ember-concurrency -> ember-getowner-polyfill -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-power-select -> ember-text-measurer -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-power-select -> ember-truth-helpers -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-data-filter -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-export-application-global -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-i18n -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-modal-dialog -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-modal-dialog -> ember-wormhole -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-resolver -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-rl-month-picker -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-rl-month-picker -> ember-rl-dropdown -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-rl-month-picker -> ember-rl-year-picker -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-rl-month-picker -> ember-rl-year-picker -> ember-rl-dropdown -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-rl-year-picker -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-rl-year-picker -> ember-rl-dropdown -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-searchable-select -> ember-cli-babel
remote: DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: spie -> ember-truth-helpers -> ember-cli-babel
remote: WARNING: WARNING: Node v8.17.0 has currently not been tested against Ember CLI and may result in unexpected behaviour.
remote: version: 2.3.0
remote: Could not start watchman; falling back to NodeWatcher for file system events.
remote: Visit http://www.ember-cli.com/user-guide/#watchman for more info.
remote: [BABEL] Note: The code generator has deoptimised the styling of "ember-data/-private.js" as it exceeds the max of "100KB".
remote: BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...BuildingBuilding.Built project successfully. Stored in "/tmp/build_96027765c8ad8201fa93fab9591c2860/tmp/ember-cli/apps/frontend".
remote: Asset precompilation completed (68.92s)
remote: Cleaning assets
remote: Running: rake assets:clean
remote: -----> Detecting rails configuration
remote:
remote: ###### WARNING:
remote:
remote: Removing `Gemfile.lock` because it was generated on Windows.
remote: Bundler will do a full resolve so native gems are handled properly.
remote: This may result in unexpected gem versions being used in your app.
remote: In rare occasions Bundler may not be able to resolve your dependencies at all.
remote: https://devcenter.heroku.com/articles/bundler-windows-gemfile
remote:
remote:
remote:
remote: -----> Discovering process types
remote: Procfile declares types -> web
remote: Default types for buildpack -> console, rake
remote:
remote: -----> Compressing...
remote: Done: 101.5M
remote: -----> Launching...
remote: Released v431
remote: https://spie-refcom-preprod.herokuapp.com/ deployed to Heroku
If you want me to share my screen let me know?
Thank you !
Regads, Antoine
as the issue relevant to the original post is resolved, I think we can close this and open a new one describing your current issue (but I fear it's out of scope of this gem)
Well ok thank you so much! anyway! I close thank you for help ! I will try tomorrow morning to find a new approch and fix it !
Thank you again!
Regards, Antoine.
we appreciate your efforts :+1:
Expected behavior vs actual behavior
Hi everyone, I just begin on rails apps. I just switch from cedar14 into Herolu 18 a ruby / rails app. I update gem file and pushed it into git. At the begining many depencies made failed deployment and finaly I succeed! But my app is not totaly load. My home page display a search bar and many filters depending data in Salesforce CRM. In my logs I can identify that filters are well retrieve but I'm facing this error :
Steps to reproduce
(e.g., detailed walkthrough, runnable script, example application) no specific action!
Environment
filter_serializer.rb
resource_serializer.rb
ActiveModelSerializers Version (commit ref if not on tag):
Output of
ruby -e "puts RUBY_DESCRIPTION"
:OS Type & Version:
Integrated application and version (e.g., Rails, Grape, etc):
Backtrace
(e.g., provide any applicable backtraces from your application)
Additonal helpful information
(e.g., Gemfile.lock, configurations, PR containing a failing test, git bisect results)