Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Rails on Ruby: How Ruby Makes Rails Great

Rails on Ruby: How Ruby Makes Rails Great

Ruby puts the Ruby in “Ruby on Rails”! It’s the Ruby language that makes Rails flexible, powerful, and with a developer-friendly API. How does Rails take advantage of Ruby’s flexibility and metaprogramming to make it so useful? And how can you take advantage of those features in your Rails app? We’ll go over a few specific Ruby features, like how Rails uses Modules, or `define_method` or `instance_eval`. You’ll be able to use these features to make your app as powerful as Rails itself.

Noel Rappin

April 24, 2023
Tweet

More Decks by Noel Rappin

Other Decks in Technology

Transcript

  1. Rails on Ruby: How Ruby Makes Rails Great Noel Rappin

    (@[email protected]) https://www.chime.com http://noelrappin.com
  2. If the method name ends in ? compare it to

    the value of the string Rails.env.production?