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
there |
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
nice to C u |
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
this is a test |
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
class Entities.Tasks extends Backbone.Collection | |
model: Entities.Task | |
url: -> "/project/#{@project_id}/tasks.json" | |
constructor: (options) -> | |
@project_id = options.project_id | |
super | |
project_tasks = new Entities.Tasks {project_id:project.id} |
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
$(function() { | |
$( "#draggable" ).draggable(); | |
$( "#droppable" ).droppable({ | |
drop: function( event, ui ) { | |
$( this ) | |
.addClass( "ui-state-highlight" ) | |
.find( "p" ) | |
.html( "Dropped!" ); | |
} | |
}); |
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
require 'spec_helper' | |
describe "ShipmentsCalculator" do | |
context "shows the right amount for each shipment", :js => true do | |
before do | |
reset_spree_preferences do |config| | |
config.allow_backorders = true | |
end |
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
ActiveRecord::StatementInvalid in Spree/admin/products#index | |
Showing /home/tima/.rvm/gems/ruby-1.9.2-p290/gems/spree_core-1.1.0.rc1/app/views/spree/admin/products/index.html.erb where line #23 raised: | |
PG::Error: ERROR: column "spree_variants.price" must appear in the GROUP BY clause or be used in an aggregate function | |
LINE 1: ...updated_at, spree_products.count_on_hand ORDER BY "spree_var... | |
^ | |
: SELECT "spree_products".* FROM "spree_products" LEFT OUTER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants".is_master = 't' AND "spree_variants".deleted_at IS NULL WHERE "spree_products"."deleted_at" IS NULL GROUP BY spree_products.id, spree_products.name, spree_products.description, spree_products.available_on, spree_products.deleted_at, spree_products.permalink, spree_products.meta_description, spree_products.meta_keywords, spree_products.tax_category_id, spree_products.shipping_category_id, spree_prod |