Search Results for "form-using-form_with-not-loading-f173fe60-5f59-43e8-960e-2087895b7930"
Lessons
Forum Threads
0 Using VueJS with Rails: Using VueJS for Nested Forms in Rails: Part 2
Hm, that's cool, until you need to validate the form and show and handle all these nested validation errors. It requires much more efforts than the Rails nested_attributes.And, as I see, Turbolinks...

30
General
Render concurrent request data as it becomes available with Turbo Streams
Very interesting, although very difficult for me

2
Rails
Stripe Elements Javascript Discussion
Same question as @jose, does anyone know if this [1] covers two factor / 3D Secure payments using the payment intents API from Stripe? Thanks!
[1] https://courses.gorails.com/payments-with-rails-m...

16
General
Global Autocomplete Search Discussion
I am trying to implement this on a rails 7 project (using jsbundling-rails for my javascript).
When I manually setup the data in the console and invoke autoComplete on the form - it works.
However ...

30
General
Migrating from Rails UJS to Hotwire: Data Method, Confirm, and Disable With Discussion
I exactly followed the example, but it doesn't work for me. The form is submitted but the button is not disabled and the text is not changing. Do I miss some JS magic? Any ideas?

18
General
Stripe Subscriptions: Duplicate Customers
Minor bits and pieces can get out of date but to be honest, Stripe's documentation is really good and their engineering team is great about helping users fix issues like you've had. I don't think ...

15
Rails
Rails form post creates a 'Do you want to download “<form target>”' prompt on mobile
Hey everyone,
I'm just testing my first Rails app on mobile and whenever I submit a form I get a prompt to download the form target. See the screenshot below:
[Download Prompt on iPhone8](https:/...

1
Rails
Issue with Nested Forms in Rails 6.1.3.2
I think the main problem was that you were calling `@client.shipping_addresses.build` in multiple places, so the values from the form were probably getting overridden.
- Remove `@client.shipping_a...

3
Rails
Rails 6 form_with will not pass resources with Association
Updated my controller but still no go:
```
def create
message = @hangout.messages.new(message_params)
message.user = current_user
respond_to do |format|
if message.save
format.html...

3
Rails
How to process form_with using GET request as XHR
I'm working on a Rails 6 app, and want to update page view based on a dropdown value selected using XHR. Dropdown must use **GET** method coz I am calling **index** action.
I am using form_with wh...

1
Rails
Using VueJS for Nested Forms in Rails: Part 2 Discussion
Hello all!
While using this technique, a came across a problem.
Im basically building an invoice with various fields calculations and nested items, all works fine.
In my form, one of the values ...

9
General
Hotwire Not Working Inside of Namespace
This seems like an easy fix, but I am not sure why its not working. I have an admin dashboard using Hotwire, but I can't seem to create records for my gym model (There are no errors, and it will wo...

1
Rails
Accepts_nested_attributes_for, I am getting 'unpermitted parameter: :user' and User not entering to DB.
got the answer, needed to add one line to the new action in AccountsController
```
@account.users.build
```

2
Rails
Routing for Admin area not working
I got this issue this noon and it has been solved by following this thread. Thanks guy.

5
Rails
Rails for Beginners Part 13: Creating a Sign Up Form Discussion
We get to the 'Sign up' form from the registrations_controller#new action which defines the @user instance variable as User.new (calling the new method on the User model). Because we use an instanc...

7
General