Getting error Unknown method 'new' for a new model instance

I have a model called Test. In the controller I have @circuit =
Test.new. Any ideas why rails is complaining about the ‘new’ method??

Test is a reserved word. It’s for a Unit test. Change your table and
model
name to something else, like Exam or something.

uggh. Thanks. I never do any ruby testing so I forgot about that.
DOH!!

Shame on you :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs