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
// In some route... | |
actions: { | |
deleteModel: function (model) { | |
model.deleteRecord(); | |
model.save().then( | |
function () { | |
console.log("I succeeded... but this isn't the point of this gist..."); | |
}, | |
function () { |
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
end of file reached (ActionView::Template::Error) | |
/home/ubuntu/eternal-sledgehammer/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.3/lib/active_support/core_ext/marshal.rb:6:in `load' | |
/home/ubuntu/eternal-sledgehammer/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.3/lib/active_support/core_ext/marshal.rb:6:in `load_with_autoloading' | |
/home/ubuntu/eternal-sledgehammer/vendor/bundle/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/cache/file_store.rb:19:in `block in []' | |
/home/ubuntu/eternal-sledgehammer/vendor/bundle/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/cache/file_store.rb:19:in `open' | |
/home/ubuntu/eternal-sledgehammer/vendor/bundle/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/cache/file_store.rb:19:in `open' | |
/home/ubuntu/eternal-sledgehammer/vendor/bundle/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/cache/file_store.rb:19:in `[]' | |
/home/ubuntu/eternal-sledgehammer/vendor/bundle/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/caching.rb:14:in `cache_get' | |
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
markdown-js [4f020ba...] % grunt --verbose | |
Initializing | |
Command-line options: --verbose | |
Reading "Gruntfile.js" Gruntfile...OK | |
Registering Gruntfile tasks. | |
Reading package.json...OK | |
Parsing package.json...OK | |
Initializing config...OK |
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
marshal data too short (ActionView::Template::Error) | |
/home/ubuntu/eternal-sledgehammer/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/core_ext/marshal.rb:6:in `load' | |
/home/ubuntu/eternal-sledgehammer/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/core_ext/marshal.rb:6:in `load_with_autoloading' | |
/home/ubuntu/eternal-sledgehammer/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/cache/file_store.rb:19:in `block in []' | |
/home/ubuntu/eternal-sledgehammer/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/cache/file_store.rb:19:in `open' | |
/home/ubuntu/eternal-sledgehammer/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/cache/file_store.rb:19:in `open' | |
/home/ubuntu/eternal-sledgehammer/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/cache/file_store.rb:19:in `[]' | |
/home/ubuntu/eternal-sledgehammer/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/caching.rb:14:in `cache_get' |
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
Promise = Em.RSVP.Promise | |
MyModel = DS.Model.extend | |
someRequest: -> | |
deferred = $.post('/some/end/point') | |
Promise.cast(deferred).then this.reload.bind(this) |
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
defaultFoo = 10 | |
foo = 3 | |
foo = (defaultFoo > foo) ? defaultFoo : foo | |
console.log(foo) | |
=> true |
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
WARNING on line 604 of /vagrant/vendor/assets/stylesheets/csswizardry-grids.scss: ".push--desk--four-sixteenths" failed to @extend ".push--desk--one-quarters". | |
WARNING on line 604 of /vagrant/vendor/assets/stylesheets/csswizardry-grids.scss: ".push--max--four-sixteenths" failed to @extend ".push--max--one-quarters". | |
WARNING on line 746 of /vagrant/vendor/assets/stylesheets/csswizardry-grids.scss: ".pull--four-sixteenths" failed to @extend ".pull--one-quarters". | |
WARNING on line 746 of /vagrant/vendor/assets/stylesheets/csswizardry-grids.scss: ".pull--palm--four-sixteenths" failed to @extend ".pull--palm--one-quarters". | |
WARNING on line 746 of /vagrant/vendor/assets/stylesheets/csswizardry-grids.scss: ".pull--lap--four-sixteenths" failed to @extend ".pull--lap--one-quarters". | |
WARNING on line 746 of /vagrant/vendor/assets/stylesheets/csswizardry-grids.scss: ".pull--double--four-sixteenths" failed to @extend ".pull--double--one-quarters". | |
WARNING on line 746 of /vagrant/vendor/assets/stylesheets/csswizardry-grids. |
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
try { | |
post.get('comments').reload(); | |
} catch (e) { | |
post.get('comments'); | |
} |
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
commit ecf68bb77b778490c79bda9b7ccdb0e68ead1cd3 | |
Author: Tomster <tomster@emberjs.com> | |
Date: Wed Nov 12 16:08:14 2014 -0500 | |
Initial Commit from Ember CLI v0.1.2 | |
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,....,,........,.. . . .,..........., | |
,,,,,,,,,,,,,,,:...,,.,,,,,,,,,,,,,,,,,,,,,.,,.,,......... .~.::::. .........., | |
,,,,,,,,,,,,. .. .. .. ..,... ,+7ZOOOZ7=, . .,..... ~.=:::::: .........., | |
,,,,,,,,,, .====IIIIISZ. .. 7ZSIIIIIIIIIIIIIII7ZO... .::..+:::::::= .........., |
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
# Activate the gem you are reporting the issue against. | |
gem 'activerecord', '4.2.0.rc1' | |
gem 'pg' | |
require 'active_record' | |
require 'minitest/autorun' | |
require 'logger' | |
# Ensure backward compatibility with Minitest 4 | |
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test) |
OlderNewer