This project is archived and is in readonly mode.
render partial collection with inline spacer
-
Maxim Kulkin
- Title changed from render partial collection with inline spacer to [PATCH] render partial collection with inline spacer
-
josh
- Assigned user set to Pratik
I think it would be nicer just to type check "options[:spacer_template].is_a?(String)"
@Pratik Are spacer templates going away?
-
Maxim Kulkin
Checking type of options[:spacer_template] won't work because both partial name and inline spacer are strings, so it won't be possible to distinguish those two. Also, that _template suffix is not ideal for naming inline spacer. I was also considering :spacer_inline or :spacer_text as alternatives.
If you plan to move spacer templates away, what should be used instead ? Or render partial collection will also be deprecated ?
-
josh
Duh! of course they are both strings :)
I think the :spacer_template was going be moved into a plugin or something, not totally sure. Waiting for Pratik's response.
-
Pratik
- Title changed from [PATCH] render partial collection with inline spacer to render partial collection with inline spacer
- State changed from new to wontfix
