Top Tweets for #ACTIVESUPPORT
@x__1980 @ShiraziViews @Roeed_KSA @karim2361 @TarekMo20862 @MoradAlbohiry4 @wahdawi_22_1990 @7OOOOJ @Kk_505_gh @AhmeedOmar43845 @lhnwf15534 @Saleh_talleb @DimaBsharn @AbdoazeezHaj @abohshamalhgag7 @amnoof21 @abohshamalhgag1 @mmdf415022 @xlg2ol @LU7UR @_dewak @ala_mir11 @TAKEOVA300
#GAMEDAYCONNECTS ๐
#ACTIVESUPPORTIN ๐ซ
#DROPACTIVEHANDLES ๐
@x__1980 @Roeed_KSA @myintoo080495 @bent_ksa5 @Alsadi39 @T9090z @mnyr4_1 @G_haliaN @qjjqjiqjq @bwmm61639594 @sna_ny4 @g19_ja @3224rosy @800Ux @assd3063 @hta70n @SAlbhyry99319 @ufw08 @orczt @mr_a_m0 @alkhlyfy880122 @mi1103i @noureddine1824 @30Ui30 @jwry96484821 @TAKEOVA300
#ACTIVESUPPORTHERE ๐๏ธ
#TAPINWITSUPPORT ๐ซ
@x__1980 @Roeed_KSA @marwan20_30 @fe5PQMYVv0Jrlqn @b_o_o15 @muo11o @AbuAlahmdy @aboabdurh @mhmmed7333 @Dghsanmn @__Abdulmoeen @mr_a_m0 @AladrysyMjd @Arya07__ @i49lw @abdo_foush @shop_821 @SAlbhyry14923 @kld16128023565 @zal_alh @alkhlyfy43124 @fouadalburaihy2 @TAKEOVA300
#ACTIVESUPPORTHERE ๐๏ธ
#TAPINWITSUPPORT ๐ซ
@x__1980 @Roeed_KSA @khlajo_01773 @30mq30 @esmail_500 @Abd772949 @home88127 @abohshamalhgag1 @amnoof21 @Naji_alt @Ja_G19 @ahmadalmuaiety @ateq520966 @alh__2030 @axFMGPP5vI27Srb @tm_o20 @AyhbTwf @sari5g @AljnwbSqr54642 @t__ow7 @lain3_5 @fnsht03 @cnplud @5w9keu @TAKEOVA300
#ACTIVESUPPORTHERE ๐๏ธ
#TAPINWITSUPPORT ๐ซ
@x__1980 @Roeed_KSA @myintoo080495 @zjjz4hr @mmdf415022 @DuaisSawsa25022 @7OOOOJ @ME4KUWAIT @tuwuq_27 @aljarih_al34737 @azyzy55 @fouad666al @t__ow7 @kuooruhy @slmony131 @YasminTariz8 @abohshamalhgag1 @amnoof21 @karim2361 @N33NN33 @mhmoudalmo0yv8 @HLaghbry55458 @TAKEOVA300
#ACTIVESUPPORTHERE ๐๏ธ
#TAPINWITSUPPORT ๐ซ
@x__1980 @Roeed_KSA @jmnh436881 @dlal_1999 @AsamhTrnd61887 @jabr_asamh35897 @mlak_30k @N190J @shm50_5 @dlal_50k @mot_rfh1 @moom_1k @cont_roll @abohshamalhgag7 @SalehMo64214676 @sadal27 @Slaaamhaldng @rdjo97 @fnn1352131 @wmahjhhdf @3uxksy @h0dfp2 @Lovewisb @TAKEOVA300
#ACTIVESUPPORTHERE ๐๏ธ
#TAPINWITSUPPORT ๐ซ
@x__1980 @Roeed_KSA @bent_ksa5 @Flah_Radhi @Dghsanmn @lqyr110918 @ShS119181 @7OOOOJ @rak_9990 @pizo2 @SamirMoham26591 @av07NMluahCIAuE @Duroub_02 @ShayMhmd27796 @lak9ni @__Abdulmoeen @3uxksy @S2AZ6 @orczt @bdalqadr41525 @fouadalburaihy2 @wmahjhhdf @Aboghith2024 @TAKEOVA300
#ACTIVESUPPORTHERE ๐๏ธ
#TAPINWITSUPPORT ๐ซ
@x__1980 @Roeed_KSA @AlkwytMrym92074 @abwbdal44647548 @abohshamalhgag7 @mrk0222 @BLACKLOVER_1Man @Hajaji257716 @a550956 @lkjhgfdsa8810 @alh__2030 @bi1k2 @gler673933 @0_lo80 @slwy776934 @AlsmdyBdal60193 @rl25z1 @midohosam2002 @WesabiAl94058 @hhyc3p @__Abdulmoeen @TAKEOVA300
#ACTIVESUPPORTHERE ๐๏ธ
#TAPINWITSUPPORT ๐ซ
Did you know you can build a complete configuration pattern with ActiveSupport::Configurable? ๐คฉ
Pair it with the configure macro to define clean, elegant default values.
#rubyonrails

