oh my god i'm rails-ing and it's shitty but i'm doing it