We will need to know the products that you want to track. This should probably be done when you first setup your account though the web app. We have a large list of possible products categorized by:
This file contains hidden or 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
def column_grades(program_assignment, answer_sets) | |
CSV.generate(col_sep: "\t") do |csv| | |
problem_set_headings = program_assignment.problem_sets.published.order(:due).map(&:name) | |
csv << ["name", "student id", "student email"] + problem_set_headings | |
answer_sets.each_pair do |user, ans_sets| | |
grades = {} | |
ans_sets.map{|as| grades[as.problem_set_id] = as.grade } | |
user = ans_sets.first.user | |
row = [user.name, user.studentid, user.email] | |
program_assignment.problem_sets.published.order(:due).each do |ps| |
This file contains hidden or 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
Cleaning up the bundler cache. | |
-----> Writing config/database.yml to read from DATABASE_URL | |
-----> Using Node.js version: 0.10.21 | |
-----> Installing JavaScript dependencies using Bower 1.3.6 | |
bower MutationObserver#0.3.3 cached git://github.com/Polymer/MutationObservers.git#0.3.3 | |
bower MutationObserver#0.3.3 validate 0.3.3 against git://github.com/Polymer/MutationObservers.git#0.3.3 | |
bower jquery#1.11.1 cached git://github.com/jquery/jquery.git#1.11.1 | |
bower jquery#1.11.1 validate 1.11.1 against git://github.com/jquery/jquery.git#1.11.1 | |
bower jquery-ujs#1.0.0 cached git://github.com/rails/jquery-ujs.git#1.0.0 | |
bower jquery-ujs#1.0.0 validate 1.0.0 against git://github.com/rails/jquery-ujs.git#1.0.0 |
This file contains hidden or 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
{ | |
"user_picks": | |
{ | |
"parcel_id": 18, | |
"shipment_id": 5, | |
"product_picks": | |
[ | |
{ | |
"id": 3, | |
"allotment": 1, |
This file contains hidden or 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
[123, | |
167, | |
448, | |
857, | |
869, | |
943, | |
1175, | |
1216, | |
1274, | |
1833, |
This file contains hidden or 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
<a href="<%= lesson_path(syllabus.user_module.course_module, user_lesson.lesson) %>" class="<%= user_lesson.state %> <%= user_lesson.current_status %>"><span><%= user_lesson.title %></span> ( <%= user_lesson.state %> )</a> | |
<a href="<%= lesson_path(syllabus.user_module.course_module, user_lesson.lesson) %>" class="<%= user_lesson.state %> <%= user_lesson.current_status %>"><span><%= user_lesson.number %></span> <%= user_lesson_.name %>( <%= user_lesson.state %> )</a> |
This file contains hidden or 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
Spree::Product::ElasticsearchQuery.class_eval do | |
def query_fields | |
['_all'] | |
end | |
end | |
Spree::Product.class_eval do | |
has_many :model_numbers, class: Spree::ModelNumber, foreign_key: "spree_product_id", dependent: :destroy | |
has_many :vendors, class: Spree::Vendor, through: :model_numbers | |
has_many :tags, class: Spree::ProductTag, foreign_key: "spree_product_id", dependent: :destroy |
This file contains hidden or 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
<ul> | |
<!-- SLIDE --> | |
<li data-index="rs-19" | |
data-transition="zoomout" | |
data-slotamount="default" | |
data-easein="Power4.easeInOut" | |
data-easeout="Power4.easeInOut" | |
data-masterspeed="2000" | |
data-thumb="/revolution-slider/assets/images/timelapse-100x50.jpg" | |
data-rotate="0" |
POST Request To Create User API Endpoint On You Got This System
/users?api_key?sldfjslkdfjljslkdfj
{
"email": '[email protected]',
first_name: 'first',
last_name: 'last_name',