Franco Catena

Results 2 issues of Franco Catena

This fix the id_param method to return a nil when the params hash returns nil, and the string of the value otherwise. It fixed the Issue #861.

Since 2.4 deprecate the use of constant `Fixnum`, now check for `0.class` instead (to ensure compatibility with older versions). Cheers.