Getting started, 6.2: tutorial doesn't work or engine generation has bug?
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!
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
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.
And that was trying to do the exact same thing as in the tutorial...
Aha, I see the same issues you mentioned - will try to fix asap.
Now that seems to "work": it doesn't crash. But...I'm getting redirected from /refinery/events to /events...
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.
+1 :)
Any estimate on when this might be patched up @ugisozols? Thanks!
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 ;)
Got it, was able to get new engines up and running with the latest wave of updates to the generators. Thanks guys!
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