Fixed return empty model object when no row found by primary key, double check if model object is instance of Collection class
Fixed return empty model object when no row found by primary key, double check if model object is instance of Collection class

ActiveRecord::getId() returns primary key value by default.

sanjoydesk/framework,cygnite/framework,sanjoydesk/framework,cygnite/framework