Ransack gem dependency updated to version 1.0.0.

Fixes #3649
[sample] Only create one option value as required, not all of them all the time

Fixes #3564