How do I extend enum method?
Is there a simple way to either extend the enum methods OR to override the current bang method? I have a lot of enum statuses that I update with bang. However, the rails enum bang method is writt...
Amie Walton postedIs there a simple way to either extend the enum methods OR to override the current bang method? I have a lot of enum statuses that I update with bang. However, the rails enum bang method is writt...
Amie Walton postedanyone can help?
Chong Hwi repliedIt looks like https://github.com/ledermann/rails-settings/ might solve the 'easy defaults' element of this, but it appears there are issues with AA/Administrate... will keep investigating. Any oth...
David Lowry repliedI'm interested too
Jul Zyw repliedI'm looking for a way to protect source code using a license server. Since ruby is not a compiled language looking for any experience with compiling ruby using rubyVM or other means.
Peter vande Put postedProblem located, and resolved. The problem seems to have been 2 fold....first off, I didn't have a users controller....creating an empty one fixed the login/logout/signup behavior. Now I can e...
John replied • Solvedx2
Ángel Méndez repliedI deployed my rails 6 application but on 'cap production deploy', when the 'rake assets:precompile' is run, I receive the following error. ModuleNotFoundError: Module not found: Error: Can't resolv...
abdullah19100142 postedI struggled this for awhile as well. I figured it out with a free template from Creative-Tim and opened source the result. I also wrote up a blog post diving into the codebase here: https://www.din...
Tim Jones repliedI'm having trouble setting up S3 to work with Active Storage on a Heroku environment. Would you mind sharing your setup, please?
Richard C repliedFantastic, thanks for the tip Chris! Cheers, Marcus
Marcus S repliedWith ps ax I get the following list of processes. How could I identify the process? PID TTY STAT TIME COMMAND 1 ? Ss 1:10 init 2 ? S 0:00 [kthreadd/797067] ...
Herbert Schmoll repliedWebpacker successfully installed!! I don't know what happened but I uninstalled rbenv in brew and reinstalled in, reran the doctor and it seemed to work: This page was immensely helpful - https:/...
sam repliedI use shrine for uploading excel sheets. I need to process those files. How can I get the url but with host? I tried the plugin default_url. But it doesn't work
Yassine Hafidi postedHi Chris - How could I skip the Devise confirmation if a user is signing up to pay with Stripe? I am following this video on your stripe course: https://courses.gorails.com/courses/payments-with-r...
Brian Gilbank postedhi, it's really helpful. i also have a case like this, its a quotation and invoice. does the steps, also copy the association or just the id and refer it to the tasks from previous project? thanks.
msalsabil replied • SolvedYes, you should read this part of the RoR's guide: https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-web-console-gem
Arnaud repliedI'm building a website as side project with a friend. Ngnix + Rails in docker. After deployment, I usually do assets:clobber and assets:precompile. This changes the name of the assets. When I try...
oscarlopezalegre postedHey guys, I just started a project (based off of Jumpstart Pro). One of its core features should be a price comparison: I'd like the app to fetch prices across different websites/webshops several ...
karatepicke postedI was experiencing something similar after following a mail_form tutorial. In my case, the email wasn't being sent through due to DMARC and spam prevention practices from Sendgrid (and settings I s...
Mark replied