Sorting an array of objects in Ruby by object attribute?

2
General
Hi guys, I have an array of objects in [Ruby on Rails](https://mindmajix.com/ruby-on-rails-training). I want to sort the array by an attribute of the object. Is it possible?

How to use Google Analytics gtag.js with Turbolinks & Webpacker Discussion

3
General
Are you using GA for the public parts of GoRails or are you also using it for the authenticated parts of GoRails too?
raguila8 replied

Debugging & Fixing a Bug in Rails 5.2 Active Storage Discussion

3
General
Great episode Chris! This really makes me want to dive into more source code, I admit that I'm always hesitant to do it
tech solver replied

Geo-spatial Search with Searchkick and ElasticSearch Discussion

7
General
thank you so much, cant wait for the next episode :)
Miyuru Amarasiri replied

How to manage and run Maintenance Tasks for Rails in Production Discussion

2
General
Looks good, can I still use this if I directly use sidekiq for my background jobs rather than activejob?
Jay Killeen replied

Search Filters with ElasticSearch Aggregations Discussion

21
General
This has been very helpful for a project I'm working on. Thank you. On mine, I wanted to add checkboxes to be able to select multiple keys. For anyone else looking to do the same, the solution I ca...
Lucas Moraes replied

Ruby Version Managers Discussion

9
General
Missing chruby in this list, https://github.com/postmode...A really small ruby version manager which does nothing more than manage your ruby versions. Unlike rvm and rbenv it does not come with a r...

Setup MacOS 10.15 Catalina Discussion

15
General
GJ

Confirm not working with rails (version 6.11)

0
General
I have posted question on stack overflow regarding confirmation in rails .Can any one guide me through? Here is the link to that question: https://stackoverflow.com/questions/71825780/confirm-not-w...
imran khan posted

Rails for Beginners Part 26: Table Plus Discussion

5
General
Sequeler for Linux will do the trick as well for SQLite, MySQL and pgSQL Lots of decent options out there.
Alex Wertheim replied

Contributing to Open Source: Sidekiq Web UI Bug Fix Discussion

0
General
Contributing to open-source projects always seems intimidating, so it's nice to see examples that are accessible and straightforward. Thanks for this.

Rails 7 and Vue 3

1
General
Hey all, Trying to follow some of the VueJS tutorials (Trello clone) and I'm wondering if Vue has some special setup steps in Rails 7? I also could follow the tutorial in a lower version of Rails ...
Zakaria Fatahi replied

Any good resources to learn rails with postgresql database?

0
General
I'm new to ruby on rails and need good resources to follow. Currently i'm watching a course in linkedin learning but it's showing lots of errors when executed as they say. The need is urgent as i h...
PUNEETH KUMAR V H posted

Refactoring Javascript with Stimulus Values API & Defaults Discussion

0
General
Amazing!!
Pedro Augusto Ramalho Duarte posted

Custom Route Constraints & Regex in Rails Discussion

0
General

Testing Against Multiple Databases in Rails with The DATABASE_URL Env Var Discussion

0
General

Complete Source Code File Search For A Specific Term WIth It's File Name And Line Number

0
General
Hello. This guy is brand new to Rails and programming. How do I write a script using Github Desktop that searches every file in the source code for a specific word, and have it tell me the file nam...
The Palpatine Lives posted

Select Or Create Field With Selectize.js Discussion

22
General
Awesome! Would love more episodes like this. :)
Rafal Siepak replied

How to Accept incidents using Servicenow rest api

0
General
How to Accept incidents using Servicenow rest table api. I tried to accept incident by modifying state and incident_state field its giving me 200 response code but its not reflecting in servicenow UI.
issacthomas posted

Welp. They just let me go.!!

2
General
I started with a company 7 weeks ago and they just let me go. They had no training material whatsoever. They interviewed me as an engineer. The moment I started, they started treating me like a man...
zeno47 replied

Want to stay up-to-date with Ruby on Rails?

Join 91,035+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.