Ruby on Rails Community Forum
How to initialize datepicker in stimulus controller?
4
Javascript
I'm using datepicker and turbo frame. The datepicker is broken when the frame is replaced. I'm doing turbo:load in javascript file, it works when navigating between pages, but it will be broken whe...
Umair replied
Rails for Beginners Part 29: Tweets Index & New Actions Discussion
10
General
At around 6:30 where you add the /auth/twitter/ link, the method: needs to be added as a :post correct, for OAuth 2.0?
ActionText attachments not visible in Trix editor after domain migration
3
Rails
Hi All,
We recently moved domains and have noticed an issue with how ActionText attachments are displayed in the Trix editor. They display correctly in the show view, just not in the editor.
Arti...
Emiliano López replied
Mimic Heroku CLI on Hatchbox with rake tasks
0
Servers
Hi guys,
Weirdly enough the thing that was holding me back the most from moving away from Heroku to Hatchbox was the ease of use of the Heroku CLI in my daily workflow.
So this weekend I decided...
Vincent Bakker posted
How do I configure GlobalID in a Rails app?
1
Rails
I am working through an elaboration on the recent screencast, using GlobalID to build references to polymorphic associations, but I need to be able to take advantage of the GlobalID.app= method, an...
Walter Davis replied
Solved
How do i wrap calls to update_attributes via transaction?
0
Rails
I have two models User/Car. User can have many Cars. How do i prevent updates to cars if my user object is invalid? Currently Rails does not wrap the attribute update(cars) in a same transaction a...
Arul posted
how do i can send otp when user press forgot password button
0
Rails
I used devise gem and twilio for authentication and otp. Now i want to send otp to user when he/she press forgot button and after verify it goes to devise edit password where display new password a...
Hassan Nawaz posted
Nested Comments in Rails Part 2, nested comments are showing in reverse order
2
Rails
I am trying to implement nested comments with max_nested comments as described in this episode:
https://gorails.com/episodes/nested-comment-threads-in-rails-part-2?autoplay=1
I'm at approximately...
Solved
TailwindCSS Stimulus Components Gem not working in new rails 7 application
2
Gems / Libraries
Attempting to use the following gem in a new rails application: https://github.com/excid3/tailwindcss-stimulus-components
Main reason is that the new supported tailwind gem that you can install di...
Bryan Beshore replied
redmine perforamce
0
Ruby
ruby 2.6
rails 5.2.6
nginx-passenger
redmine 4.2.6
ubuntu 20.04
10 cpu
32 gig ram
my question??
how i can increase performace for my redmine to handle 500 req/sec?
in rails and mysqld and nginx-pas...
ashrafalzyoud posted
Uppy Video
2
Rails
I've followed your tutorial and haven't been able to get uppy pop up to open upon click of "upload". Any ideas as to why?
JSON Web Tokens with Devise & Warden Discussion
15
General
Great tutorial.
Aproplat replied
Why You Should Focus On Writing Code With Clarity Discussion
4
General
Good article Chris, ruby has the clarity implied, programmers don't... however "ubiquitous language" is something that could help to programmers on this, thanks for share your thoughts!
such specific cases
0
General
Do situations often occur when an ordinary person can sue a construction company and win it? I am interested in statistics, maybe you know such specific cases.
Jan Papi posted
Content ideas
1
General
GraphQL on rails
- basics
- various ways to solve N+1s
Filippo Massarelli replied
Which native app technology to pair with Rails
6
General
We are currently developing a rails application for a new startup and we are trying to determine which front end and native app technology we should combine with it.
We are looking at React JS an...
Smithjoara replied
The Rails db:system:change command Discussion
7
General
Great to change the database when we create default sqlite.
that maintains the previous gem version ... generates confusion when looking for errors.
Jesus replied
First open source contribution to turbo-rails
4
Rails
Hello-
I'd like to take a crack at fixing https://github.com/hotwired/turbo-rails/issues/341 for turbo-rails. I'm having a little trouble navigating my local setup to verify the change is working ...
computer_smile replied
Solved
Stimulus not autoloading controllers
3
Javascript
Decided to give stimulus a try on a new app I am working on and immediately ran into issues. Up to this point this is a fresh rails 6.1 app and I have installed Hotwire-rails.
Just using the hello...
Solved
Setup Ubuntu 14.04 Trusty Tahr Discussion
0
General