Uninitialized constant error in Rails with new test
Why am I getting开发者_如何学编程 this error? https://gist.github.com/770219
Your LegalDocument
model may be defined in a filename that is not correct. The file must be located in any subdirectory of app
and be called legal_document.rb
. The name is really important, as this is how Rails does autoloading.
精彩评论