0

我試圖生成煉油廠:查詢描述如hererefinerycms -query生成器拋出正則表達式錯誤

然而,當我運行的發電機,我得到以下錯誤:

rails generate refinery:inquiries 
/home/username/.rvm/gems/[email protected]/gems/activemodel-4.2.3/lib/active_model/validations/format.rb:39:in `check_options_validity': The provided regular expression is using multiline anchors (^ or $), which may present a security risk. Did you mean to use \A and \z, or forgot to add the :multiline => true option? (ArgumentError) 

我注意到,很多煉油廠引擎是非常不合時宜的。然而,這一次,最後更新了3個月,所以希望它可能會好起來,但只是一個小小的呃逆。

回答

0

向維護人員(@parndt)表示感謝,因爲他沒有正確地爲Rails 4.2預發佈支持包括Gem。

gem "refinerycms-inquiries", git: "https://github.com/refinery/refinerycms-inquiries", branch: "master"