The indentation for #where seems to be weird (I'd either indent it two spaces after @environment or two spaces after =). Also, why did you add a blank line here on 714?