Offline Functionality

2
Rails
Are there any resources / demos / tutorials etc. that cover offline mode for app? i.e. your app still needs to work where there is no internet and then sync back to the host when you connect. Any...
Dan Tappin replied

Displaying search results from an API

1
Rails
I am working on a small project where users can search through an API (https://github.com/games-directory/api-giantbomb) via a search bar. However, nothing is displaying on my index page with the r...
Charles Barrett replied

Problem with Stimulus and counter_culture gem (counter_cache)

6
Rails
Hy all, i have a problem with the counter_culture gem with my stimulus controller. I have installed the gem and configured all. I have 3 model : Thats working fine for this relation: Category hav...
Undead Corridor replied

How to read EDI (electronic data interchange) Format in rails

2
Rails
Hi Chris, Please help me, How to read edi format in rails. I am trying to do to googling for that solution but I didn't get any best solution If you have any idea about that, How to read and write...

When pre/eager loading an association, is there any way to get the associated data from a cache?

3
Rails
``` class Category < ActiveRecord::Base # columns: name has_many :books end class Book < ActiveRecord::Base # columns: title, category_id belongs_to :category end ``` Given the abov...
xiwog82932 replied

LearnHotwire Course - stuck with Could not find table 'solid_queue_processes'

3
Rails
Hi all, I bought the Learn Hotwire course and stuck at the Rails Application Introduction (3rd video). When I ran "rails s" at 1.29 minute of the video, I got this error 'ActiveRecord::Connectio...

development env: is the asset pipeline expected to compile all assets or just those in demand?

2
Rails
I'm trying to understand if, in development, the asset pipeline is supposed to compile ALL assets found in manifest.js or just the ones that are requested. I've been doing some testing and have fo...

How do I install a Bootstrap 5 theme with Rails 7

7
Rails
Hello, I have trouble using a Bootstrap 5 theme (like those we can find on themes.getbootstrap.com, for instance) with a Rails 7 application I'm building. I'm not sure which is the best way to inte...

How to limit comment nesting with Hotwire and Turbo?

7
Rails
I asked this question in the discussion on the tutorial itself, but there doesn’t seem to be any activity there. I went through the nested comments series, and the last three videos focused on real...
suri1205 replied
Solved

Recommended UI component sets?

1
Rails
Our Rails codebase has been going strong for over 10 years now, but we're looking to upgrade the UI of our admin pages. These are all served as HTML snippets as always advocated by the Rails team (...
James Smith replied

Use select_tag to link to customer show page

14
Rails
I'm converting a MS access databse to Rails. The database has a customer table of over 5,000 customers. I have imprted the customer table from the Acces db into the Rails postgres db. I can use th...
Audrey Square replied

Rails associations

3
Rails
I'm create a Ruby on Rails web application. I have 4 models, which are User, Job, Candidate, ApplyingJob. User is the one who will be using the web application and the user can create Job and Candi...
Unknown User replied

JavaScript not working for Bootstrap 5 on Rails 7

5
Rails
Hello, I have started learning Ruby on Rails recently. I came across your site when trying to figure out issue I am having when installing Bootstrap 5 with Rails 7. The bootstrap framework is insta...
Malinda Schmeler replied

Fatal - not a git repository on server (deployed with Capistrano)

1
Rails
Some time recently, my app started throwing `fatal: not a git repository (or any of the parent directories): .git` on the server. It shows up if I ever remote in and run a bundle exec command (e.g....
attractive colt replied

rendering issue

2
Rails
OK, so I fairly new at rails, but i'm at the point where i feel confidence enough to start making my own side project which i decide would be a clone of facebook in rails. first i'm working on is g...
Solved

How to implement e-wallet system in rails?

3
Rails
I will be working on a booking system where user can pay booking with wallet credits. User can load credits via paypal payment. Is there any existing gem or project doing this? Any pointers would b...
techanicinfotech replied

Rails7 Rest API authentication

1
Rails
Good day Devs, I'd like to inquire about the most secure and effective method for integrating #API authentication in #Rails. Specifically, I'm comparing the options of using devise and devise-api...
Marianyatt replied

installation of rails in ubuntu 18.04 at windows 11

3
Rails
$ asdf install ruby 3.0.0 To follow progress, use 'tail -f /tmp/ruby-build.20230709161531.2745.log' or pass --verbose Downloading ruby-3.0.0.tar.gz... Installing ruby-3.0.0... BUILD FAILED (Ubuntu ...
teroco replied

Devise

9
Rails
I watched the Gorails Rails Password Reset 2 part video for password reset. My question is my devise setup only create encrypted_password, and reset_password_token, not password or token columns. C...
paxtonleiny replied

[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