Freelance web developer (job opportunities welcome!) • Activities: Kaigi on Rails (the founder, chief organizer), Ruby community host, OSS (Alba and other libraries), public speaking (Friendly.rb next week!) • Favorite method: `BasicObject#instance_eval`
should be possible • https://hub.docker.com/layers/m4i0/ruby/1.8.7-slim/images/ sha256-08b6b71a5f485a10262e0424389078646f700a68e4843b ca5e470985d95e1da0 • https://evilmartians.com/opensource/fullstaq-ruby-docker • It’s just that I didn’t want to get into trouble
• ` fi nd` method was used to do everything, including ` fi rst`, `all`, `order` and `include` • For complex query, ` fi nd_by_` magic method was used • They are all de fi ned in “base.rb”
different • Personally `where` seems so natural • ` fi nd_by_name_and_email` magic might be too magical • Association feels so similar • Validation is not “sexy” but it’s so readable • Friendly DSL, metaprogramming inside it
core extensions • `blank?` is a most phenomenal example • In fl ector to encourage CoC • Generators including scaffolding • ActiveRecord association and validation
parts were (and still are) possible with Ruby’s fl exibility and facility of metaprogramming • Open Class, method_missing, instance_variable_set, etc. • Ruby supports DSL-heavy interface of Rails • Hiding complexity behind DSL
has prioritized developer happiness • core_ext, CoC, scaffolding, migration, etc. • Although awesome new ideas have been implemented in 20 years, some of them have been available from v1.0, which is impressive • “Shoot yourself a head” power by DHH • Simplicity and conceptual compression