Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

smundra1's Profile

GitHub User: smundra1

Comments by

Avatar

Hi,
Could use a second opinion on this - I have an IF statement block in my UJS file - and the if condition is not satisfied (confirmed by putting a js alert in there) . However - the block seems to get executed - the console is showing the database queries in that block being executed. Cant seem to make sense of it - thoughts ?