Hatchbox Postgres Problem
4
Rails
Hello,
I have my app running on Hatchbox. I link it with the app hosted on Github so anytime that I push something on my master branch, its deploy automatically. Yesterday I did some modification ...
Solved
How do I initialize google maps place autocomplete stimulus controller in a tailwindcss-stimulus-components modal?
5
Javascript
I'm using Jumpstart Pro, and I set up google maps place autocomplete using this lesson:
Google Maps and Google Places Autocomplete API with Rails, Turbolinks, and Stimulus.js
It works as expected ...
Chris Oliver replied
Solved
List of Ruby Gems by Category on Go Rails
2
Rails
I think I remember seeing somewhere on Go Rails that listed out a bunch of helpful ruby gems by category. It had everything from badges, to cacheing, to styling, all with descriptions and a link ou...
Splohr replied
Solved
Tailwind Checked Radio Buttons = Change Background
1
CSS
I've been able to use Tailwind to change my radio buttons into normal buttons.
changing the background on 'hover' works, same with 'active' (on click) but there's no setting for 'checked'. Has any...
Tim Dowling replied
Solved
ViewComponents and Tailwind CSS JIT
1
CSS
I created a flash view component to display flash messages.
It does work, but the javascript trigger its display does not work as expected. Instead of displaying on the spot, it waits for like 5 s...
Stéphane Paquet replied
Solved
How to import javascript from Gems with webpacker
4
Ruby
Ive come across an issue where some gems I want to use (specifically social-share-button) need to have a javascript file imported but with webpacker in rails 6, not quite sure how to do that now
Uttam replied
Solved
LoadError: Unable to autoload constant Validators::LapseValidator
6
Databases
I wrote a custom validator for a model in my app, but when I try to access that model I get
```
LoadError: Unable to autoload constant Validators::LapseValidator, expected /home/lflores/Projects/c...
Solved
Cannot Reset Devise Password
1
Gems / Libraries
I am currently using devise, pretty much straight out of the box, the only changes i've made is custom views.
The problem I am having is that I cannot reset a user's password. I follow the link ge...
Dylan replied
Solved
Having a problem to Paginate an iteration with Kaminari
2
Rails
I'm trying to paginate a result of an iteration using Kaminari. The pagination is showing well but its not cutting it into another page. All is showing on the same page even when I click on page 2,...
Solved
Secure an Open Rails API skiping the login process for thirdparties...best strategy
0
Rails
Hi there,
I've got a Rails API that I would like to open to third parties. Basically I've got a platform where third parties can access it via API to retrieve a product list with name,category, st...
Eduard Garcia posted
Solved
Root route bypassing before_action
0
Rails
we have a posts_controller which takes a slug to render the correct page.
posts_controller inherits from application_controller which has a couple of before_actions
routes.rb has the following roo...
Solved
Implementing Hotwire
1
Rails
Hello good people.
I was watching DHH's video on hotwire and @Chris video on on this site demonstrating hotwire.
Do we still need stimulus js in case we want to implement that on the group chat ...
Suleiman Nassor replied
Solved
Sendgrid / Mailer Issue
1
General
Hello,
I run a website and I am having issues generating mailer links correctly, when a User signs up they must verify their email address. This all works as expected, mailer sends the email and i...
Red Hendery replied
Solved
Why is github permission denied after adding deploy keys?
1
Rails
I followed every single tutorial, and tried multiple different methods of authenticating my server's access to the github repo. All of it results in the same error, permission denied.
Last few li...
Jamie Crone replied
Solved
Store a hash in a database
2
Databases
I have a calculator that takes yearly pension contributions into a hash. Therefore, everyone has a contribution lined up with a year. I don't want a database of dozens of years as one individuals c...
Solved
Stripe connect issues
4
Rails
I am currently working on integrating stripe connect to my app but it isn't working. I don't get any errors when I run it and it asks me to create an account and redirects back to the website but w...
Fatumata Jalloh replied
Solved
Help parsing a string down to what I need it to be.
2
Ruby
I am working on an API integration and I have to authenticate via one call, take cookie values from the response, and use them in a new call. Using HTTParty I can make all the calls I need to, but ...
RJ McCollam replied
Solved
Rails repeats Webpacker packages if I go backwards (OwlCarousel, DataTables)
2
Rails
Hello there.
I've got a Rails app that repeats packages if I go back to the page that's supposed to render them.
For instance, my OwlCarousel with two images will multiply and have the carousel n...
cratag replied
Solved
DataTables Install via Webpacker
4
General
Anyone get this to work?
Details here:
https://datatables.net/forums/discussion/57642/installation-issues-rails-yarn-webpacker#latest
Greg Blass replied
Solved
Create Customer Url
2
Rails
Hello @chris and fellow members. I am new to rails and I was seeking help on how to create a url like "mydomain.com/5047315/projects/21789643 where is *5047315* the user account number ?
Regards,
...
karatepicke replied
Solved