How do I give Users the option of either selecting from a dropdown menu or inputting their own and adding it DB for other users
3
Rails
I apologize for the newbie question. But, I've been trying to create a special type of association and all my efforts have been failing. I would like to give users the ability to select their home ...
Solved
How do I render a (Stimulus) modal without user interaction?
1
Javascript
When a data value in my view meets certain criteria (e.g.: "< 0"), I want to render a modal (which is configured using Stimulus).
I know this is a noobish question, but I'm not finding obvious ...
Solved
I'm having issues with in-app notifications on my App
1
Rails
Hello! Can someone please enlighten me on how to create notifications (In-app) for this type of routes
I want to display notifications when comments are made on episodes. This worked well when i di...
Solved
How do I use easyautocomplete in rails 6?
7
Rails
I tried adding it with yarn and through rails assets but nothings seems to work.
Solved
Rails Webpack caching
1
Javascript
I'm having an issue in development where I've changed my main application.js file in /javascript/packs/ and the file is being cached so having a hard time testing new changes. Does anyone else have...
Solved
ibm Iseries AS/400 DB2
4
Databases
I'm trying to connect using some of the gems:sequel, dbi, ibm_db, jdbc-as400-adapterWithout success, does anyone have the same problem?
Solved
Routing for Admin area not working
3
Rails
I've got an application that makes use of an admin area for managing Articles on the frontend.
Its a simple CRUD app where pretty much everything Admin related is namespaced and inside admin folder...
Solved
How to start and stop ngrok with Thin server?
3
Servers
I'm using the basic Thin server on my dev machine and I'd like to start and stop ngrok automatically with `rails s` - how do I do that?I found several articles but they all involve more complex set...
Solved
How can I send emails 30 days before the time limit in rails?
3
Rails
I have a system that can send email every time I create a post, but I also need to notify 30 days before the expiration date through email, as you may know, the expiration date is variable and I co...
Solved
How do I make my Stripe Charges more robust [Background Worker & Idempotent]?
7
Rails
One thing I don't want to have to deal with are refunds because a customer happened to get charged twice. I want to ensure that I've designed my Rails app to be robust in the face of failure before...
Solved
local_time gem: Where to place the I18n file to modify the string literals?
3
Rails
EDIT. Finally solved, I pasted the keys from I18n.coffee into application.js like that:LocalTime.config.i18n["es"] = {
date: {
dayNames: [
"Domingo",
"Lunes",
"Mar...
Solved
How do I display related or similar Ads by currency on the Ad show page?
1
Rails
Hi Chris I need your help on this please. I'm trying to display related Ads on the Ad show page by currency. But somehow my script displays the same Ad in multiples of related Ads and n...
Solved
new myapp
0
Rails
Hello!
Help me please!
I enter "rails new myapp", the terminal stops at this:
> "The dependency tzinfo-data (> = 0) will be unused by any of the platforms Bundler is installing for .bunler i...
Solved
[ActiveRecord::RecordInvalid - Validation failed: Blog must exist]
6
Rails
Hi,
trying to sort out this error for a while now, no luck.
I get this error above when adding a new comment for a blogpost. The blog is clearly there. Any insight would be much appreciated.
_...
Solved
How do I save the user_id by adding the mail?
1
Rails
How do I save the user_id by adding the mail?
For the relationship, you have to save the user_id, but to be more dynamic for the user, I want to the users search other users by the email and rails...
Solved
How to send different Plan ID's to Stripe?
1
Rails
I worked through the Subscriptions with Stripe video and got everything working fine, with a single Plan ID.
Now I'm trying to modify it to work with multiple Plan ID's to give my users payment op...
Solved
Rails Full_Calendar Implementation
1
Rails
I'm implementing `full_calendar` for my Rails app. I follow the tutorial which can be found on Youtube, **https://www.youtube.com/watch?v=NiTLuPqvt58**. I've changed some javascript code as below:
...
Solved
Embed Youtube video in Rails app
7
Rails
Hello.
How is possible to embed an existing video an show it in a page with rails?
I followed this guide with yt gem:
https://www.sitepoint.com/youtube-api-version-3-rails/
So now I can post a yo...
Solved