Ruby on Rails Community Forum
Move data from one table items to another table items
0
Rails
Hi, hope you are fine. I am having a task in which BasketMenu has many BasketMenuItems, and there is another relation of OrderMenu has many OrderMenuItem, and BasketMenu has many OrderMenu. My task...
Haider Ali posted
Stimulus based ActionCable Subscriptions - possible race condition related to turbolinks preview?
0
Rails
Hi,
I've been upgrading a legacy app to leverage Webpacker and Stimulus with the intention of moving to Hotwire eventually too. We have a few ActionCable (AC) channels used here and there and it se...
Craig Chamberlain posted
Please send invoices out attached by email
0
Site Feedback
Hi Chris,
can you please consider sending invoices out by mail. It's a real hassle having to go in an collect them every month individually. Thanks!
Drazen posted
Improve multilayer nested loops
0
Databases
I have built a drilldown type screen in an application I am working on and the way I set it up initially is super inefficient and causes really slow load times. The over all concept is we are displ...
RJ McCollam posted
Odd error messages
0
Ruby
My ASI is producing odd error messages. It’s asking for end commands and closing parenthesis where they don’t belong.
I have to fix the code up as it is and these error messages are just getting i...
Oliver Haken posted
How to play?
0
General
Can you share more?
I have some cool stuff to share with you
havenhaven posted
Rails file upload "TypeError: can't dump File"
0
Ruby
I am upgrading my projects ruby version from 2.3.1 to 3.0.2 with rails 6.1.4 and facing error while file upload
My error and details are:
https://stackoverflow.com/questions/69256448/rails-file-up...
MohitChavda posted
Do you know how to permit these Devise sign up params within existing my set up?
0
Rails
I am using Rails 6 API with the Devise gem and Devise_JWT gem. It is early stages but currently Devise is not submitting default params to the registration controller such as email. I am receiving ...
georginavweston posted
Rails 5.2 - Encrypted Credentials Discussion
6
General
Great tutorial!
Stan replied
error in deploying an app based on jumpstart in Digitalocean
0
Gems / Libraries
During the deployment phase on a Digitalocean app service I have this log:
[tirzan-3] [2021-09-14 08:16:02] => Booting Puma
[tirzan-3] [2021-09-14 08:16:02] => Rails 6.1.4.1 application star...
Stefano Tizianel posted
Solid design pattern folder structure
0
Rails
How do we organize the model folder according to the example on the first episode of solid design ? Should we make another folder app/scripts or whatever ? How these new classes are imported into m...
Jules JAMET posted
Slow API Call any help?
0
Rails
I call the api for some lifestyle nutrition objects using the bellow and it returns 700 objects. Its currently taking 25-30secs. The lifestyle items do not have any attachments so don't understand ...
Stephen Sizer posted
How to learn about mobile app with rails and hot wire
0
General
Please give me suggestions
woodenstreet posted
How to add overrides to a rails app?
1
General
Hi folks
I want to use an existing rails app and adjust some things as well as build new features on top of it. How would I do this and still be able to just pull updates from this apps repository...
Chris Oliver replied
Mail Interceptors & Observers in Rails Discussion
0
General
Issue with Nested Forms in Rails 6.1.3.2
2
Rails
I’m working on a project that will utilize nested forms that incorporates Rails 6.1.3 and Bootstrap 5.1.2.
I’m having difficulty getting the nested form feature to work.
Project GitHub: cjmccormic...
Steve Polito replied
Uncaught Error: If you load both jquery_ujs and rails-ujs, use rails-ujs only.
0
Javascript
I have a rails 6.1 application that uses jquery. Here is how I'm importing it in my config/webpack/environments.js file:
$: 'jquery/src/jquery',
jQuery: 'jquery/src/jquery',
jquery: 'j...
Tripscape posted
Host sets website root to rails 6 public folder... why?
0
Servers
Hello.
My host service sets website root at my rails 6 app public folder.
This results in rendering the static public/index.html instead of root 'pages#index' each time i visit the website url.
If ...
Soppi posted
how to use devise_invitable gem in rails
0
Gems / Libraries
Admin creates a User. App sends Invitation Email to new User. User
clicks on link provided in the email. Links takes new User to a webpage
where he pick his password. User can now login to the app....
Adnen Mrad posted
Multiple Device support with Request Variants in Rails Discussion
5
General
Great video as always! How does this method compare with using responsive design with a CSS framework like Bootstrap or Tailwind? Is this a better method if you want a very specific or completely ...
Tabish Iqbal replied