NUBIC/surveyor — Issue #269: Survey Module issue
Author: jwang
Created: 2011-12-13 20:56:00+00:00
State: open

I created a brand new rails 3.0.10 project with nothing in it but Surveyor.

For some reason it's coming in with a Survey as a Module not a Class, which is causing Surveyor to blow up. There's nothing special going on, so I'm not sure who has defined Survey as a Module before Surveyor's Survey class comes in.

```
➜ survey bundle
Using rake (0.9.2.2)
Using abstract (1.0.0)
Using activesupport (3.0.10)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.10)
Using erubis (2.6.6)
Using rack (1.2.4)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using tzinfo (0.3.31)
Using actionpack (3.0.10)
Using mime-types (1.17.2)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.2.19)
Using actionmailer (3.0.10)
Using arel (2.0.10)
Using activerecord (3.0.10)
Using activeresource (3.0.10)
Using awesome_print (1.0.1)
Using bundler (1.0.21)
Using fastercsv (1.5.4)
Using formtastic (1.2.4)
Using haml (3.1.4)
Using json (1.6.3)
Using rdoc (3.11)
Using thor (0.14.6)
Using railties (3.0.10)
Using jquery-rails (1.0.19)
Using systemu (2.4.2)
Using macaddr (1.5.0)
Using rake-compiler (0.7.9)
Using pg (0.12.0)
Using rails (3.0.10)
Using sass (3.1.11)
Using uuid (2.3.4)
Using surveyor (0.21.0)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
➜ survey rails c
Loading development environment (Rails 3.0.10)
ruby-1.9.2-p290 :001 > Survey.class
Module < Object
```