`

错误信息error_messages_for was removed from Rails and is now available as a plugin)

    博客分类:
  • Ruby
 
阅读更多
在页面中使用<%= error_messages_for 'order' %>时,刷页面报错: error_messages_for was removed from Rails and is now available as a plugin. Please install it with `rails plugin install git://github.com/rails/dynamic_form.git

解决方法是:

在script文件夹下命令行:rails plugin install git://github.com/rails/dynamic_form.git

然后在Gemfile中添加 :gem 'dynamic_form'

最后命令行:bundle install
分享到:
评论

相关推荐

    BURNINTEST--硬件检测工具

    This problem is now just reported as an error (and BurnInTest) continues. - When BurnInTest crashes, it should now generate a "minidump" file to help debug which system component caused the failure...

    SSD7 选择题。Multiple-Choice

    When mapping from an ER model to a relational model, a strong entity is mapped into a (a) table (b) row (c) column (d) key Correct answer is (a) 10. Which of the following is true about ...

    eac3to V3.17

    * joining MKV files is now declined with a proper error message * last chapter is now removed, if it's less than 10 seconds from end of movie * fixed: "-normalize" didn't work with stdout, anymore * ...

    170: Warning: (1681, ‘Integer display width is deprecated and will be removed in a future release.’)

    /home/data/anaconda3/lib/python3.7/site-packages/pymysql/cursors.py:170: Warning: (1681, 'Integer display width is deprecated and will be removed in a future release.') result = self._query(query) ...

    S7A驱动720版本

    - The driver can now be registered as a service with the local system account as the log-on account. For more information see the document "S7A_as_Service.PDF" on the installation CD . - The ...

    acpi控制笔记本风扇转速

    list (if present) is now obtained and also checked for an ID match. Implemented additional support for the PCI _ADR execution: upsearch until a device scope is found before executing _ADR. This ...

    Sparse and Redundant Representations_From Theory to Applications in Signal and Image Processing

    Written as a text-book for a graduate course for engineering students, this book can also be used as an easy entry point for readers interested in stepping into this field, and for others already ...

    simple-tags

    * Reorganize admin for have a tab features with all features available * Use a input text for Simple Tags autocompletion field * Remove ID of term from autocompletion * Fix autocompletion on mange...

    Senfore_DragDrop_v4.1

    This is believed to be a bug in the Windows clipboard and a work around hasn't been found yet. * Asynchronous targets appears to be broken in the current release. * When TDropFileTarget....

    netWindows_0.3.0_pre2

    21:57 russcoon Exp $_______________________________________________________________________________0.3.0 pre2OVERVIEW: netWindows 0.3 pre2 is fairly close to a release canidate for the 0.3 final ...

    Sakemail

    A obscure bug was found by HuangYeJun from china, in the RetrieveHeaders function if the retrieved text was larger than 1024 bytes and the crlf.crlf fall in the middle of two chunks, the function is ...

    a project model for the FreeBSD Project.7z

    This project model is not meant to be a tool to justify creating impositions for developers, but as a tool to facilitate coordination. It is meant as a description of the project, with an overview of...

    EurekaLog_7.5.0.0_Enterprise

    6)....Fixed: Empty "Count" field/column is now displayed as "1" in Viewer 7)....Fixed: Generic names with "," could not be decoded in Viewer 8)....Fixed: Updated Windows 10 detection for latest builds...

    delphixe10 RxLib_For_RX10插件

    * This software is provided "as is" and is without warranty of any kind. The author(s) of this software does not warrant, guarantee or make any representations regarding the use or results of use ...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    is now available for writing (during the writing, the standard grid object TFlexGrid is released, and a user's one is set). - ADD: In the class TFlexGrid added the properties HOffset and VOffset - ...

    Automatic Estimation and Removal of Noise from a Single Image

    propose a unified framework for two tasks: automatic estimation and removal of color noise from a single image using piecewise smooth image models. We introduce the noise level function (NLF), which ...

    gerrit-3.0.3.war

    The weblinksOnly option is removed from the Get Diff REST API endpoint. This option was only used by the GWT UI which has been removed. This is a breaking change for any other clients that are using ...

    2009 达内Unix学习笔记

    [] 匹配中括号里的内容[a-z][A-Z][0-9]。 ! 事件。 $ 取环境变量的值。 | 管道。把前一命令的输出作为后一命令的输入,把几个命令连接起来。 |经常跟tee连用,tee 把内容保存到文档并显示出来。 三、通用后...

    一个win32下的ARM开源编译器

    2) CPSIE and CPSID formats are changed, use "iflags_aif" form instead of "aif" (eg. "CPSIE iflags_i" instead of "CPSID i") 3) SRS with writeback must have a separating space after the mode number and...

    火狐插件,去除服务端的挟持。wmpfirefoxplugin_(removed_checking_for_server)

    火狐插件,去除服务端的挟持。wmpfirefoxplugin_(removed_checking_for_server) 火狐插件,去除服务端的挟持。wmpfirefoxplugin_(removed_checking_for_server)

Global site tag (gtag.js) - Google Analytics