rotation.rb
class Rotation < ActiveRecord::Base
include ActiveUUID::UUID
has_one :background_check
.
.
.| (function () { | |
| var cleanPath, newUrl, | |
| location = window.location, | |
| history = window.history; | |
| if (history && history.pushState) { | |
| cleanPath = ['pathname', 'search', 'hash'].map(function (key) { | |
| return location[key].replace(/@.+\.[A-Z]{2}/ig, ''); | |
| }).join(''); | |
| newUrl = location.protocol + '//' + location.host + cleanPath; |
rotation.rb
class Rotation < ActiveRecord::Base
include ActiveUUID::UUID
has_one :background_check
.
.
.