Skip to content

Instantly share code, notes, and snippets.

@gerhard
Created October 1, 2008 00:29
Show Gist options
  • Save gerhard/13995 to your computer and use it in GitHub Desktop.
Save gerhard/13995 to your computer and use it in GitHub Desktop.
/Users/gerhardlazu/code/sitedirect/vendor/rails/activesupport/lib/active_support/dependencies.rb:262:in `load_missing_constant': Expected /Users/gerhardlazu/code/sitedirect/app/models/work_order_item.rb to define Work_order_item (LoadError)
from /Users/gerhardlazu/code/sitedirect/vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in `const_missing'
from /Users/gerhardlazu/code/sitedirect/vendor/rails/activesupport/lib/active_support/dependencies.rb:480:in `const_missing'
from /Users/gerhardlazu/code/sitedirect/vendor/rails/activesupport/lib/active_support/inflector.rb:285:in `constantize'
from /Users/gerhardlazu/code/sitedirect/vendor/rails/activesupport/lib/active_support/inflector.rb:284:in `each'
from /Users/gerhardlazu/code/sitedirect/vendor/rails/activesupport/lib/active_support/inflector.rb:284:in `constantize'
from /Users/gerhardlazu/code/sitedirect/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:143:in `constantize'
from /Users/gerhardlazu/code/sitedirect/vendor/plugins/acts_as_virtual_attribute/lib/acts_as_virtual_attribute.rb:49:in `acts_as_virtual_attribute'
from /Users/gerhardlazu/code/sitedirect/app/models/work_order.rb:6
... 72 levels...
from /Users/gerhardlazu/code/sitedirect/vendor/rails/railties/lib/commands/server.rb:39
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from ./script/server:3
Exiting
/Users/gerhardlazu/code/sitedirect/vendor/plugins/acts_as_virtual_attribute/lib/acts_as_virtual_attribute.rb:12:in `acts_as_virtual_attribute': (eval):6:in `acts_as_virtual_attribute': compile error (SyntaxError)
(eval):4: syntax error, unexpected '/', expecting '\n' or ';'
def new_admin/work_order_items_attributes=(attrs)
^
(eval):6: syntax error, unexpected kEND, expecting $end from /Users/gerhardlazu/code/sitedirect/app/models/work_order.rb:6
from /Users/gerhardlazu/code/sitedirect/vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in `load_without_new_constant_marking'
from /Users/gerhardlazu/code/sitedirect/vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in `load_file'
from /Users/gerhardlazu/code/sitedirect/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
from /Users/gerhardlazu/code/sitedirect/vendor/rails/activesupport/lib/active_support/dependencies.rb:215:in `load_file'
from /Users/gerhardlazu/code/sitedirect/vendor/rails/activesupport/lib/active_support/dependencies.rb:96:in `require_or_load'
from /Users/gerhardlazu/code/sitedirect/vendor/rails/activesupport/lib/active_support/dependencies.rb:261:in `load_missing_constant'
from /Users/gerhardlazu/code/sitedirect/vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in `const_missing'
... 65 levels...
from /Users/gerhardlazu/code/sitedirect/vendor/rails/railties/lib/commands/server.rb:39
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from ./script/server:3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment