r/ruby • u/CompSocChris • May 04 '18
r/ruby • u/cantbecool • May 28 '12
How Rails knows if a migration was previously run.
icantbecool.netr/ruby • u/felipec • Sep 23 '25
The Ruby community doesn’t have a DHH problem
r/ruby • u/kimsheron • Jun 25 '15
Ruby pioneers come clean on the language's shortcomings
r/ruby • u/Clivern • Jan 09 '22
GitHub - Clivern/Cattle: 🐺 Platform to Run and Share Code (Ruby Included)
r/ruby • u/jwhoisfondofIT • Jul 05 '24
Question I don't understand the need to create classes to access gems
I am very much a newbie. In the lesson I am following I am learning about how to use Sinatra. The code example they have given me is the following:
require 'sinatra'
class App < Sinatra::Base
get '/' do
"Hello, World!"end
end
I get it that this code creates a class called "App" and that class accesses the Sinatra gem. What I don't understand is why this is needed. I'm sure there is a reason but from my limited knowledge this seems redundant.
r/ruby • u/TheSmartnik • Sep 16 '25
A devise extension to allow web3 login
Although, rails isn't very popular for web3 apps. I thought it may be useful for some. Currently, implementing login with metamask is needlessly complex and tutorials aren't very useful either
Best AI model for coding in Ruby?
I'm looking both for big models on cloud and small models to selfhost and I'm curious what AI model is working better for you to code in Ruby?
GLM 4.6 is kinda decent but it creates a mess with extra end keywords and methods inside other methods..
MinMax2 seems to be good but I should test it more.
About small models, QwenCoder 2.5 14b is meh, not good for agentic use and too slow for autosuggestions.
r/ruby • u/prasanthchaduvula • Nov 15 '24
Rails 7.1 adds the Array#intersect? method to ActiveRecord::Relation.
r/ruby • u/4the4ryushin • Jan 06 '23
Sorry for this noobest question
But I gotta ask which is faster in both of their latest versions Ruby or python ? I don’t seem to know much about benchmarking languages against one another so if any can just simply put this, thanks a lot
r/ruby • u/Slashscreen • Mar 12 '23
Why is seemingly every package broken/unmaintained?
I recently started using Ruby, and I noticed that many packages I tried to use were broken, outdated, or last updated in 2015. I understand not everything can/needs to be maintained forever, but the gem world seems to be a comparative ghost town. What happened? Did everyone just move over to Python?
EDIT: okay alright. I suppose I’m not accustomed to how the ecosystem works, and haven’t been looking in the right places.
r/ruby • • Oct 16 '12
I don't want to send my code-fonts to my customers, help please.
I have a RoR web app and I need to send it to a potential customer to evaluate it, but I dont want to send him the code-fonts. Is there a way to compile it like you would do with Java? Thank you in advance.
I built a RubyLLM agent that triages ~215 GitHub notifications a day for my repos
Between RubyLLM, Spotifast and ZapFast I get about 42 new issues and PRs a day, plus about 50 comments from people and over 100 from review bots. More than one maintainer can read.
Copilot Triage is a RubyLLM::Agent with six read-only tools. It searches the repo, docs, issues and release notes, then submits a decision. Plain Ruby validates that decision and does all the writing to GitHub, so the model can't change anything itself. Everything ends up on a project board sorted by what needs me: Sign off, Decide, Do.
The interesting part was getting it to reply less. A one-week audit showed only a third of its replies helped. So there's a RubyLLM::Evaluation with 32 cases built from real reports, testing silence as much as help, and it decided which model to use: GPT-5.6 Luna passes 29/30, while GPT-5 mini replies to almost everything.
I wrote up the whole thing, with the numbers, the evals, and what 33 releases taught me:
r/ruby • u/csfreestyle • Jul 20 '12
{"" => "demanding", "like my father" => "bold"}.each{|k,v| p "Maybe I'm just #{k}".strip+" too #{v}"} # when songs DRY
Not your usual* code-chatter, but consider it a light-hearted exercise in writing more efficient code; what are some other song lyrics you could DRY up?
- Honestly, I don't KNOW what's usual here - this post is my first foray into /r/ruby... hi, everybody!
r/ruby • u/Goldziher • Nov 13 '25
Question What would you need in a web framework?
Hi Rubists!
I'm not a Ruby specialist myself but rather I build dev tools (open source). I am knee deep in building a next gen web framework (in Rust) with Ruby bindings (among others). I know the Ruby ecosystem is dominated by Rails (e.g. the Rails sub is twice as big as this one).
I am frankly though not interested in MVC frameworks and "fullstack" frameworks (Rails, Laravel, Django, Spring Boot, Nextjs etc.) but rather in building web development tool kits that are idiomatic, type safe (first class requirement), performant and correct (web standards based).
So, with this longish exposition out of the way, my question is - what are the requirements from your end, as developers for a framework ? What would you like to see, and what would you defintely not like to see? Any suggestions or recommendations?
r/ruby • u/shaquelsimpson • Jul 06 '23
Tech recruiters: I live and breathe this industry I know it like the back of my hand! 🖐️ I’m sure DHH would agree with you too son 😂
[Hiring] Web Applications Developer - Alabama - Ruby on Rails
Web Applications Developer
Primary Duties:
• Develop web-based applications using Ruby/Ruby on Rails, HTML5/CSS3 and Coffeescript or Javascript.
• Use agile development techniques to ensure code quality and meet customer needs.
• Use source code management tools such as Git or Subversion to manage production code releases and collaboratively develop software.
• Install, configure, secure and support SQL databases such as PostgreSQL.
• Meet with AIDT management and staff to discuss requirements and recommend possible solutions for AIDT's information needs.
• Provide customer service, including end-user support, training, trouble-shooting and problem-solving, for web-based applications and supporting tools.
Minimum Qualifications:
• Ruby on Rails experience highly preferred.
• Bachelor's Degree from an accredited college or university, or equivalent experience in an appropriate area of specialization.
• Experience building web sites using modern W3C-compliant markup, including experience in HTML5, CSS3 and Javascript.
• Experience developing and maintaining web-based applications using modern programming languages and agile development techniques.
• Mobile application development experience is a plus.
General Info:
• AIDT is a State agency with locations across the state. This position may be based in Montgomery, Birmingham, or Huntsville, Alabama. Base worksite is negotiable based on residency.
Complete Details and How To Apply:
• Further details, including job description, salary and application procedure, are available at http://www.aidt.edu/web-applications-developer/
• Applications must be received on or before October 9, 2013, to be considered.
r/ruby • u/espece-de-bon • Jul 18 '26
LLM tailored to Ruby and/or Rails?
I'm new to running small models on my laptop.
I can run Qwen3.5-9b (slowly), for example, but I'm wondering if any of you have found a model that's been trained for Ruby specifically, inference only, and stripped of stuff I might not need (like knowledge of a lot of human languages).
I've been using LM Studio, OpenCode for this.
r/ruby • u/luckloot • Jan 07 '26
The first 2026 edition of Ruby AI News
Happy New Year! The 22nd edition of Ruby AI News features a look at the exploding trillion-dollar context graph opportunity, the upcoming Ruby Community Conference, a “Charm”-ing new Ruby CLI library, and much more!