Q:

Rails find method is it safe?

I want to know if it is safe to use this:
@company = Company.find(params[:company_ids])

Is it safe against SQL injections? 

A:

Per Section 8.2.4 of the official Rails security guide, the Model.find(id) method automatically escapes the input, so it's safe.

