Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

property :model broke form_for support, because of name conflicts #12

Open
SanderMander opened this issue Jul 25, 2016 · 4 comments
Open

Comments

@SanderMander
Copy link

SanderMander commented Jul 25, 2016

form_object.model should return associated model. But if form_object have declared property with name "model" it cause name conflicts

class CarForm < Reform::Form
    property :vin
    property :year
    property :make
    property :model
end
@apotonick
Copy link
Member

Hi @SanderMander - I think this should be handled in Reform and not in reform-rails!

@faucct
Copy link

faucct commented Jan 29, 2018

Was this handled anywhere?

@apotonick
Copy link
Member

I think we had this a few years ago and then removed it? 🙀

@serhii-bodnaruk
Copy link

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants