Properly scope Rails calls