Ruby on Rails Community Forum
How to link happening of API calls to tab switching in RoR ?
0
Rails
The use-case is pretty simple, though it has challenged us.
We need to make an API call as a trigger to the user switching tabs (in UI), & need to display data linked to that API call in the ac...
Pulkit Pradeep Gupta posted
Which Dark Theme Is Best for Javascript?
1
Javascript
There are lots of dark themes available but which you like the most and always do programming or projects in that theme which you can't live without it?
max76 replied
jQuery.ajax url: rails
0
Rails
In my code I have this button
```
Pay
```
In my code I have this button
Pay
Expand snippet
when clicked on iframe opens from this javascript code
```
<%= javascript_tag do %>
$("#c...
JP posted
Ruby & Rails Courses
5
General
Hello,
is this GoRails offer any complete Video course for Ruby On Rails?
I am totally newbie in ROR world so I would love to start from Stratch.
Thanks & Regards
Nafiul
akshaytolwani123 replied
Values from dynamic form inputs for use as headings/populate other inputs
0
Javascript
I have a dynamic form im using to create 'sections' within a checklist with one field of 'title' - this also dynamically creates new tabs. I then want to use that input to re name the title of the ...
Tim Dowling posted
Noticed Gem - Twilio is not working
2
Gems / Libraries
Using jumpstartpro. Setup the credentials and verified that they are correct. All other delivery methods work, but I am getting this error for Twilio
`
Error performing Noticed::DeliveryMethods::T...
Aaron Xavier replied
Looking to hire strong Ruby on Rails engineers
0
General
We are the leading fintech company in Austin texas. Open to hiring across the country. Have a 50 person engineering team and looking to grow. We are solving difficult problems in the vertical so...
Tom West posted
A few issues with tidying up @mentions
1
Rails
Hello, I was following along with the mentions episode here https://gorails.com/episodes/at-mentions-with-actiontext?autoplay=1
I made a few tweaks to help suit my application a bit better, and on...
Mylan Connolly replied
Why does one work for one javascript but doen't work for other
0
Rails
```
$: 'jquery/src/jquery',
jquery: 'jquery/src/jquery',
jQuery: 'jquery/src/jquery',
'window.jQuery': 'jquery',
Popper: ['popper.js', 'default']
```
why does the one above...
JP posted
Accepts_nested_attributes vs the regular way.
0
Rails
So I've spent the last couple days working with `accepts_nested_attributes_for` in an effort to understand them (I've never used them before). I've used a variety of sources (GoRails video of cour...
John Magee posted
Devise password after confirmation
0
Rails
Hi, I am fairly new to rails and i'm trying to figure out how to get a user signed up first and later after they go to account confirmation link mailed to them ask for password.
I read about it on...
Brijesh Wawdhane posted
Vue.js Trello Clone in Rails - Part 8 Discussion
23
General
This is excellent! Opened my eyes on usefulness of Vue.js. As someone vested in Rails for many years, I would love to see a parallel series on creating the same Trello Board application using Rea...
Bharat Ruparel replied
Stimulus Reflex not replacing element?
0
Rails
I have a view that has a search bar and a card deck.
I'm trying to use stimulus reflect to search the card deck and for some reason my card deck is not re-rendering.
Some of my view updated but t...
How to customize jsonapi-serializer caching namespace
0
Rails
In my rails application I have `categories` which are classified based on location. I want to cache these categories on serializer level by using `jsonapi-serializer`'s caching method `cache_option...
mohamed31195 posted
How can I include nested comments into an existing project?
0
Rails
PG::UndefinedTable: ERROR: relation "commentables" does not exist
when rake db:migrate
Berkovich Pavel posted
How do I execute a sudo command over SSH?
1
Servers
I'm building a portal to manage our server farm.
I need to create an SSH connection and then execute some commands (bash scripts)
however this commands block the SSH process
sudo -u deployer -H bas...
sacara replied
How to serve images assets from AWS S3 via Cloudflare CDN with Rails and Shrine Gem?
0
General
I use the [Shrine gem](https://github.com/shrinerb/shrine) to upload images to AWS S3 from my Rails app.
Now I’m trying to load the asset trough Cloudflare CDN, but then my images fail to load.
H...
Tommy posted
Many-to-Many associations break in background job
0
Rails
I have a function in my app that emails out a PDF of any invoice as an attachment. Everything works fine if its run in production on the web worker. Of course this bogs the app down and I want to...
Criss Frost posted
Bootstrap v5 tooltip and popover not working (where to put the scripts?)
0
Rails
Hey everyone,
I'm using a Railsbytes script to install bootstrap 5 alpha; https://railsbytes.com/public/templates/VB0s5v.
However, I can't get any of the tooltips and popovers to work. Not sure ...
Jacob Hedengren posted
Is there a way to detect users leaving a page and alerting them
0
Rails
Is there a way to detect users leaving a page and alerting them in rails or would it be better to use jquery?
Thank you!
JP posted