Forum: Ruby on Rails Troubles with Mephisto

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
DrDexter (Guest)
on 2009-02-04 01:57
(Received via mailing list)
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
This topic is locked and can not be replied to.