On Mon, Aug 2, 2010 at 11:20 AM, spokra <[email protected]> wrote: > I had everything setup and working. then setup mod_ruby (enterprise > ruby) and thing stopped working. I've removed everything and > reloaded ruby rails and hobo and still am getting errors.. any > ideas? >
Don't name your migrations the same as your models. The generated migration in your example starts with this: class Site < ActiveRecord::Migration Unfortunately, your models are already loaded, and the generated site.rb model starts with: class Site < ActiveRecord::Base Thus the error complaining about the superclass mismatch. It may be valuable to warn the user when this happens, but note that Rails also exhibits the same issue with 'script/generate migration'... --Matt Jones -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
