Greg Molnar's Avatar

Greg Molnar

@greg.molnar.io

I post on Twitter only. Find me at https://x.com/gregmolnar

122 Followers  |  161 Following  |  17 Posts  |  Joined: 20.11.2024  |  1.6133

Latest posts by greg.molnar.io on Bluesky

Preview
Safeguard against DoS in Rails helper One recent contribution to the Rails codebase caught my attention. It concerns the distance_of_time_in_words method. The fix is meant to prevent a possible Denial of Service while using this method.

distance_of_time_in_words was recently changed in Rails to prevent a DoS scenarion and
Darius wrote a little blogpost explaining the change:

organicdarius.com/blog/safegua...

He is looking for work btw, if you have an opening, reach out to him.

23.06.2025 16:31 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

PHP is more widely used for sure, but Ruby and Rails is well represented in Europe as well. And on all continents to be fair.

08.05.2025 10:58 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

One of the reasons I gave up on the Mac was the challenge to remove the backplate to clean the dust. It is much simpler on the Framework and I clean it about once a month.

14.04.2025 08:59 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Interesting take. I've heard 2 and an endless number before. What would your four be?

14.04.2025 08:57 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Image with the following text: 
"πŸš€ Launches

Marco Roth launched Ruby Events a mobile platform for Ruby events. The app is already available to download on App Store β†’ RubyEvens App.
Chris Oliver announced a $50 discount for Early Access to the LearnHotwire.com
Jeremy Evans announced a 30% discount on his book from Packt Publishing until April 30th, using the code 30RUBY at checkout
πŸ“… Events:

African Ruby Community African Ruby Community announced that the Call for Papers for RubyConf Africa 2025 is now open
Remember that this week two CFPs will close - Rails World and EuRuKo"

Image with the following text: "πŸš€ Launches Marco Roth launched Ruby Events a mobile platform for Ruby events. The app is already available to download on App Store β†’ RubyEvens App. Chris Oliver announced a $50 discount for Early Access to the LearnHotwire.com Jeremy Evans announced a 30% discount on his book from Packt Publishing until April 30th, using the code 30RUBY at checkout πŸ“… Events: African Ruby Community African Ruby Community announced that the Call for Papers for RubyConf Africa 2025 is now open Remember that this week two CFPs will close - Rails World and EuRuKo"

The 130th edition of @shortruby.com is out!

Discover what's new

@marcoroth.dev launched RubyEvents

@excid3.com anounced a discount for LearnHotwire

@Jeremy Evans announced a discount for Polished Ruby

@African Ruby Community launched CFP

@euruko.bsky.social and @Rails World CFP closing soon

07.04.2025 08:44 β€” πŸ‘ 17    πŸ” 6    πŸ’¬ 1    πŸ“Œ 0

The day trip is included in the ticket. If you would like to get, reply to this tweet, or DM me and I will do a raffle next week to pick the winner!

07.04.2025 14:51 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

FINAL CALL: I want to give away a FriendlyRb ticket. With these conditions:-you have never been to any Ruby conferences before-you will write a short blogpost about your experience and if they shoot video testimonials like last year, you will be willing to share how your first Ruby conference went.

07.04.2025 14:51 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

And if they shoot video testimonials like last year, you will be willing to share how your first Ruby conference went.
The give-away ticket also includes the day trip on the third day.
If you would like it, reply to this tweet, or DM me and I will do a raffle beginning of April to pick a winner.

06.03.2025 10:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I just bought my ticket, see you in Bucharest!
I also want to give away a ticket to someone that has never been to any Ruby conferences before to have a first experience. There is another condition, you will write a short blogpost about your experience.

06.03.2025 10:18 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

I don't tinker with my vim config other than once in a while adding something new to my toolset. I also use the arrow keys and the touchpad. With that setup, vim is what makes me the most productive.

18.02.2025 14:08 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Neither. But that's a tiny percentage of humans. These modern transgenders are 4 out of 3 kids in the same family.

24.11.2024 20:23 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

There is no such a thing as a social construct for this. As I said, you feel the way you want, you can imagine whatever you want, you can fuck whoever you want(given they want it too), but don't force others to play along with your fantasies.

24.11.2024 19:41 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

If it would be, they would proudly display it :)

20.11.2024 18:03 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

This is not science. If you were born with a dick, you are a man(well you still need to grow into a proper man, but you get what I mean). If you born with a vagina, you are a woman.

20.11.2024 17:20 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

There is man and there is woman. There are also feminine man and masculine woman.
Thanks for attending my TED talk!

20.11.2024 17:19 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I don't want to get dumber, no need for more education ;)

20.11.2024 17:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
rails/railties/lib/rails/rack/silence_request.rb at main Β· rails/rails Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.

Rails 8 comes with a SilenceRequest Rack middleware. It is pretty useful when you want to exclude healthchecks from your logs. If you are on an older version of Rails, you can just put this into an initializer and enable it with 'config.silence_healthcheck_path = "/up"'

github.com/rails/rails/...

20.11.2024 15:38 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

You can feel however you want, you can dress however you want, but at the end of the day, there are two genders and you were born to be one of them.

20.11.2024 15:29 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 7    πŸ“Œ 0

@greg.molnar.io is following 18 prominent accounts