Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags list view doesn't load #2274

Closed
WilsonChiang opened this issue Sep 19, 2015 · 3 comments
Closed

Tags list view doesn't load #2274

WilsonChiang opened this issue Sep 19, 2015 · 3 comments

Comments

@WilsonChiang
Copy link

The list of tags available for an assignment does not load properly in assignments/{pk}/tags.

@WilsonChiang
Copy link
Author

Investigated this issue a little. Looks like it can't find the user for some reason.

ActiveRecord::RecordNotFound in TagsController#index

Couldn't find User with 'id'=#<Admin:0x0000000b5e42e0>

@WilsonChiang
Copy link
Author

Looks like tag creator is being inserted incorrectly. The foreign key is a string too, which seems odd?

2.1.3 :003 > Tag.all
  Tag Load (0.3ms)  SELECT "tags".* FROM "tags"
 => #<ActiveRecord::Relation [#<Tag id: 1, name: "test", description: "tag", user: "#<Admin:0x0000000b5e42e0>">, #<Tag id: 2, name: "test", description: "test", user: "#<Admin:0x0000000b5bab48>">, #<Tag id: 3, name: "test", description: "test", user: "#<Admin:0x0000000b211190>">, #<Tag id: 4, name: "test", description: "test", user: "#<Admin:0x0000000882f2f0>">, #<Tag id: 5, name: "testing", description: "testing\r\n", user: "#<Admin:0x000000080e7600>">]>

@WilsonChiang
Copy link
Author

Download tag list CSV still broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants