`

错误信息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
分享到:
评论

相关推荐

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

    在Python的数据库操作中,尤其是当你使用pymysql库连接MySQL数据库时,可能会遇到一个警告,提示"Integer display width is deprecated and will be removed in a future release." 这个警告源于MySQL数据库的一个...

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

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

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

    php解决Deprecated Automatically populating is deprecated and will be removed_will后面跟什么

    Deprecated: Automatically populating $_FILES is deprecated and will be removed in a future version. To avoid this warning and prepare your code for PHP 8, you should explicitly pass the `$_FILES` ...

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

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

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

    前端开源库-brisky-is-removed

    import { isRemoved } from 'brisky-is-removed'; let userPreferences = { option1: true }; if (isRemoved(userPreferences, 'option1')) { // 属性已删除,无需进一步操作 } else { delete userPreferences....

    记录AndroidStudio导入项目时可能遇到的问题

    提示Support for builds using Gradle versions older than 2.6 was removed in tooling API version 5.0. You are currently using Gradle version 2.3. You should upgrade your Gradle build to use Gradle 2.6 ...

    2009 达内Unix学习笔记

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

Global site tag (gtag.js) - Google Analytics