I've been posting a reason to love Ruby every day during 2026. I recently started covering ActiveSupport methods as well. Feel free to follow along and check out the archive for previous posts! โค๏ธ
Reason #101 to love Ruby - Enumerable#group_by
https://t.co/GFPfqQH7oz
I created a slug generator
module SlugGenerator
SLUG_DEFAULT = 5
CROCKFORD_53 = '0123456789ABCDEFGHJKMNPQRSTVWXYZ'.freeze
MAX_ATTEMPTS = 100
def self.gen_slug(size: SLUG_DEFAULT, alphabet: CROCKFORD_53)
loop do
str = SecureRandom.alphanumeric(size, chars: alphabet.chars)
return str if str[0].match?(/[A-Za-z]/)
end
end
end
# In your model as a concern or module
module HasUniqueSlug
extend ActiveSupport::Concern
class_methods do
def unique_slug(key, size: 5)
SlugGenerator::MAX_ATTEMPTS.times do
slug = SlugGenerator.gen_slug(size: size)
return slug unless exists?(key => slug)
end
raise "Failed to generate unique slug after #{SlugGenerator::MAX_ATTEMPTS} attempts"
end
end
end
@jkostolansky Thereโs probably a lot more ActiveSupport magic that only DHH ever uses ๐
for SQLite i have
```
MAX_DB_STRING = 10_000
DB_SAFE_STRING = ->(str) do
str = https://t.co/WpF31ckRjl_s
str = str[0, MAX_DB_STRING] if str.length > MAX_DB_STRING
str.encode("UTF-8", invalid: :replace, undef: :replace, replace: "")
.delete("\u0000")
end
module DbSafeAttributes
extend ActiveSupport::Concern
included do
before_validation :scrub_db_unsafe_strings
end
private
def scrub_db_unsafe_strings
self.attributes.each do |name, value|
next unless https://t.co/37G1JduWsE_a?(String)
self[name] = DB_SAFE_STRING.call(value)
end
end
end
```
That should be fixed at the adapter or driver level...
I do it for juniors, they will think those gems have substance, lose time trying to setup it, give up, hate ruby... because they saw 40 likes or upvote... (they can't be wrong, if nobody raised).
That how you have devs that don't trust the community and keep rebuilding activesupport locally.
๐จ Rails 8 Breaking Change
`stringify_keys` now stringifies all keys, not just symbols! ๐ฎ
This could break things silently if youโre not careful.
#rubyonrails #activesupport

@specialCaseDev It's a neat method, but it is an ActiveSupport method, from Rails, and not strictly a standard Ruby method.
@gkunwar1 You missed the World.
ActiveSupport is very sick. Was renamed to LifeSupport.
Did you know you can implement a complete Configuration pattern with `ActiveSupport::Configurable`? ๐คฉ
We also use the `configure` macro to set default values elegantly.
#rubyonrails

@soutaro โก Solargraph 0.57.0 boosts performance:
โ Faster completion
โ Expanded RBS support
โ Better ActiveSupport::Concern handling
https://t.co/kVA3OJihFK
Create a powerful Reset-to-Default pattern using:
โก๏ธ ActiveSupport::Concern
โก๏ธ ActiveRecord::ModelSchema.column_defaults
โก๏ธ and the lesser-known `attribute_method_affix`
#rubyonrails

Rails ships with `Rails.backtrace_cleaner` (powered by ActiveSupport::BacktraceCleaner).
Use it in an initializer to hide gem noise and shorten paths. ๐
#rubyonrails

Every day, I learn something new. Today, I found that Rails on OSX in development mode slows down. Using the gem `listen` and setting `config.file_watcher = ActiveSupport::EventedFileUpdateChecker` makes Rails fast again.
Don't you wish you could pass session data from controller to model? Use `ActiveSupport::CurrentAttributes` to store request-scoped state without passing data through multiple layers.
Here's an example using Devise to check for admin impersonation:
```ruby
class Current < ActiveSupport::CurrentAttributes
attribute :admin_impersonation
end
# In ApplicationController
def set_admin_impersonation
Current.admin_impersonation = session[:admin_impersonation].present?
end
# In User model
def active_for_authentication?
super if Current.admin_impersonation
super && invitation_accepted?
end
```
https://t.co/yTCqIsoobF
All kinds of fun to be had with ActiveSupport::Notifications in Rails

Did you know Rails has a `halted_callback_hook` that runs every time a `before_*` callback is halted? ๐คฉ
Perfect for logging or debugging!
#rubyonrails #activesupport

Last Seen Hashtags on Sotwe
sama bule
Seen from United States
anxiouspandaaaa
Seen from Netherlands
taksimgay
Seen from Turkey
เธเธฒเธขเธซเธเธดเธ
Seen from Thailand
เธซเธฅเธธเธเธเธฑเธเนเธฃเธตเธขเธ
Seen from Thailand
brosis(((())))
Seen from Argentina
brosis
Seen from United States
publicplay
Seen from Turkey
madreehijo
Seen from Spain
mardinescort
Seen from Turkey
Most Popular Users

Elon Musk 
@elonmusk
239.6M followers

Barack Obama 
@barackobama
118.6M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.7M followers

X 
@x
60.6M followers











