DataTables Install via Webpacker
I've literally tried like 7 different configs online and none of them work.
Greg Blass
replied
•
Solved
5
General
Create Customer Url
Hey Suleiman,
something along those lines should work:
# routes.rb
```
get "/:user_account_number/projects/:project_id", to: "projects#show"
# pay attention to the colons (:) within the url here....
karatepicke
replied
•
Solved
3
Rails
How do I listen for dropdown changes in a collection_select field using Stimulus?
Found the issue. The options passed should be an empty object. Nil will return an error so finally:
```html
<%= form.collection_select :product_type, Product.product_types.keys, :to_s, :titlecas...
Nicolás Kruk
replied
•
Solved
2
Rails
How to disable TURBO_STREAM for the `form_with` helper?
I want to incrementally start Turbo on my app but when I enabled it it has broken all my forms. How to disable it from `form_with` in order to be able to incrementally update my app?
Pedro Fernandes Steimbruch
replied
•
Solved
2
Rails
Your biggest aha! moment?
Exactly. And that's why I tend not to talk in buzzwords as best I can on GoRails. Most of what we do is really not that complicated, it just appears that way because we try to name every little det...
Chris Oliver
replied
•
Solved
6
Tips
How to resolve 403 Forbidden error when rendering sign-up view for admins?
Update ....I was able to resolve the 403 Forbidden error when rendering the admin sign-up view by starting the rails project over again from scratch and installing/updating web-packer after running...
Alfred Montalvo Jr
replied
•
Solved
2
Rails
Page enter with Turbolinks
Good day,
I'm having an issue when entering a page and loading a resource. The resource is Selectize which otherwise working fine but when I enter the page with the functionality it will just not ...
Nelson Casanova
replied
•
Solved
2
General
Strategy To Track Progress For Completed Nested Lessons
You're welcome, Dale. Glad it helped :)
Sean
replied
•
Solved
4
Rails
Upgrade strategy from Rails 4.2.4 to 6.0.3.4?
Upgrading from 4.2 to 5.2 to 6.1 would certainly give you some thorough testing of the changes and would be a bit less daunting.
You can probably upgrade straight to 6.1, but you'll want to go th...
Chris Oliver
replied
•
Solved
2
Rails
Is there a way to validate image uploads to validate dimensions?
@axel kee how can I write model test for the ```aspect_ratio```?
Umesh P Kafle
replied
•
Solved
3
Rails
Shrine default_url with webpacker
I figured it out, and yes it is using the asset helper in the uploader.
```ruby
Attacher.default_url do |**_options|
ActionController::Base.helpers.asset_pack_path "media/images/#{name}-miss...
Dieter Lunn
replied
•
Solved
2
Rails
"rails for beginners part 21"
thank you very much, you'r the man!🙌
gabriele garretto
replied
•
Solved
5
Rails
how to make the forum lagg free
I think you may want to take a look at your internet connection, this is a common reason for lagging websites.
If other people are not reporting the same issue, then I would start with looking loc...
Alan Reid
replied
•
Solved
2
General
Hatchbox: How do I point a Godaddy Domain to a wildcard sub-domain?
@bradley I'm in the same situation with an app like Shopify, have you found a good resource to tackle it?
Alex Ventura
replied
•
Solved
4
Servers
Running multiple Rails versions
I am trying to test out the jumpstart rails template. However, I'm running into this issue. Something about different rails versions?
I read the above, but not sure how to fix this. Can anyone ...
Monroe Mann
replied
•
Solved
10
Rails