Ruby on Rails Community Forum

Recurring Select with ice Cube Between Two Dates

0
General
Following along with recurring select/ice cube video, I have everything up and running with Rails 7. The only issue I have is that when someone creates an event they set a start\_date and an end\_d...
spacerobotTR posted

Using Docker with Rails on M1 Mac

2
Rails
I have an M1 Mac and I always get errors for either sprocket-rails or nokogiri. I am using Ruby 3 and Rails 7. Is anyone using Docker with an M1 Mac and Ruby 3/Rails 7 with success? If so, could yo...

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

Custom ActionText Sanitizer & Scrubber in Rails Discussion

0
General

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/)

Madmin: How to handle slugs vs IDs

0
General
I've set up Madmin, and I'm trying to go to the (blog) Article model edit page. Problem is Article's "to_param" is the :slug. Madmin by default looks for model's IDs: How can I tell it to look for...
Jules Maregiano posted

Can anyone recommend an online SQL course that would benefit a Rails dev?

0
General
I'm looking to build on my very limited SQL knowledge and do an online course. A lot of course have an emphasis on certain topics, like data analysis or MySQL, for example. I'm using mostly SQLite ...

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

Where to store images?

1
General
Hello everyone, I'm working on a Rails app that should handle 20K-30K images in the first year, and I was thinking about where to store the images. I thought about local storage, but this will hav...
Ali Hamdi Ali Fadel replied

GoLang vs C++ These two are the leading programming languages

0
General

Using the rails app to send SMS

1
Ruby
Using Ruby on Rails, I am developing a medication reminder system that will be deployed on Heroku. A doctor can enter a patient's medication information, including the medication name, dosage, and...
Jamesacc56 replied

rake aborted! LoadError: cannot load such file... HELP!

0
General
Setting up Ruby on Rails on Windows 11 using subsystem Ubuntu. I am trying to run the command: "rake db:create rails server" and I'm getting this error: rake aborted! LoadError: cannot load such fi...
Ashley Harmon posted

Coffeescript 2 Rails Asset Pipeline

2
Javascript
According to this (https://github.com/rails/ruby-coffee-script) it looks like the coffee-script-source gem would need to get updated to the latest version to use the standard coffee-rails gem that ...

Symbols vs Strings Discussion

15
General
Nice! Some of my upper division CS students struggle with the notion of symbols, and I'll point them this way.

API CRUD Actions Discussion

3
General
Great series. Are you gonna release it as a gem at the end?

Sending Data Between Controllers And Views Discussion

5
General
Thanks.I‘m very interested in this.

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

What is Hotwire Strada?

6
General
Hi, I am not sure what Hotwire Strada will be for? Is it something to be able to do kind of mobile web app with our rails app? Anybody know more details?
Abdullah replied

How to use Test Stubs with Minitest Discussion

0
General
would it be reasonable to have a subset of the testsuite only testing expensive external dependencies (db access, 3rd/party/integrations, etc. and run these on the side, and have stubbed methods be...
Andreas posted

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.