@staffs = Staff.where(company: current_company)
@staffs = Staff.where(company_id: current_company.id)
#8 楼 @geekontheway 还真不是空格问题,一旦用 code 包住就会有问题,你看:
@staffs = Staff.where(company: current_company)
@staffs = Staff.where(company_id: current_company.id)
我保证这里边没有空格,但是还是会有问题
@staffs = Staff.where(company: current_company)
@staffs = Staff.where(company_id: current_company.id)
@staffs = Staff.where(company: current_company)
@staffs = Staff.where(company_id: current_company.id)
真的对不齐诶