When you follow the hotrails's turbo stream tutorial you get the impression that the following should work.
Inside index.html.erb
file:
I often start teaching students coding using test driven development, or TDD for short. This is not because I'm a hard-core believer in TDD, but because I think it's a great tool to teach novice (even intermediate) programmers to build robust code. TDD, by design, helps you write a decoupled (read not a mess) and easy to maintain code without putting too much effort (apart from learning a test framework). Having tested code as a result is just the added benefit of TDD.
Continue reading