params[:some_data] ||= [] #what does that mean?

Yes, it initiates params[:some_data] as an array if it is null.