I am running into some strange error when I upgraded my app to rails version 6 and pushed to heroku that is connected to Amazon RDS.
Seungyong Lim posted
MySQL 8 and Rails 7 JSON fields
Rails 7 and MySQL 8 support JSON fields. Migrations support them. I have been using a combination of raw MySQL and other techniques to extract data. What's the proper ActiveRecord way of searching...Joseph posted
No value provided for option '--orm' Error
I have the same problem as youHaibara Eilish replied
Create a filterable location based database with Google Maps API?
How to Efficiently Search for 1milion+ Users in Postgresql and Rails?
I have a user model and around 1milion user records in my database and I'm using ILIKE to match the users by name or email. Sometimes it's very slow since I have a lot of records in my DB so I'm lo...Denis Omerovic posted
Favorite database clients that will also work on M1 Macbook Pro?
I'm mostly interested for MySQL and PostgreSQL. Do you know of some good ones, maybe not too expensive and compatible with the new mac?Gabriela Jack posted
Jumpstart Database Credentials
What is the username and password for the Postgresql database?Haig Douglas posted
Improve multilayer nested loops
I have built a drilldown type screen in an application I am working on and the way I set it up initially is super inefficient and causes really slow load times. The over all concept is we are displ...RJ McCollam posted
How do I pass my wizard form data to my search index page as filters/parameters?
I cannot for the life of me figure this out. I'm using the Algolia search API along with the Algolia gem, but I didn't set it up in the app I'm working on. The Algolia search is attached to my Proj...Liam posted
LoadError: Unable to autoload constant Validators::LapseValidator
Fernando Flores replied • Solved
How to add a prod database to a local project
I have a rails app. And of course, the development database is different from the prod database but the code is the same. So now I downloaded the prod database and I want to add it to the developme...Houssein abil posted
Use Redis as a way to update a model along a process
Thanks Chris! Your comment just confirmed my thoughts :-) yes was rather complex to deal with the serialized params stored in Redis. I could though do what you said of just storing just product id ...Eduard Garcia replied • Solved
Bundler::GemRequireError and Gem Load Error is: AddDllDirectory failed when switching from Sqlite3 to Postgres on Rails 6
I have a project in rails which worked with SQLITE3. I have to move out to POSTGRES, because Heroku needs to. **Following the docs: https://devcenter.heroku.com/articles/sqlite3#running-rails-on-p...cratag posted
Database structure advice
Hey Amanda! That is a fun challenge to solve. I wouldn't add that many columns to the table as that would get real tricky to manage. I like the idea of doing a new table, that could work well. T...Chris Oliver replied • Solved
get data from once working db
You can run `rails db:migrate` to run all the migrations in the `db/migrate` folder. That will make sure all your database tables are created. It won't restore any data, just the tables and columns...Chris Oliver replied
Where do I put a custom validator for a model?
Generally, the concerns folder is for modules so it might get confusing in there but it should work. You could also probably use `app/models/validators/my_validator` and `include Validators::MyVal...Chris Oliver replied • Solved