Rails 4 Patterns revisted and DSL in Ruby