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
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
/opt/rubies/ruby-2.1.1/bin/ruby extconf.rb | |
/opt/rubies/ruby-2.1.1/bin/ruby: invalid switch in RUBYOPT: -p (RuntimeError) | |
extconf failed, exit code 1 | |
Gem files will remain installed in /var/lib/jenkins/workspace/shipperprofile.shipt.com pull requests/.bundle/bundle/ruby/2.1.0/gems/debug_inspector-0.0.2 for inspection. | |
Results logged to /var/lib/jenkins/workspace/shipperprofile.shipt.com pull requests/.bundle/bundle/ruby/2.1.0/extensions/x86_64-linux/2.1.0-static/debug_inspector-0.0.2/gem_make.out |
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='row buttons-group'> | |
<div class="span2 offset6 columns"> | |
<%= link_to 'Cancel', '#', :class=> 'button cancel' %> | |
</div> | |
<div class="span2 columns"> | |
<%=f.submit 'Save', :class=> 'button' %> | |
</div> | |
</div> |
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
$(document).ready( function () { | |
$( "#dropdown-toggle" ).click( function(){ | |
if ($("#dropdown-content").hasClass('active')) { | |
$("#dropdown-content").removeClass('active') | |
} else { | |
$("#dropdown-content").addClass('active') | |
} | |
}); | |
}); |
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
#error_explanation.alert-error{ | |
background: #f2dede; | |
background-color: #f2dede; | |
border: 1px solid #eed3d7; | |
color: #b94a48; | |
padding: 8px 35px 8px 14px; | |
margin: 0 0 20px; | |
} | |
#error_explanation.alert-error li{ | |
font-size: 12px; |
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
{ | |
"post": { | |
"id": 5, | |
"name": "Barack", | |
"foo": "Obama", | |
"bar": "President" | |
} | |
} |
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
{ | |
"posts": [ | |
{ | |
"id": 1, | |
"title": "I'm Running to Reform the W3C's Tag", | |
"author": "Yehuda Katz" | |
}, | |
{ | |
"id": 2, | |
"title": "Rails is omakase", |
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
.history-items .history-item:not(:first-child) { | |
margin-top: 0; | |
} |
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
import DS from 'ember-data'; | |
export default DS.RESTSerializer.extend(DS.EmbeddedRecordsMixin, { | |
primaryKey: 'ID', | |
extractArray: function(store, type, payload) { | |
var payloadTemp = {}; | |
payloadTemp[type.typeKey] = payload; | |
return this._super(store, type, payloadTemp); | |
}, | |
extractSingle: function(store, type, payload, id) { |
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
import DS from 'ember-data'; | |
import Ember from 'ember'; | |
export default DS.Model.extend({ | |
// Attributes | |
first_name: DS.attr('string'), | |
middle_name: DS.attr('string'), | |
last_name: DS.attr('string'), | |
notes: DS.attr('string'), | |
date_of_birth: DS.attr('date'), |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Notifying a property change on a property passed into a child component', | |
description: 'There is a parent component with some buttons. When a user clicks on a button, the buttons\'s action changes the property. Since the changed property is passed into the wrapped component, you would expect that it\'s observer would fire also. But it does not. To try this, just type in 1233 and you will see that the last 3 will not render.' | |
}); |
OlderNewer