Fixed that scaffold generator new template should use local variable instead...

Fixed that scaffold generator new template should use local variable instead of instance variable #778 [Dan Peterson]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@859 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 36a9eff9
*SVN*
* Fixed that scaffold generator new template should use local variable instead of instance variable #778 [Dan Peterson]
* Allow unit tests to run on a remote server for PostgreSQL #781 [adamm@galacticasoftware.com]
* Added web_service generator (run ./script/generate web_service for help) #776 [Leon Bredt]
......
<h1>New <%= @singular_name %></h1>
<h1>New <%= singular_name %></h1>
<%%= error_messages_for '<%= singular_name %>' %>
<%= template_for_inclusion %>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册