> How often do you get to say, “Yeah, Ruby is the one that really does this right.”?
http://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/
```ruby
current_use.badges
.where(badges: badge)
.create_with(achieved_on: Time.current)
.create_or_find_by!({})
```
syntax is ridiculous. Including the mandatory `{}`. And it's the only way to create or find a record if it exists with `[:user_id, :badge_id]` unique index on the `user_badges`. The original `find_or_create` that suffers from race conditions is way easier to use.
Adventures like this scare me off completely from using kwargs in Ruby https://github.com/rspec/rspec-rails/pull/2509/files#r678474813
Cryptocurrency mining does produce a value, trust, in the same way as gold mining provides trust (well, provided in the past since $ is not bound to gold now) towards fiat currencies.
We don't need as much gold as we mine, do we?
Gold mining is also quite expensive, and is getting more and more expensive over the years.
Couldn't resist proposing a better AR where query notation https://github.com/rails/rails/pull/39863#issuecomment-660461994
```ruby
posts.where(:id > 9)
```
With a lengthy list of things that I'd like to do on the open source front, I've spent 100 hours playing Witcher 3. Didn't play any game since GTA V came out.
I feel ashamed for such a sort of procrastination, and I have mixed feelings when multiply 100 hours by my hourly rate.
But the game is great, and I feel that it's what I need right now.
How do you spend your time when not feeding the insatiable creative part of your personality?
Also, a fix the problem with an awesome TestProf's `let_it_be` I've spend so much time debugging has been just merged https://test-prof.evilmartians.io/#/let_it_be?id=state-leakage-detection
Happy to share the guide on how to painlessly work with Sidekiq and ActiveJob I've been working on for so long is out.
https://github.com/toptal/active-job-style-guide
Reddit thread: https://www.reddit.com/r/ruby/comments/hswx6b/sidekiqactivejob_style_guide
A bag-todo-ticket https://github.com/toptal/active-job-style-guide/issues/1
Catchy title: Ruby 2.8 is splitting the ecosystem like Python 3 did
RSpec's implicit block cryptic expectation syntax will disappear from RSpec 3.9.0 https://github.com/rspec/rspec-expectations/pull/1125
Also, I've joined the RSpec Core team! 🙌
This talk is brilliant https://vimeo.com/9270320
All about the lack and overlook of fundamental research in different aspects of practical programming.
It touches so many topics that it would hardly fit into a toot limit.
Just watch it.
Mediating style discussions is hard.
https://www.reddit.com/r/ruby/comments/cmiavv/call_for_discussion_rspecs_described_class/
Past discussion was mostly passive
https://www.reddit.com/r/ruby/comments/cejl3q/call_for_discussion_rspec_implicit_block/
but fruitful:
https://github.com/rubocop-hq/rspec-style-guide/pull/103
Fix all the good things #ruby
RSpec Core team, Ruby/Rails style guide editor, RuboCop RSpec Core team, RSpec style guide maintainer, Active Job style guide maintainer.