Hiccdown Development Notes

  Dennis Hackethal revised criticism #304.

Does that mean they wouldn’t have the view_context? If so, calling helper methods from inside these class methods wouldn’t be possible.

Does that mean they wouldn’t have access to the view_context? If so, calling helper methods from inside these class methods wouldn’t be possible.

  Dennis Hackethal criticized idea #303.

Hiccdown methods should live in Rails helpers as class methods. That way, the problem described in #302 is solved – methods can be referenced unambiguously:

ruby
ProductsHelper.index
StoresHelper.index
#303·​Dennis HackethalOP, about 2 years ago

Does that mean they wouldn’t have the view_context? If so, calling helper methods from inside these class methods wouldn’t be possible.

  Dennis Hackethal posted idea #303.

Hiccdown methods should live in Rails helpers as class methods. That way, the problem described in #302 is solved – methods can be referenced unambiguously:

ruby
ProductsHelper.index
StoresHelper.index
  Dennis Hackethal revised idea #300.

Hiccdown methods should live in Rails helpers.

Hiccdown methods should live in Rails helpers as instance methods.

  Dennis Hackethal criticized idea #300.

Hiccdown methods should live in Rails helpers.

#300·​Dennis HackethalOP, about 2 years ago

That isn’t a good idea because Hiccdown methods often share the same conventional names (index, show, etc), which can and does lead to conflict.

  Dennis Hackethal started a discussion titled ‘Hiccdown Development Notes’.

Notes about developing the Ruby gem Hiccdown.

The discussion starts with idea #300.

Hiccdown methods should live in Rails helpers.