-
0 votesanswersviews
Rails控制器和关注点中的before_filters的顺序
我有一个Rails关注点定义如下: module MyConcern extend ActiveSupport::Concern included do before_filter :filter_inside_concern end def filter_inside_concern # ... end end 我在控制器层上也有一个 before_fi... -
-1 votesanswersviews
Rails 4.0.2 ActionController :: AuctionsController中的ParameterMissing#未找到创建param:
我正在创建一个拍卖网站,当我运行命令创建一个新的拍卖时,我收到一个错误 . 模型很简单:类Auction <ActiveRecord :: Base has_many:bets has_many:profiles,:through =>:bets 等等 . 控制器:` 类AuctionsController <ApplicationController def new @auc...