
Using Rails ActiveStorage causes Integrity Error when trying to analyse
1
Rails
I have a lot of files already on Backblaze B2 (S3 compatible) that I wish to use with ActiveStorage. The problem is, the majority of my sites data gets populated and updated by wiping it all out an...
namanh-dot replied

How do i create a QR code lead authentication strategy
0
Rails
Hi all,
please visit the popular challenger bank https://web.tide.co/login/ for an example.
Their auth strategy is to present the user with a QR code that changes every 30 seconds (I'm sure this i...
Dearg OBartuin posted

How to Upload Files Directly To S3 Using Paperclip And Dropzone.js
4
Rails
[How to Upload Files Directly To S3 Using Paperclip And Dropzone.js](https://www.railscarma.com/blog/technical-articles/upload-files-directly-s3-using-paperclip-dropzone-js/)

How can I convert this code to raw SQL and use in rails?
2
Rails
How can I convert this code to raw sql and use in rails? Because When I deploy this code in Heroku, there is a request timeout error. I think this will be faster if I use raw sql.
@payments = Paym...
William Kennedy replied

How do I create a filterer with checkboxs that dynamically search for results?
1
Rails
Hey everyone,
I am attempting to build a checkbox filter with Rails 7.
I would like to render a list of businesses on a page and have a side panel with a bunch of checkboxes. This side panel woul...
jackjohnsonpo replied

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