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

Add :as option to form_for helper #1477

Merged
merged 1 commit into from Nov 4, 2013
Merged

Add :as option to form_for helper #1477

merged 1 commit into from Nov 4, 2013

Conversation

graudeejs
Copy link
Contributor

:as option can now be used to override default object name when building
form.

This is especially useful if you are using proxy object and don't want
world to know about it.

:as option can now be used to override default object name when building
form.

This is especially useful if you are using proxy object and don't want
world to know about it.
@graudeejs
Copy link
Contributor Author

Perhaps :as options should also accept string.

@ujifgc
Copy link
Member

ujifgc commented Nov 4, 2013

Thanks!

ujifgc added a commit that referenced this pull request Nov 4, 2013
Add :as option to form_for helper
@ujifgc ujifgc merged commit fadb6ea into padrino:master Nov 4, 2013
@graudeejs graudeejs deleted the form_for_as branch November 4, 2013 15:38
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

Successfully merging this pull request may close these issues.

None yet

2 participants