Error using my own classes in camping (namespace issue?)

I’m having troubles, and I’m guessing it’s due to both namespaces in
camping, and the fact that it’s 11:30pm.

In my models I’m trying to create an instance of a class that I wrote,
but camping throws an error message of the form

NameError uninitialized constant Site::Models::Post::Foo:

Is it me, camping, or something else being weird?
My class works fine on it’s own, and in irb. if I comment it out,
camping doesn’t complain.

Any ideas?


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