# Confused about line of code in "The Rails Way"

**URL:** <https://www.ruby-forum.com/t/confused-about-line-of-code-in-the-rails-way/157475>\
**Category:** Rails\
**Created:** [January 12, 2009, 2:53am UTC](https://www.ruby-forum.com/t/confused-about-line-of-code-in-the-rails-way/157475 "2009-01-12T02:53:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Teedub](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/f475e1/32.png) [@Teedub](https://www.ruby-forum.com/u/Teedub)\
**Post date:** [January 12, 2009, 2:53am UTC](https://www.ruby-forum.com/t/confused-about-line-of-code-in-the-rails-way/157475/1 "2009-01-12T02:53:53Z")

</div>

I am reading Obie’s book (again) and I am confused about a line on  
page 450. This is the book that says “Covers Rails 2.0” in a yellow  
circle on the cover.

The erb code is:  
\<% remote\_form\_for :addition, @addition, :url =\> additions\_path  
:update =\> ‘result’ do |f|…

A snippet of the output of that erb is listed as:

\<form action= "/additions/non\_ajax\_create" method="post"...

The additions controller has only a new and create action.  
What is non\_ajax\_create ?

Am I missing something or is that a typo?

Thanks in advance

BTW, it is a great book.
