Rails 4.1

As soon as the button_to_function disappears in master, this should actually pass on travis