leastbad / optimism

The missing drop-in solution for realtime remote form validation in Rails.
MIT License
361 stars 42 forks source link

Class-wrapped attribute names #18

Open Inkybro opened 4 years ago

Inkybro commented 4 years ago

Implementation of class-wrapped attribute names as discussed in #15

I did my best to do this in a way that is friendly with internationalization, and I think I got it right.

Would love to hear some feedback, particularly if I'm missing something and this doesn't solve the problem.

mepatterson commented 4 years ago

This makes a lot of sense to me. @leastbad ?

leastbad commented 4 years ago

I apologize for the slow response. I am working through a backlog. This PR is probably awesome but I can't approve it until I can do a proper context shift. In the meantime, if it's solving your problem, you can include it in your project using the git syntax:

https://bundler.io/guides/git.html

I am really excited to look at this when I can. Maybe next week.