I have created a Rails Engine. I am having trouble using the seed command, if I run rake db:seed I get the error: "uninitialized constant".

In the engine, I got a seeds.rb:

Page.create(:title => 'Frontpage', :order => '1')

Then in my dummy app I got a seeds.rb with

cms::Engine.load_seed   

(cms being the name of the engine) -- I got an error now though, that "uninitialized constant ". How do I reference the constant from the dummy app?

Edit
Report