python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Sort Records according to associated data column
I'm feeling really dump that how could I sort records according to associated data column
I'm fetching records in my controller like
@collection = @collection.includes(:countries).page(params[:page])...
Humayun Naseer
Votes: 0
Answers: 2
rails server won't run?
I've installed Ruby and Rails, and for the most part it's installed. However, when I try to create an app to see if all the installations work, the rails server won't run. It goes something like this:...
Claresta Octavia
Votes: 0
Answers: 0
I need a suitable function from mailer
I can send a comment to the author of the post with this function.How can I make a function that will send comments to posts for the last hour to the authors of these posts?
I am new to this business
...
Первушин Евгений
Votes: 0
Answers: 1
Warnings when upgrading application from Rails 5 to Rails 7
with a recent upgrade to rails 7.0.2 from rails 5.2, when ever i start a rails console or a rails server on dev mode i see these warnings
/Users/opensource/.rvm/gems/ruby-2.7.4/gems/digest-3.1.0/lib/d...
opensource-developer
Votes: 0
Answers: 2