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
1
vote
1 answer

ruby on rails multiple step form

I have been doing some research into using multistep forms for my ruby on rails project, and have come across the wicked gem which seems to tick all the boxes. Upon further investigation, I see it is only good for showing/updating. does anyone know…
Boss Nass
  • 3,384
  • 9
  • 48
  • 90
1
vote
1 answer

How to add external link to pdf using wicked_pdf?

Let say for example I will put google.com link to some text in my pdf, and opens in new tab. But this simple a href tag doesn't worked! Go to google The above code generates: file://google.com/ How can…
aldrien.h
  • 3,437
  • 2
  • 30
  • 52
1
vote
1 answer

Wicked Gem with cocoon gem and devise user model

So I have a User model generated with devise, and I am using Wicked gem to give me multiform option on taking more data from the user and storing it in the user model. Everything is working fine but know I'm trying to add another model where user…
Gurmukh Singh
  • 1,875
  • 3
  • 24
  • 62
1
vote
1 answer

Multi-form in rails using Wicked Gem and Devise

I am trying to set a multi-form login system using the Wicked gem. I have devise installed up and running correctly, when following these steps:http://railscasts.com/episodes/346-wizard-forms-with-wicked. I'm not being redirected to the…
Gurmukh Singh
  • 1,875
  • 3
  • 24
  • 62
1
vote
2 answers

wrong number of arguments (1 for 0) error while using Wicked gem

I am getting this error while signing up user in the last step, user gets signed up but i don't know why is this error coming. private def redirect_to_finish_wizard redirect_to root_url, notice: "Thanks for signing up." end Please any solution
Nitin Rajan
  • 309
  • 2
  • 18
1
vote
1 answer

nested model attributes + wicked wizard form not working

I am making an app based on the railscast tutorial 346(Wicked gem) and 196(nested model). I am trying to combine these 2 together and I am stuck because strong param attributes are not saving. So my app goes like this: I have a user, work, and…
1
vote
1 answer

Rails Wicked Gem - Understanding routing

Okay, so I'm not really understanding nested routing in the wicked gem. So far I have this. I'm not sure if everything is in the right folder or if I'm doing that right. routes.rb resources :events resources :events do resources :build,…
Clam
  • 935
  • 1
  • 12
  • 24
1
vote
1 answer

I receive an error that "No Route Matches" {...id=>nil} *Wicked*

I have seen a lot of similar routing issues and id=>nil posts, but none of the solutions have resolved my error. First here is the entire error: ActionController::UrlGenerationError in ProfileSteps#personal Showing ...profile_steps/personal.html.erb…
user3435032
  • 23
  • 1
  • 4
1
vote
1 answer

Rails with Wicked gem. Data will not update

I am using the Wicked gem to create an object in multiple steps. Everything seemed to be working fine until I realized that the data was not saving. I noticed it was not saving whenever url: wizard_path was present in the form builder. When that is…
jordan
  • 9,570
  • 9
  • 43
  • 78
1
vote
1 answer

Rails PUT not creating a new model

When a user signs up, they begin creating their Finances profile. I use the WickedWizard gem to collect information to their Finances model. The finances_welcome controller looks like this: def show @finance = current_user.finance ||…
beaconhill
  • 441
  • 6
  • 28
1
vote
1 answer

ForbiddenAttributesError for another controller Wicked gem

Totally stumped on this. I can not get past this class AfterSignupController < Wicked::WizardController before_filter :authenticate_user! steps :complete_basic_profile, :complete_skills, :complete_address, :complete_avatar def…
user1320651
  • 808
  • 2
  • 15
  • 42
1
vote
0 answers

Wicked gem can't pass place_id

I am using wicked gem in order to make a multi step form. Although I am getting the error Couldn't find Place without an ID when I am trying to hit the continue button in the general step (first step of wicked). My places_controller code is def…
rt trrt
  • 31
  • 4
0
votes
1 answer

Rails Wicked Gem - Odd Routing Issue

I have been banging my head against the wall all day today with this problem. I am building an onboarding wizard where I collect business information. It's many steps, but for this I will post simply the 2 step process. In testing, I can get the…
3BB
  • 634
  • 6
  • 13
0
votes
0 answers

How to upload a photo from a Rails cache hash?

I'm quite new with Rails and I'm trying to implement a multistep form in my app for creating a new instance of my User model (devise gem). I use wicked gem and I've chosen a cache persistence and an ID/Key-in-Session as strategies to handle it. For…
0
votes
2 answers

Rails: Undefined method `[]=' for nil:NilClass with active record when no attachments

I am using the wicked gem for a wizard form. In one of the steps of my form I have fields to upload attachments. I'm using active storage and Rails 6. In my view <%= f.file_field :plan %> <%= f.file_field :appraisal %> <%= f.file_field :flow %> In…
DaveC
  • 59
  • 1
  • 8