refinerycms icon indicating copy to clipboard operation
refinerycms copied to clipboard

Getting started, 6.2: tutorial doesn't work or engine generation has bug?

Open jipiboily opened this issue 14 years ago • 11 comments

I ran through the tutorial to create engine but it crashes when I try to load "Events" section in the admin:

ActiveRecord::RecordNotFound in Refinery::PagesController#show

Couldn't find Refinery::Page with id=events

And besides that, on the test website, I have a missing partial. I did not investigate on any of the errors, but maybe the guide could be fixed at some point in time?

Thanks!

jipiboily avatar Dec 15 '11 16:12 jipiboily

Hey @jipiboily,

Sorry for getting back to you so late.

Which version of Refinery CMS you're using? Did you run all of the steps when generating and installing engine?

  • rails generate refinery_engine events ...
  • bundle install
  • rails generate refinerycms_events
  • rake db:migrate

ugisozols avatar Dec 30 '11 06:12 ugisozols

That setup is on my laptop at work, I'll get back to work tomorrow...

That said, it was using the edge guide and edge "release" (master). That was probably the master of december 15 or 14.

jipiboily avatar Jan 02 '12 00:01 jipiboily

And that was trying to do the exact same thing as in the tutorial...

jipiboily avatar Jan 02 '12 01:01 jipiboily

Aha, I see the same issues you mentioned - will try to fix asap.

ugisozols avatar Jan 02 '12 05:01 ugisozols

Now that seems to "work": it doesn't crash. But...I'm getting redirected from /refinery/events to /events...

You can see the full trace.

jipiboily avatar Jan 02 '12 15:01 jipiboily

Yes, that issue still persists. I'm working on some other changes in Refinery CMS right now but I'll try to fix this in near future.

ugisozols avatar Jan 02 '12 16:01 ugisozols

+1 :)

bsheldon avatar Jan 05 '12 03:01 bsheldon

Any estimate on when this might be patched up @ugisozols? Thanks!

bsheldon avatar Jan 10 '12 16:01 bsheldon

I'm sorry but I can't give you any estimate.

It probably can be fixed with a "temp" patch but I want to finish this PR first which don't have this issue ;)

ugisozols avatar Jan 10 '12 18:01 ugisozols

Got it, was able to get new engines up and running with the latest wave of updates to the generators. Thanks guys!

bsheldon avatar Jan 14 '12 06:01 bsheldon

I am getting the same error when I try to edit a setting...

ActiveRecord::RecordNotFound in Refinery::Admin::SettingsController#edit Couldn't find Refinery::Setting with id=Slider Pause Time

daltonrenaldo avatar Aug 17 '12 21:08 daltonrenaldo