I have been trying to get some code figured out. I have a form I am trying to use the Wicked and Cocoon gem. Everything works, including the link_to_add_association function. I am rendering a partial for the associated form fields just like Cocoon…
Can you have non-restful methods in a controller which includes the WickedWizard gem?
Controller:
class Books::BookUpdateController < ApplicationController
include Wicked::Wizard
steps :title_step, :ai_archive_step, :ai_override_step #etc
…
I am using wicked-pdf gem (v1.2.2) to generate a PDF report which contains a font awesome icon.
I have kept the fontawesome file in this path:
vendor/assets/fonts/fontawesome.css.erb
and corresponding fonts in this…
I have created a wizard form using Wicked gem and it works great for editing existing records. But I can't figure out how to create a new record using this wizard form.
Quotations from documentationBuilding Partial Objects Step by Step:
"This also…
I'm generating pdf's from html using wicked_pdf. Right now, I want to remove top margin on the first/cover page .
This is a snipped code from my controller :
render :pdf => @project.name,
:javascript_delay => 1000,
:disable_external_links =>…
I have a Campaign model and I am using Wicked Gem for step by step campaign creation.
I have total 3 steps in the wizard...
steps :details, :audiance, :creatives
Here is my Wizard controller
class Brands::CampaignWizardsController <…
How is it possible to use one and the same view for several steps (for example, you have to loop on several questions to answer and the questions should be generated dynamically in the controller via before_action filter)?
I've found almost what I needed in a previous question: Wicked Wizard dynamic step order
Unfortunately, I'm still struggling with my problem. I want to make my Wicked Wizard have totally dynamic step order (besides the first step). Each response is…
I built a multistep form with wicked-gem consisting of three steps.
The last step should be callable 1 to x times.
So I added another button to my form:
if current_step?(:add_principal_claim)
= file.submit value: 'next_claim', class: 'button…
I'm having a problem getting the caching I need to work using CloudFlare.
We use CloudFlare for caching all our assets on S3 which works 100% using a separate subdomain cdn
We also use CloudFlare for our main site (hosted on Heroku) as well, e.g.…
I'm trying to alter the order of the steps in wicked wizard based on the selections form a previous selection.
So currently I have all the steps:
class WWTestController < ApplicationController
include Wicked::Wizard
steps…
I'm using the wicked gem
After I hit RequestStepsController#update, I'm being redirected to /request_steps/wicked_finish. I have no idea why. Any suggestions?
If it worked as I expected it to, then the next step after updating the object would be…
I'm trying to implement the 'Wicked' gem for wizards and cannot figure out this error for the life of me. Already referenced Ryan bates railscast #346 and the step by step tutorial by schneems.
I have 2 controllers: Weddings and Wedding_steps. The…
I have tried using the Wicked gem 3 different times over the past 8 years. Each time, I have given up for the same reason. I'm trying again, because if I understand it, I think it will be perfect for my use case.
My main problem is that I don't…
Ruby: 2.4.0
Rails: 5.1.2
Hey Guys,
I'm not completely new to Rails but definitely not an expert.
What I'm trying to do is to create a wicked wizard with nested attributes.
I already searched via Google, GitHub and StackOverflow but haven't found…