This document covers the following information about the repo itself. For technical specifications for this project, see README.md
:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"International Date Line West" => "Etc/GMT+12", | |
"Midway Island" => "Pacific/Midway", | |
"American Samoa" => "Pacific/Pago_Pago", | |
"Hawaii" => "Pacific/Honolulu", | |
"Alaska" => "America/Juneau", | |
"Pacific Time (US & Canada)" => "America/Los_Angeles", | |
"Tijuana" => "America/Tijuana", | |
"Mountain Time (US & Canada)" => "America/Denver", | |
"Arizona" => "America/Phoenix", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"International Date Line West" => "Etc/GMT+12", | |
"Midway Island" => "Pacific/Midway", | |
"American Samoa" => "Pacific/Pago_Pago", | |
"Hawaii" => "Pacific/Honolulu", | |
"Alaska" => "America/Juneau", | |
"Pacific Time (US & Canada)" => "America/Los_Angeles", | |
"Tijuana" => "America/Tijuana", | |
"Mountain Time (US & Canada)" => "America/Denver", | |
"Arizona" => "America/Phoenix", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class User < ApplicationRecord | |
has_one :list_item, | |
inverse_of: :user, | |
dependent: :destroy | |
has_many :books, | |
through: :list_item, | |
inverse_of: :list_item, | |
dependent: :destroy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var uploadsStarted = []; | |
var uploadsCompleted = []; | |
$(document).on("fileuploadadd", function(event, data) { | |
console.log("file upload add"); | |
var submitButton = $("input[type=submit]"); | |
uploadsStarted.push(event.target); | |
submitButton.attr("disabled", "disabled"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Brand < ActiveRecord::Base | |
attr_accessible :title, | |
:style_ids | |
has_many :brand_styles, dependent: :destroy | |
has_many :styles, through: :brand_styles | |
validates_presence_of :title | |
validates_presence_of :styles | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"city":"San Diego", | |
"region":"CA", | |
"postalCode": 92116, | |
"country":"US", | |
"latitude":"32.7153", | |
"longitude":"-117.1573", | |
"ip": "192.168.1.1", | |
"dma": "southern california", | |
"isp": "time warner", |