array_users = ["3581", "3592", "3665", "3730"]
@records = Model.find(
:all,
:order => 'date desc',
:group => :date,
:conditions => {
:client_id => current_user.client.id,
:user_id is present in array_users # <------------------
})
使用 Rails 2.3.9user_id
时,如何确定只有返回的记录有一个?array_users