Ruby on Rails Community Forum
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
Refactoring with the Null Object Pattern Discussion
22
General
One thing to watch out for with NullObjects is Relations. Rails recently introduced a Relation#none method which will help in these cases. Imagine a Post has_many Comments, you'd want to create a N...
Sergio Márquez replied
How To Setup Vagrant For Rails Development Discussion
8
General
Nice guide. A few weeks ago I tried following it but ran into a few problems with chef recipes but now it worked =)Only two small problems: 1 - My "bundler" gem was not installed by vagrant, everyt...
Young Jung replied
Advanced Caching with User Permissions and Authorization Discussion
25
General
A great episode again Chris! I wish you had released this one a week earlier though :). It would have made my life way easier. Could you tell me if there is any advantage of using meta tag like &...
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