
Meilisearch api_key invalid issue.
0
Rails
Hi everbody.
I think nobody faced that issue cause they integrated meilisearch to their app on production successfully. But me...
I have put master key on production(on hatchbox env area and ubuntu...
Mihraç Cerrahoğlu posted

Missing partial error but lookup_context find it.
0
Rails
Hi everyone,
I'm get missing partial error even lookup_context find it.
my partial is in `view/unicorns` and partials name is `_unicorn_card.html.erb`
here is my controller code:
```ruby
res...
Louis-Frédéric Schefer posted
Solved

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

Paypal & Stripe
12
Rails
Hi Chris - I just finished your Stripe course, which works great, but my client also wants the PayPal option. I am just wondering if you could share some insight on how you did it on your site?
Al...
lordelaula 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...

ActiveAdmin & Autocomplete
0
Rails
Has anyone had, and hopefully fixed, the jquery(?) conflict between activeadmin and autocomplete ( I was using easyAutocomplete ).
Soon as I have both in a project it breaks with not a function is...

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