Changed alternatives method rewriting to avoid JRuby error.
Changed alternatives method rewriting to avoid JRuby error.

HealthyDelivery/vanity,Futurelearn/vanity,peterkovacs/vanity,peterkovacs/vanity,assaf/vanity,mockra/vanity,Mario245/vanity,mockra/vanity,HealthyDelivery/vanity,assaf/vanity,HealthyDelivery/vanity,Mario245/vanity,Futurelearn/vanity,Futurelearn/vanity,peterkovacs/vanity,mockra/vanity,Mario245/vanity,assaf/vanity