Here is my loop
subscriptions.each do |s|
if s.is_active? && s.is_current?
#do some stuff
end
end
subscriptions is an array that has one element. However it does not hit the if statement inside the loop.
When I step through it using rdebug I get this
(rdb:1748) p subscriptions.count
1
I am on ruby version 1.8.7
Am I missing something?
Thank you in advance for your help.