Questions tagged [wicked-gem]

a Ruby gem for building step-by-step wizards in Rails apps

wicked is a Ruby gem for building step-by-step wizards in Rails applications.

Resources

107 questions
0
votes
0 answers

Is it possible to make a nested wicked wizard form?? or nested form in a nested form

i have three models associated by has_many and through, and i need to make a form for them. the association is like, a user has many projects; a project has many tasks; a user has many tasks through projects. what i want to do is a user can create…
0
votes
1 answer

Got error from devise user and wicked rails gem

I got error from browser after sign up with email and password. class UserStepsController < ApplicationController steps :personal def show @user = current_user render_wizard end def update @user = current_user …
0
votes
4 answers

Can't generate wicked pdf in rails 4

Hi everybody I'm trying to use wicked pdf in rails 4. I follow this page https://github.com/mileszs/wicked_pdf. I did: gem install wicked pdf Then I tried the command rails g wicked_pdf ### And got "Could not find the generator" I'm trying to…
Carlos Morales
  • 1,137
  • 3
  • 15
  • 38
0
votes
1 answer

wicked pdf side issue

I'm exporting a table using wicked pdf here is the controller that use wicked def print_invoice respond_to do |format| format.pdf{ send_data render( ####### WICKED CODE ###### :pdf => "invoices", :margin =>…
Carlos Morales
  • 1,137
  • 3
  • 15
  • 38
0
votes
1 answer

Wicked gem not reaching step 1

I've been following step by step example for wicked gem https://github.com/schneems/wicked/wiki/Building-Partial-Objects-Step-by-Step but I'm struggling to make it work routes.rb post '/trips/building/build(.:format)', :to =>…
user7330
  • 136
  • 9
0
votes
1 answer

Updating model in Rails doesn't associate it with user

When a user signs up for my site, they automatically hit a signup wizard (using the WickedWizard gem). The information they input creates a Finances model, which belongs_to the User model. The User model has_one Finance. Currently when a user…
beaconhill
  • 441
  • 6
  • 28
0
votes
1 answer

wicked using inside namespace

I have problem with using wicked inside namespace. I have namespace "partners", in this namespace I can add cars so my routes looks like this: namespace :partners do resources :cars resources :car_steps end I have controller cars: …
Mateusz Urbański
  • 7,352
  • 15
  • 68
  • 133
0
votes
1 answer

Integrating Wicked, Devise and Omniauth-Facebook

I am developing an application using these three gem I wrote in the title of this post. I set up devise with the confirmable module(?), so when a user creates an account with its email/password, it receives a confirmation email. If the user sign up…
0
votes
1 answer

wicked wizard force to render concrete step

In rails app I use wicked gem to create wizard(https://github.com/schneems/wicked/) I want protect my wizard and render only concrete step after check. In fact render_wizard method can accept only instance: render_wizard @product Is it possible…
Volodymyr
  • 1,136
  • 3
  • 11
  • 28
0
votes
1 answer

Multiple Submit Options with wizard form and Wicked gem

I looked at Wicked documentation, but can't seem to figure out my problem. I have a multipage wizard form, and on this page I have 4 buttons. I need each button to update a specific attribute in my model, and also submit the form at the same time. I…
Elijah Murray
  • 2,132
  • 5
  • 30
  • 43
0
votes
0 answers

Wicked Wizard rolling back on first step

I have started a rails app and setup devise with Group as the model, not user. I'm trying to extend an after registration wizard to update some information about the group. So far I can register, go to the first step after registration, but when I…
DevanB
  • 377
  • 1
  • 6
  • 16
0
votes
1 answer

Wicked gem shows only one step

I have watched Wicked forms with wizard and I am trying to do my own form, I have the following: Employees_controller.rb class EmployeesController < ApplicationController def index @employees = Employee.all end def show …
0
votes
1 answer

How do I use the Wicked::FIRST_STEP constant

I am not quite sure on how to use the Wicked::FIRST_STEP constant. The way I understand the documentation I would think that it will point to the first step in the steps array, but what I actually get is the hardcoded string: "wicked_first" (as…
zentralmaschine
  • 595
  • 7
  • 19
-1
votes
1 answer

Nested form doesn't show up on page

I'm trying to build a nested form, but I can't get it to work. I'm using rails 5.2, devise and wicked wizard. I have tried to use the cocoon gem, but without luck. The problem is, that the nested form doesn't show up on the page, it's just a blank…
-1
votes
1 answer

Rails route with id after resource

I have nested routes that I'm having difficulty formatting the way I want to. My routes.rb has the following resource :loan_application do scope ":loan_application_id" do resources :wizard, only: [:show, :update] end end When I click the…
Questifer
  • 1,113
  • 3
  • 18
  • 48