Boolean Validation

You can just do

Grounddetail.where(featured_ground: true)

Which gives you the expected records.

Leave a Comment