You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was setting up an install in a new app today, and I admittedly got the steps a little out of order, but it was a little weird to have to tail the logs on the copycopter server to figure it out...
Started POST "/api/v2/projects/[snip]/deploys" for 127.0.0.1 at 2012-11-12 18:34:10 +0000
Processing by Api::V2::DeploysController#create as */*
Parameters: {"project_id"=>"[snip]"}
Completed 500 Internal Server Error in 5ms
ActiveRecord::StatementInvalid (PG::Error: ERROR: syntax error at or near ")"
LINE 11: AND localizations.id IN ();
^
: UPDATE localizations
SET published_version_id = latest_version.id,
published_content = latest_version.content,
updated_at = '2012-11-12 18:34:10.075543'
FROM (
SELECT DISTINCT ON (localization_id) localization_id, id, content
FROM versions ORDER BY localization_id DESC, id DESC
) AS latest_version
WHERE latest_version.localization_id = localizations.id
AND localizations.id IN ();
):
app/models/localization.rb:56:in `publish'
app/models/project.rb:50:in `deploy!'
app/controllers/api/v2/deploys_controller.rb:3:in `create'
Once I added a blurb to a view in the project and loaded the page, the deploy rake task worked fine, but a 500 error made me sad. I'll fix it a little later when I've got more time, but if anyone wants to take a stab at it, by all means! 😄
The text was updated successfully, but these errors were encountered:
I was setting up an install in a new app today, and I admittedly got the steps a little out of order, but it was a little weird to have to tail the logs on the copycopter server to figure it out...
Once I added a blurb to a view in the project and loaded the page, the deploy rake task worked fine, but a 500 error made me sad. I'll fix it a little later when I've got more time, but if anyone wants to take a stab at it, by all means! 😄
The text was updated successfully, but these errors were encountered: