Posted about 5 years ago. Visible to the public. External content.

How to define helper methods in magic DSL code

We use the lambda-technique to DRY up our Rails routes machinist blueprints, and, of course, RSpec examples.

Growing Rails Applications in Practice
Check out our new e-book:
Learn to structure large Ruby on Rails codebases with the tools you already know and love.

Author of this card:

Avatar
Lexy
Keywords:
ruby, rails, rspec, makandra
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Lexy to makandropedia