validates :money, :presence => true, :numericality => {:only_integer => true}
rails 数据验证
猜你喜欢
转载自www.cnblogs.com/znsongshu/p/10366895.html
今日推荐
周排行