I'm using Wicked to build an object in steps, and would like to clean up my routes a little bit.
Currently, my router looks like this:
resources :surveys, only: [:new, :create], path: 'feedback' do
resources :steps, only: [:show, :update], …
I have searched over the stackoverflow and internet but could not find a solution.
I have a car modal and I used wicked gem for user to enter data. But on the finish wizard, I would like to show bootstrap modal to user that kind of says, "we have…
I'm trying to implement Wicked gem with Devise as I want users to go through different steps in order to complete their profiles. I'm a complete newbie so I would appreciate if you can give me a suggestion on what could be the problem.
The error I'm…
I'm new to wicked form and I was following the railcast episode on wicked forms but I keep receiving this error "Couldn't find Company with 'id'=info". So I know that the problem is clearly in my controllers somewhere. I know it's something super…
I'm converting HTML to PDF using with wicked_pdf and wkhtmltopdf and it's working fine on my localhost but when I deploy that code on server then I'm getting following error on server.
Error as well as Logs
RuntimeError (Error: Failed to…
I am using the Devise gem for user login, permitting :emailand :password and the Wicked gem for profile completion, permitting first_name, last_name, username, and bio. User model has_one :profile and accepts_nested_attributes_for :profile and…
I am having problems related to the links given to login and logout.
I am not using devise gem
In my code I have given the following links
<% if current_user %>
When trying to add users to a band using the nested_form gem, I am unable to access the users from the params. After some investigation I noticed that I was getting an unpermitted parameters error in the console. I need to access users_attributes so…
Im new to the rails platform...i have an issue of saving user sign up information on clicking register in my form....i get no error but on checking the rails console all the user information is equated to nil...cant figure out why.
my user steps…
The Wicked gem is "pretty cool" but I wish it didn't save models until the last step.
Since it does save models and I'm storing intermediate state in the session, I need the ability to allow users to cancel the wizard and have the wizard clean up…
I've built a wizard in my rails 4 app using Wicked. I've specifically followed this guide, the only difference is I'm doing this with a nested resource. I'm having difficulties with my controller actions that are supposed to find the object the form…
I am using the Wicked gem for multi-step forms and i plan on implementing a custom ajax method, so I will not be able to use the render_wizard method. Right now I am just trying to manually move to the next step. The following does not work:
def…
I'm using wicked PDF in my rails app to generate PDF. and that is done by a private function generate_pdf in my controler becase after the purchase process i want to generate that pdf and then mailer function to send that pdf to user.
error
Render…
I'm building a wizard form with wicked gem. Basically, i need to add two button on one form page. Wicked gem suggests we can use link_to, but link_to doesn't save the form. and then we wrote a javascript function for link_to so that clicking button…
I am creating a muti step form using the wicked gem. The form updates the campaign model that belongs to the user. The error I get is undefined method `update_attributes'
I am having trouble with the update action and I believe it has something to…