Log in or Sign up
  1. form_for love

Definitions

Sorry, no definitions found.

Examples

  • “Which can then be used within form_for to setup the person to the correct form state:”

    Planet Ruby on Rails

  • “Exhaustive Example w / Object Based Searching (great for form_for or fields_for) # Start a new search”

    RubyForge Gems

  • “Provided the parent model accepts nested attributes for the child objects, you can create nested forms using form_for and field_for.”

    Riding Rails - home

  • “The form for creating a new post-that is, the HTML used to update the "new_comment_form_for_post_1" div-is straightforward, except for one detail: Listing 16.12 app/views/comments/new. rhtml This is exactly the same kind of form we would define to create a new comment without Ajax, with one crucial difference: Just as we used link_to_remote in place of link_to, we've used remote_form_for in place of the traditional form_for.”

    Recently Uploaded Slideshows

  • “FAQ saved." redirect_to hub_url end end end As before, we use form_for to build up the FAQ form: Listing 9.41 app/views/faq/edit. rhtml”

    Recently Uploaded Slideshows

  • “When we call in the context of form_for: user, Rails produces and similarly for the password field.”

    Recently Uploaded Slideshows

  • “Since the registration form is generated by the form_for function using the: user symbol, we pass post a hash argument with key: user.”

    Recently Uploaded Slideshows

  • “This is the first time we've constructed a form without using the form_for function, which is optimized for interacting with models.”

    Recently Uploaded Slideshows

  • “For example, to test the screen name text box, we can specify either the name or the id attribute, but we don't need both-either one specifies the tag uniquely, and we don't have to test both since their form is determined by the form_for function.”

    Recently Uploaded Slideshows

  • “Since the email partial references the form variable generated by the form_for function in each corresponding rhtml file, we need to send it a local variable called form, which we do using the locals option.”

    Recently Uploaded Slideshows

Show 10 more examples...

Lists

‘form_for’ hasn't been added to any lists yet.

Comments

No comments yet...

Log in or sign up to get involved in the conversation. It's quick and easy.

Tweets

Looking for tweets for form_for.

‘form_for’ has been looked up 479 times, and is not a valid Scrabble word.