Rails on Ruby: How Ruby Makes Rails Great
July 14, 2023
39 min
Free
ruby
ruby-on-rails
rails-framework
code-internals
ruby-language
rails-internals
meta-programming
developer-experience
abstraction
framework-design
active-record
Description
This talk delves into how the Ruby language's flexibility and metaprogramming capabilities empower the Ruby on Rails framework, making it powerful and developer-friendly. Noel Rappin explores specific Ruby features like Modules, `define_method`, and `instance_eval`, demonstrating how Rails leverages them and how developers can utilize these features to enhance their own Rails applications. The presentation examines five key areas where Rails employs metaprogramming to manage complexity, including String Inquirer, View Assigns, Callbacks, Active Record Dirty, and Migrations, ultimately aiming to create a streamlined developer experience with reduced boilerplate and increased power.