View product-valid-sample.csv
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
SKU | Operation | Item Name | Brand Name | Manufacturer | Product Type | Product Description | Parent/Child | Parent SKU | foobar_property | Active | Variation Theme | Category Path 1 | Category Path 2 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dummy-1 | create | Himalaya Herbals Purifying Neem Face Wash | Himalaya | Himalaya Global Holdings Ltd | foobar_product_type | is a soap-free herbal formulation that clears impurities and helps clear pimples | Parent | 1 | TRUE | foobar_theme | 2000 | 3000 | ||
dummy-2 | create | Himalaya Herbals Purifying Neem Face Wash 200ml | Child | dummy-1 | 2 | TRUE | ||||||||
dummy-3 | create | Himalaya Herbals Purifying Neem Face Wash 500ml | Child | dummy-1 | 1 | TRUE | ||||||||
dummy-4 | create | Himalaya Herbals Baby Soap (Honey and Milk) | Himalaya | Himalaya Global Holdings Ltd | foobar_product_type | is a herbal soap developed for baby's sensitive skin | TRUE | 2000 | ||||||
View variation-themes-valid-sample.csv
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
Category | Product Type | Name | Attribute 1 | Attribute 2 | Attribute 3 | Operation | |
---|---|---|---|---|---|---|---|
Personal Care | Tablet | Personal Theme 1 | String Description | Number Size | Dropdown Skin Type | create | |
Personal Care | Tablet | Personal Theme 2 | String Description | Dropdown Skin Type | create | ||
Personal Care | Tablet | Personal Theme 3 | Number Size | create |
View properties-valid-sample-data.csv
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
Name | Input Type | Character Limit | Operation | |
---|---|---|---|---|
inseam length | number | create | ||
size | number | create | ||
side effects | text | 500 | create | |
Strength Qty | number | create | ||
Strength Unit | dropdown | create | ||
number size | number | create | ||
Text Side Effects | text | 500 | create | |
Dropdown Skin Type | dropdown | create | ||
Boolean Popular | boolean | create |
View product-types-valid-sample.csv
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
MC1 | Product Type | |
---|---|---|
Pharmacy | electronics | |
Pharmacy | medicines | |
Pharmacy | foot care |
View rails_template.rb
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
# Gemfile | |
gem 'rails', '4.1.4' | |
gem 'pg' | |
gem 'sass-rails', '~> 4.0.3' | |
gem 'uglifier', '~> 2.4.0' | |
gem 'coffee-rails', '~> 4.0.1' | |
gem 'jquery-rails', '~> 3.0.4' |
View sample_action.html.erb
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
<div class='content'> | |
<!-- your application code, which requires some JS --> | |
</div> | |
<% content_for :javascript do %> | |
<script type="text/javascript"> | |
$(function () { | |
$('th').tooltip(); | |
}); | |
</script> |
View gh_to_pt.rb
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
#!/usr/bin/env ruby | |
# Author: Russ Brooks, TelVue Corporation (www.telvue.com) | |
# Description: Migrates GitHub Issues to Pivotal Tracker. | |
# Dependencies: Ruby 1.9.2+ | |
# GitHub API gem: https://github.com/peter-murach/github | |
# Pivtal Tracker gem: https://github.com/jsmestad/pivotal-tracker | |
# 1. Change the constants below accordingly for your project. | |
# 2. Change the options in list_repo() method for your GitHub project. | |
# 3. Change the options in stories.create() method accordingly. |
View gist:7453860
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
Webpage error details | |
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729) | |
Timestamp: Wed, 13 Nov 2013 18:25:07 UTC | |
Message: Object doesn't support this property or method | |
Line: 4 | |
Char: 6105 | |
Code: 0 |
View nutrition_data.rb
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 NutritionData < ActiveRecord::Base | |
attr_accessible :calories, :calories_from_fat, :header, :item_id, :serving, :nutrition_items_attributes | |
validates :calories, :presence => true, :numericality => true | |
validates :calories_from_fat, :presence => true, :numericality => true | |
validates :header, :presence => true | |
validates :serving, :presence => true | |
belongs_to :item |
View Snacker Gemfile.lock
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
GIT | |
remote: git://github.com/gregbell/active_admin.git | |
revision: 18438fcc82ef12f74d43f65766125eac466f79fc | |
ref: 18438fcc82ef12f74d43f65766125eac466f79fc | |
specs: | |
activeadmin (0.5.0) | |
arbre (>= 1.0.1) | |
bourbon (>= 1.0.0) | |
devise (>= 1.1.2) | |
fastercsv |
NewerOlder