I try to reproduce http://railscasts.com/episodes/346-wizard-forms-with-wicked railscast. I try to create report in four steps wizard. I
- generate controller report_steps
- add resources :report_steps to routes.rb
- create steps views
Now I try to call it(like in railscats by typing localhost:3000/report_steps/step1 in address bar in browser) and receive:
Routing Error
uninitialized constant ReportStepsController::Wicked
What is the problem? I use ruby 1.9 2 and rails 3.0.12.
UPD: after commenting and uncommenting include Wicked::Wizard behaviour changed(it's a kind of magic) and now I receive new error:
NameError in ReportStepsController#show
uninitialized constant ReportStep