Skip to content

Instantly share code, notes, and snippets.

@martinstreicher
Created June 15, 2010 04:05
Show Gist options
  • Save martinstreicher/438680 to your computer and use it in GitHub Desktop.
Save martinstreicher/438680 to your computer and use it in GitHub Desktop.
Prescription.generate
ActiveRecord::UnknownAttributeError: unknown attribute: doctor
from /Users/strike/projects/ohp/onehealthpass_core/vendor/rails/activerecord/lib/active_record/base.rb:2906:in `assign_attributes'
from /Users/strike/projects/ohp/onehealthpass_core/vendor/rails/activerecord/lib/active_record/base.rb:2902:in `each'
from /Users/strike/projects/ohp/onehealthpass_core/vendor/rails/activerecord/lib/active_record/base.rb:2902:in `assign_attributes'
from /Users/strike/projects/ohp/onehealthpass_core/vendor/rails/activerecord/lib/active_record/base.rb:2775:in `attributes='
from /Users/strike/projects/ohp/onehealthpass_core/vendor/rails/activerecord/lib/active_record/base.rb:2473:in `initialize'
from /Users/strike/projects/ohp/onehealthpass_core/vendor/plugins/object_daddy/lib/object_daddy.rb:36:in `new'
from /Users/strike/projects/ohp/onehealthpass_core/vendor/plugins/object_daddy/lib/object_daddy.rb:36:in `spawn'
from /Users/strike/projects/ohp/onehealthpass_core/vendor/plugins/object_daddy/lib/object_daddy.rb:206:in `generate'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment