RubyKaigi 2013

RubyKaigi 2013


[JA] Concerning `Applications'

In recent years, as Rails has been used in more and more contexts and applied to increasingly complex real-life problems, Rails applications themselves have become more complex. As a result, the so-called Rails "model" has become bloated and complex. The question of how to deal with this bloat currently occupies the mind of many Rails users.

A variety of approaches have been proposed as solutions to this problem. One of these is a technique by which model behavior is divided into small units called "Concerns", such that the size of individual classes (whose source code we have to maintain) can be minimized. (In Rails 4, the framework conventions make this easier to do.)

Starting with Rails 3, I have applied this technique to a number of practical applications. In the process, I have struggled and learned many lessons about how to extract code into concerns, how to test such concerns, and what level of metaprogramming to use. In this talk I'd like to share some of these lessons with you.

Recorded Video

Concerning `Applications' from rubykaigi on Vimeo .

moro, Kyosuke MOROHASHI / @moro

moro, Kyosuke MOROHASHI

EIWA System Management, Inc. Rails Programmer/Consultant

Ruby/Rails Programmer. Love TDD/BDD.

Tokyo, Japan