Hi I have no idea why I am having problems with something so simple but this condition statement is just not working.
@battalion = Battalion.find(params[:id])
@soldier = @battalion.soldiers(:conditions => ["seniorleader = ?", "No"])
This shows the array of Soldiers but doesn't reflect the condition I have set.
I am sure I am doing something really simple wrong but I can't seem to figure out what it is.
Any help would be greatly appreciated.