Ruby on rails 4 比如查询在rails 4中不起作用
就像查询不起作用一样,我无法找出这里的问题,是否给出了查询Ruby on rails 4 比如查询在rails 4中不起作用,ruby-on-rails-4,Ruby On Rails 4,就像查询不起作用一样,我无法找出这里的问题,是否给出了查询 @radaccnt=Salammobile::Radacct.all.where(callingstation类似于currentuser.salammobilenumber)。order('AcctStartTime')我认为这里的问题是通配符 @radaccnt=Salammobile::Radacct.all.where(“CallingStationId LIKE%#{currentuser.salammobilenumber}
@radaccnt=Salammobile::Radacct.all.where(callingstation类似于currentuser.salammobilenumber)。order('AcctStartTime')我认为这里的问题是通配符 @radaccnt=Salammobile::Radacct.all.where(“CallingStationId LIKE%#{currentuser.salammobilenumber}%”).order('AcctStartTime'))