Hi,

I am having trouble creating a new article on Mephisto on my Dreamhost
server. I am using Rails 2.0.2 and Mephisto 0.8.

When I login to the admin area and then attempt to create a new
article I see this error in my log

Code :   - fold - unfold

   1. Parameters: {"action"=>"new", "controller"=>"admin/article
   2. s"}
   3. LoadError (Expected /mnt/local/home/app/models/asset.rb to
define Asset):
   5.     /vendor/rails/activesupport/lib/active_support/dependenc
   6. ies.rb:249:in `load_missing_constant'
   7.     /vendor/rails/activesupport/lib/active_support/dependenc
   8. ies.rb:453:in `const_missing'
   9.     /vendor/rails/activesupport/lib/active_support/dependenc
  10. ies.rb:465:in `const_missing'
  11.     /vendor/rails/activesupport/lib/active_support/dependenc
  12. ies.rb:260:in `load_missing_constant'
  13.     /vendor/rails/activesupport/lib/active_support/dependenc
  14. ies.rb:469:in `const_missing'
  15.     /vendor/rails/activerecord/lib/active_record/base.rb:175
  16. 0:in `compute_type'
  17.     /vendor/rails/activerecord/lib/active_record/reflection.
  18. rb:125:in `send'
  19.     /vendor/rails/activerecord/lib/active_record/reflection.
  20. rb:125:in `klass'
  21.     /vendor/rails/activerecord/lib/active_record/association
  22. s/has_many_association.rb:152:in `construct_sql'
  23.     /vendor/rails/activerecord/lib/active_record/association
  24. s/has_many_association.rb:6:in `initialize'
  25.     /vendor/rails/activerecord/lib/active_record/association
  26. s.rb:1032:in `new'

Having google'd the problem I found these two links (below), but
neither solved the problem.
http://groups.google.com/group/Mephisto … 4f4885f6f2
http://www.marcinciszak.com/tags/blog

Has anybody come across this issues and know the solution?

Thanks,
Edwin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to