You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Trailblazer::Rails::Form is a SimpleDelegator, it does not delegates class method calls to the wrapped class, thus breaking Reform::Form.human_attribute_name and probably other delegated class methods.
A temporary fix may be reopening Trailblazer::Reform::Rails in an initializer and extending it with ActiveModel::Translation, but it's a hack and a very fragile one:
Since
Trailblazer::Rails::Form
is aSimpleDelegator
, it does not delegates class method calls to the wrapped class, thus breakingReform::Form.human_attribute_name
and probably other delegated class methods.human_attribute_name
is used by simple_form here.A temporary fix may be reopening
Trailblazer::Reform::Rails
in an initializer and extending it withActiveModel::Translation
, but it's a hack and a very fragile one:Related #44
The text was updated successfully, but these errors were encountered: