Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Failing get_help_text_by_i18n_key on Anonymous classes #282

Closed
pvmeerbe opened this issue Jul 14, 2016 · 3 comments
Closed

Failing get_help_text_by_i18n_key on Anonymous classes #282

pvmeerbe opened this issue Jul 14, 2016 · 3 comments

Comments

@pvmeerbe
Copy link
Contributor

Hi,

I'm experiencing the same issue as found by #217 when using rails-bootstrap-forms with trailblazer/reform (http://trailblazer.to/)

This framework uses anonymous classes for its form objects and fails on
https://github.com/bootstrap-ruby/rails-bootstrap-forms/blob/master/lib/bootstrap_form/form_builder.rb#L428

as anonymous classes return nil on the .name function

can you comment on why the provided patch in #217 was not merged?

@mattbrictson
Copy link
Contributor

Thanks for bringing this to my attention!

I don't know why the owner of the original PR ending up closing it. Would you like to champion this issue and open a new PR? If your PR provides a good test and doesn't break backwards compatibility, I will be happy to merge it in.

@pvmeerbe
Copy link
Contributor Author

see pull request #285

@lcreid
Copy link
Contributor

lcreid commented Jan 26, 2018

It looks like this is fixed by #285. If I misunderstood, feel free to re-open it.

@lcreid lcreid closed this as completed Jan 26, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants