Slava Mefodin
Slava Mefodin
I think you can try to do it within a block: ```ruby class ThemeBlueprinter < ApplicationBlueprinter fields :id, :page association :templates, blueprint: TemplateBlueprinter do |theme| theme.templates.active end end ``` However...
This should initialize correct class variable: ```ruby @@currency = {} ``` However class variable will be bloated over time so unless you are sure it will be garbage collected it's...
Common FactoryBot paths can be added to default exclude paths: ```yaml Exclude: - spec/factories.rb - spec/factories/**/*.rb - features/support/factories/**/*.rb ``` However it may break if user config has `Exclude` section as...
It seems that `be_*` matchers work with predicate methods however `ActionDispatch::TestResponse` doesn't have predicates for [all the statuses](https://github.com/rack/rack/blob/master/lib/rack/utils.rb#L520-L584), but only for most common ones.
Common FactoryBot paths can be added to default exclude paths: ```yaml Exclude: - spec/factories.rb - spec/factories/**/*.rb - features/support/factories/**/*.rb ``` However it may break if user config has `Exclude` section as...
@AFriemann, the easiest way to check for existence of nested variables is dry-run of rendering. But here we need to choose: 1. Fail on first undefined nested variable during render,...
@AFriemann, k8t compiles all templates into standard output now. I suggest if `--output=DIRECTORY` specified, k8t would create corresponding file for every template and write it in specified directory. If template's...