Back to Creators
RBRyan Bates

Ryan Bates

@rbates
Tech & ProductEnglishMid-Tier (30K–200K)Tracked since 2026-11-26

Ryan Bates produces RailsCasts, screencasts focused on Ruby on Rails.

Producer of RailsCasts - Ruby on Rails Screencasts

Followers
38.1K
Following 478
Typical Views
—
30d · 0 posts
Bookmark %
—
Authority
54/ 100
30d Breakout Hits
0
since 2026-11-26
Reach RatioTypical Views / FollowersBuilding baseline
Peer Median 9% (Mid-Tier (30K–200K))Methodology →

0 / 5 valid mature posts recorded across 30d–90d windows; peer reach comparison unlocks at 5 posts.

0 / 5 valid public posts recorded; typical reach computes at 5 posts.

3-Day Follower Growth

Hover to inspect daily follower changes

3d Change
-7(0.0%)
38.30K38.20K38.10K38.00K11-2611-2811-29

14-Week Posting Cadence

2026-11-29 Sun0 posts

Tracked since 2026-11-26 (0 active days recorded).

14w Posts
0
Active Days
0/4
Active Weeks
0/1
Avg / Week
0.0
Peak Day
0
Peak Day/Wk
—
AugOctNovMonWedFriSun
08-24 → 11-29
LessMore
Followed & Endorsed By10
Follow 10
530KFollow
227KFollow
102KFollow
Peak Outlier—
Top Post Views13.4K
Peak Bookmark %1.5%
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

90% of the Ruby code I’ve written the past few years has been class methods without shared state. The code has clearer dependencies and is easier to read, test and maintain. OOP has its place, but I don’t think it fits the majority of web-app logic.

11.4K29(0.3%)168725
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

Git tip: Enable 3-way diffs for merge conflicts. It shows the original content between the two changes so you have a better understanding of what has changed: git config --global merge.conflictstyle diff3

5.5K75(1.4%)81103
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

Git tip: What if you want to amend an earlier commit? I have this function in my dotfiles.

gfix() { git commit --fixup $1 && git rebase -i --autosquash $1^ }

Stage changes and run `gfix <commit-sha>`. This will open interactive rebase in your editor so you can review.

5.7K42(0.7%)5035
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

Whenever you’re tempted to reuse a method that *almost* does what you want: Stop, duplicate the method, make the modifications, and then refactor the actual duplication.

3.9K5(0.1%)7074
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

I’m convinced Rails engines are almost never the right abstraction for a gem. The view/controller layer is too app-specific. Use generators instead.

12.7K21(0.2%)114811
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

OOP is great for games, simulations and UIs that have independent entities whose behavior largely depends on their internal state. I find processing web requests is clearer with a more procedural style – a list of instructions that need to be performed in sequence.

6.0K14(0.2%)8138
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

Over the past year I’ve been favoring class methods over PORO (plain old Ruby objects) for business logic and love this approach. So much easier to organize, test, reuse and refactor.

13.4K25(0.2%)54014
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

Tip for mac users: Make a shell script of `defaults write` commands to set up macOS the way you like it. Then just run the script when setting up a new system. (see t.co/LN9BSGFViE for possible commands)

3.7K29(0.8%)3010
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

I love how Ruby handles keyword arguments. I miss them in just about every other language.

4.5K3(0.1%)7717
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followersThread · 4

We all have different apps with different requirements. If vanilla Rails is plenty then I think vanilla Rails does too much. t.co/d1ZhCKsTdA

3.4K11(0.3%)4026
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

Ruby’s metaprogramming is like a forbidden fruit. Always there tempting me, and I almost always regret using it.

3.4K4(0.1%)7425
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

What an awesome little game Replicube is. It’s like Picross 3D meets shader programming. The puzzles are a fun challenge and the interface is charming. Thanks @walaber! t.co/KtrCIxlQLp

3.1K5(0.2%)901
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

Git tip: I like to keep a clean git history on my local branch. I often run `gcn!` to amend the staged changes to the previous commit. This is an alias I stole from oh-my-zsh.

alias gcn!='git commit --verbose --no-edit --amend'

2.5K19(0.8%)2400
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

I Googled “capybara drag_to” and the results caught me by surprise.

2.7K0(0.0%)4820
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

I’m tempted to set `travel_to` in every test for constant time and then intentionally testing edge cases such as leap year, daylight savings, odd time zones, etc. Anyone do this?

7.0K12(0.2%)25013
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

Anyone else find GitHub code diffs near impossible to use in Safari lately? Slows to a crawl and/or doesn’t render.

3.2K0(0.0%)21011
View on X
RBRyan Bates
Ryan Bates@rbatesTech & Product38.1K followers

One benefit of giving each major feature its own namespace is you can easily run tests for that feature.

$ rspec spec/**/some_feature

2.6K5(0.2%)3910
View on X