python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Rails Terminal tasks hang on use, while equivalent rake task works?
Recently started a Rails project being built for school (note I'm relatively new to Rails): Rails 6.1.4.4, Ruby 2.7.5, generated with the new Rails app command. You can find it here: https://github.co...

horaciovelvetine
Votes: 0
Answers: 0
Query deeply nested relations in rails
We have a lot of through relations in a model. Rails correctly joins the relations, however I am struggling in figuring out how to apply a where search to the joined table using active record.
For ins...
Anders
Votes: 0
Answers: 1
Using layout with content_for/yield when rendering collection partial
I'm trying to reuse a card layout throughout my app for various collections. I was hoping I could do this with content_for and yield, as described in the rendering guide, and my exact use case is desc...
BEEK
Votes: 0
Answers: 0
Ransack:Error - I'm trying to render nav bar with ransack search bar on every page but getting errors when I click on show, new page
I'm new to ruby on rails and I'm trying to build reddit clone. I'm trying to render nav bar with ransack search bar on every page and it works fine for the index page; but I'm getting errors when I cl...
Kristina Dzelebdzic
Votes: 0
Answers: 1