{"comment":{"created_at":"2011-10-26T06:52:32Z","body":"On Tue, Oct 25, 2011 at 10:33 PM, mrmanrin <\nreply@reply.github.com>wrote:\n\n> On to the next topic :) Are survey deployments working at this time?\n\n\nI don't think anyone has used surveys in the last two years.\n\n\n> Whenever I go to the page for it (by clicking the Survey Deployments menu\n> item) and click on Add New Deployment, I get the following error:\n>\n> `Called id for nil, which would mistakenly be 4 -- if you really wanted the\n> id of nil, use object_id`\n>\n> It corresponds to line 6 of the survey_deployment_controller.rb file:\n>\n> `@surveys=Questionnaire.find_all_by_type(4).map{|u| [u.name, u.id] }`\n>\n\nThe type numbers may have changed when new questionnaire types were added.\nHowever, probably not very many, if any, questionnaire types have been\nadded.\n\n\n> This seems like yet another hardcoded value. However in this instance, an\n> int is hardcoded but I can only get a string to populate the `type` field in\n> the `questionnaire` table. Any ideas?\n>\n>","updated_at":"2011-10-26T06:52:32Z","url":"https://api.github.com/repos/expertiza/expertiza/issues/comments/2527244","id":2527244,"user":{"avatar_url":"https://secure.gravatar.com/avatar/29357cfc5e6fb77cf3c0a1017dadf56e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"29357cfc5e6fb77cf3c0a1017dadf56e","url":"https://api.github.com/users/efg","id":127445,"login":"efg"}},"action":"created","issue":{"number":112,"created_at":"2011-10-02T04:28:35Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Seed data should be created to populate the database after migrations are run from scratch. We're currently using a stripped down version of the production database for development right now. Instead, it'd be great if we had seed data with many/all combinations of different assignment types, group compositions, etc. so they're easy to identify and test.","comments":33,"title":"Create seed data","updated_at":"2011-10-26T06:52:32Z","url":"https://api.github.com/repos/expertiza/expertiza/issues/112","id":1794319,"assignee":null,"milestone":{"number":9,"created_at":"2011-04-15T18:48:42Z","due_on":null,"title":"Priority 4","creator":{"avatar_url":"https://secure.gravatar.com/avatar/bd2e27498ad94413dcc5d4d660dd43cf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"bd2e27498ad94413dcc5d4d660dd43cf","url":"https://api.github.com/users/nilbus","id":64751,"login":"nilbus"},"url":"https://api.github.com/repos/expertiza/expertiza/milestones/9","open_issues":10,"closed_issues":0,"description":"","state":"open"},"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/bd2e27498ad94413dcc5d4d660dd43cf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"bd2e27498ad94413dcc5d4d660dd43cf","url":"https://api.github.com/users/nilbus","id":64751,"login":"nilbus"},"html_url":"https://github.com/expertiza/expertiza/issues/112","labels":[{"name":"517 project","url":"https://api.github.com/repos/expertiza/expertiza/labels/517+project","color":"02e10c"}],"state":"open"},"legacy":{"issue_id":1794319,"comment_id":2527244}}