Model classes are usually singular, so the class for table
acceptance_criterion_results would be AcceptanceCriterionResult in
acceptance_criterion_result.rb
Colin: I understand that, but that was a semantic decision to keep results
in the plural. I don't think either format should break annotate, though...
I would try it with the class singular if I were you, in order to
determine if that is part of the problem. Easy enough to hack it to
find out. I think you should just need to rename the model file and
change the class name. It may break the rest of the app but that does
not matter if just trying annotate.
By the way, I find it easier to follow the thread if replies are not
top posted but are inserted at appropriate points in the previous
email.
Colin: I understand that, but that was a semantic decision to keep results
in the plural. I don’t think either format should break annotate, though…
I would try it with the class singular if I were you, in order to
determine if that is part of the problem. Easy enough to hack it to
find out. I think you should just need to rename the model file and
change the class name. It may break the rest of the app but that does
not matter if just trying annotate.
I just tried that following your suggestion and got the same errors.
By the way, I find it easier to follow the thread if replies are not
top posted but are inserted at appropriate points in the previous
email.
Thanks for the friendly reminder. It’s been sometime since I last interacted in a mailing list, and these things are easy to forget, but I’ll do better from now on.