gra*_*ury 4 ruby ruby-on-rails
例如,user = 从用户列表中查找第一个 Fred
its*_*lay 5
User.find_by(first_name: 'Fred') # it finds the first user http://api.rubyonrails.org/classes/ActiveRecord/FinderMethods.html#method-i-find_by
User.find_by(first_name: 'Fred') # it finds the first user
归档时间:
11 年,9 月 前
查看次数:
1488 次
最近记录:
6 年,4 月 前