Skip to content

Instantly share code, notes, and snippets.

@gerhard
Created November 21, 2008 14:27
Show Gist options
  • Save gerhard/27441 to your computer and use it in GitHub Desktop.
Save gerhard/27441 to your computer and use it in GitHub Desktop.
uninitialized constant CompaniesHelper
vendor/rails/activesupport/lib/active_support/dependencies.rb:439:in `load_missing_constant'
vendor/rails/activesupport/lib/active_support/dependencies.rb:77:in `const_missing'
vendor/rails/activesupport/lib/active_support/dependencies.rb:89:in `const_missing'
vendor/rails/activesupport/lib/active_support/inflector.rb:354:in `constantize'
vendor/rails/activesupport/lib/active_support/inflector.rb:353:in `each'
vendor/rails/activesupport/lib/active_support/inflector.rb:353:in `constantize'
vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:162:in `constantize'
vendor/plugins/acts_as_virtual_attribute/lib/acts_as_virtual_attribute.rb:69:in `acts_as_virtual_attribute'
app/models/company.rb:3
app/controllers/admin/company_controller.rb:20:in `new'
class Company < ActiveRecord::Base
has_many :people
acts_as_virtual_attribute :people
end
class Person < ActiveRecord::Base
belongs_to :company
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment