I often hear that the increased hosting costs associated with Ruby on Rails' larger than average footprint is more than offset by the increased dev productivity. It follows that Rails salaries being pretty high at the moment is offset by being able to maintain a smaller, more productive team.
Does anyone know of any case studies where someone's actually done the numbers on that?
It "feels right" to me, but I'd be interested to read other's experiences.
Finally a writeup for the http://rubygems.org vuln, CVE-2022-29176. Such a simple mistake. I feel like the take away lessons are:
1. do not query/trust composite columns. Query individual columns.
2. do not trust arbitrary user Strings.
https://greg.molnar.io/blog/rubygems-cve-2022-29176/
#ruby #infosec
P.S.A: Rails have released a new version fixing some issues added on the last security release.
https://rubyonrails.org/2022/5/9/Rails-7-0-3-6-1-6-6-0-5-and-5-2-8-have-been-released
The new stable versions have been pushed to these
- 7.0.3
- 6.1.6
- 6.0.5
- 5.2.8
These are some of the problems I note in my review:
https://ruby.social/@esparta/108211719637031175
As usual, it's recommended to test thoughtfully on your staging environments before proceeding to deploy to production.
RT @RubyInside@twitter.com
What Do You Think of 'Scoped Gems'? https://github.com/rubygems/rfcs/pull/40
🐦🔗: https://twitter.com/RubyInside/status/1521866493826375682
@robbyrussell I see you lurkin'
Figured this would be a good place to soft launch this. I setup a Discord server specifically for the topic of Ruby & InfoSec. The goal of this server is to help answer questions, educate others, highlight other Ruby InfoSec projects, and counter anti-Ruby FUD with information. If you are interested in both Ruby & InfoSec, or just want to help, consider joining. #ruby #infosec
https://discord.gg/CcqkHnuyUK
Is there ever a good time to define a custom `!` method on an object? Seems like setting up a footgun for people relying on the truthy/falsiness in a boolean expression.
class Thing; def !; true; end; end
my_thing = Thing.new
do_thing if my_thing# executes
do_thing if !my_thing # executes
do_thing unless my_thing # does not execute
If you're curious about what's happening elsewhere in the Fediverse, you can use either the "Explore" or "Federated" timelines:
#️⃣ - https://ruby.social/web/explore
🌐 - https://ruby.social/web/public
The "Federated" one is a bit of a firehose, you've been warned!
I regularly check our "Local" timeline to see what people on this instance are talking about:
https://ruby.social/web/public/local
This is a great way of finding people to follow - because you're on the same instance, chances are you have at least one shared interest
Once again, welcome everyone who's joined this week so far, and special thanks to @halfbyte and @andy_twosticks for contributing on our Patreon (https://www.patreon.com/bePatron?u=13237635) 🎉
Welcome to the new & returning ruby.social users. Hope we can engage better this time.
Please try to follow up other peers, create your #introduction and pin your toot.
Remember this is not a "new twitter" the idea is kind of different. You can check @feditips to get more insights about how the federation works and how to have a better integrated environments.
P.S. there's no edit feature, but you can delete & redraft as I did with this toot.
Renewed the http://rubymanor.org domain for another 9 years, because -- unlike Lanyrd -- cool URLs don't die.
The good folks at Planet Argon are running their Ruby on Rails survey again this year.
If you have a few minutes, share your answers at https://rails-hosting.com
Loving Ruby since 2002. or 2001. I really ought to figure it out.
I’m the admin for this instance - if you have any questions or problems, let me know!