am trying to delete a comment
0
Rails
am trying to delete a comment but when i click delete am getting a routing error and also when submitting the comment i get the data which is suppose to save on database i got it on screen
jemimah chepyego posted
Featured articles
1
Rails
Morning everyone. I'm currently working on a project with articles about cryptocurrency. Iḿ a beginner rails dev and I need your help to set a button in every article in the dashboard to set it as ...
homerunthat replied
the deleting user is blocked if they have subscribed to forum
1
Rails
We have used the simple_discussion gem in our rails application but the error is caused when the user is destroyed.
```
PG::ForeignKeyViolation: ERROR: update or delete on table "users" violates fo...
How to insert QRCode into PDF using receipts gem?
1
Rails
Hi!
I'm using receipts gem to generate pdf. Also I want to insert QRcode for the payment (for example into footer section).
Tell me please, is there any examples of doing so?
I want QRcode to consi...
czepesch replied
Solved
Docker rails assets:precompile
2
Rails
Hello I'm learning docker and faced this error while testing it locally
```
banstein@DESKTOP-I54N512:~/Projects/icb$ docker-compose build
[+] Building 4.2s (12/12) FINISHED ...
Islam Bahnas replied
Facing a problem in setting up the web server in Rails.
1
Rails
I am doing an advanced Ruby on Rails Course and even I have completed many lessons in it. Now I am creating my first web application but facing a problem in setting up the web server.
This is t...
Priya Sharma replied
Why is sidekiq not working properly in development?
3
Rails
I have some sidekiq workers and they work great in production but in development I'm getting errors like
NameError: uninitialized constant TicketAssignedWorker..
sidekiq.yml
---
:concurrency: 6
:...
How do I sync ActiveStorage files between development (local) and production (Amazon S3)?
0
Rails
I have a Rails 6 app on Heroku with a Postgresql database and ActiveStorage on Amazon S3.
Sometimes I need to sync my local db with production data to make debug easier. And it works great. I want...
Handling multiple Account types
4
Rails
Hello Guys,
I'm doing some research on how to handle multiple account types. In our app, we will have two types of accounts. **Parents** and **Schools**. These accounts will never change types, fo...
How do I search Action Text with Ransack?
9
Rails
I have set up a basic search using Ransack but I don't understand how to get it to search Action Text. This is how it is implimented in the search_form_for:
f.search_field :title_or_rcontent_or_c...
Jay Killeen replied
Solved
Rails view_components
16
Rails
Are there any plans on covering view_components? It would be great to see a few episodes on using view_components + tailwind / bootstrap + stimulus & stimulus reflex.
Maybe the twitter example...
William Cunningham replied
How do I deploy a rails only api on render ?
0
Rails
I was trying to deploy my rails only application on render but still getting error : couldn't find expected key "-", in my render.yaml file. Please anyone for help ?
Here is my render.yaml file
d...
Yannick posted
Change password of users in Madmin rails 7 + Devise
0
Rails
Hi!
I need to create users, and change password of users in madmin. But if I change the password I got this error
raise Errors::InvalidHash.new("invalid hash")
I understand the problem is the passw...
Jose Ignacio Jerez posted
Why the automated deployment from GitHub to DigitalOcean, will change the image urls in my RubyOnRails app?
0
Rails
I have Ruby On Rails (version 6) app deployed in DigitalOcean, I am using ActionText for the images, the images are stored in DOSpaces.
I display them in the following way in file _blob.html.erb &...
Render concurrent request data as it becomes available with Turbo Streams
1
Rails
Hi! I'm building a Rails app where users can check if a given username is available on multiple platforms. I have a form where users can enter a username, and then the app makes concurrent requests...
Una replied
Weighing scale connection
4
Rails
Is there a way of connecting a weighing scale to rails application and get the weight readings.
alexburcea replied
Installing Tailwind with Rails 7
10
Rails
I ran the config for Tailwind with CSSBundling Rails using ruby 3.0.3 and rails 7.0.0:
rails new hg -j esbuild --css tailwind --database=postgresql
Everything worked fantastic trying any of the htm...
Thomas Alford replied
Can a Rails app be converted into a Progressive Web App?
9
Rails
I was looking for a way to create a mobile client for my Rails App / API.
I came upon PWAs but I couldn't find any info on how to use it for Rails.
Is it possible?
Reece Jones replied
Rails 7.0.0rc1
3
Rails
Been playing around with Rails 7 aphla2 and yesterday they released an RC version. In my Rails 7 test app, which was previously running alpha2, ran ```bundle update``` it updated everything to the ...
Solved
Installation
1
Rails
Hi Chris, could you change hardcore installation nodejs in guides https://gorails.com/setup/ubuntu/18.04 to through https://github.com/nodenv/nodenv. Also I've found some script https://gist.github...