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

Conversation

Projects
None yet
2 participants
@graudeejs
Contributor

graudeejs commented Oct 26, 2013

: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.

Aldis Berjoza
Add :as option to form_for helper
: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

This comment has been minimized.

Show comment
Hide comment
@graudeejs

graudeejs Oct 27, 2013

Contributor

Perhaps :as options should also accept string.

Contributor

graudeejs commented Oct 27, 2013

Perhaps :as options should also accept string.

@ujifgc

This comment has been minimized.

Show comment
Hide comment
@ujifgc

ujifgc Nov 4, 2013

Member

Thanks!

Member

ujifgc commented Nov 4, 2013

Thanks!

ujifgc added a commit that referenced this pull request Nov 4, 2013

Merge pull request #1477 from graudeejs/form_for_as
Add :as option to form_for helper

@ujifgc ujifgc merged commit fadb6ea into padrino:master Nov 4, 2013

1 check passed

default The Travis CI build passed
Details

@graudeejs graudeejs deleted the graudeejs:form_for_as branch Nov 4, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment