Skip to content

Instantly share code, notes, and snippets.

View slave2zeros's full-sized avatar

Ryan Gallagher slave2zeros

View GitHub Profile
To git@github.com:timmyfury/gamervision.com.git
! [rejected] master -> master (non-fast forward)
error: failed to push some refs to 'git@github.com:timmyfury/gamervision.com.git'
To prevent you from losing history, non-fast-forward updates were rejected.
Merge the remote changes before pushing again.
See 'non-fast forward' section of 'git push --help' for details.
a:hover {
background-color:#000000;
color:#FFFFFF;
}
user_pairs GET /users/:user_id/pairs {:controller=>"pairs", :action=>"index"}
formatted_user_pairs GET /users/:user_id/pairs.:format {:controller=>"pairs", :action=>"index"}
POST /users/:user_id/pairs {:controller=>"pairs", :action=>"create"}
POST /users/:user_id/pairs.:format {:controller=>"pairs", :action=>"create"}
new_user_pair GET /users/:user_id/pairs/new {:controller=>"pairs", :action=>"new"}
formatted_new_user_pair GET /users/:user_id/pairs/new.:format {:controller=>"pairs", :action=>"new"}
edit_user_pair GET /users/:user_id/pairs/:id/edit {:controller=>"pairs", :action=>"edit"}
formatted_edit_user_pair GET /users/:user_id/pairs/:id/edit.:format {:controller=>"pairs", :action=>"edit"}
user_pair GET /users/:user_id/pairs/:id {:controller=>"pairs", :action=>"show"}
<tracks type="array">
<track>
<album-id type="integer" nil="true"/>
<artist-id type="integer">1</artist-id>
<audio-id nil="true"/>
<bitrate type="integer" nil="true"/>
<bpm type="integer" nil="true"/>
<created-at type="datetime">2009-09-29T17:55:52Z</created-at>
<filename nil="true"/>
<?xml version="1.0" encoding="UTF-8"?>
<tracks type="array">
<track>
<album-id type="integer" nil="true"></album-id>
<artist-id type="integer">1</artist-id>
<audio-id nil="true"></audio-id>
<bitrate type="integer" nil="true"></bitrate>
<bpm type="integer" nil="true"></bpm>
<created-at type="datetime">2009-09-29T17:55:52Z</created-at>
<!-- /users/slave2zeros/tracks.xml -->
<?xml version="1.0" encoding="UTF-8"?>
<tracks type="array">
<track>
<album-id type="integer">1</album-id>
<artist-id type="integer">3</artist-id>
<audio-id nil="true"></audio-id>
<bitrate type="integer" nil="true"></bitrate>
<bpm type="integer" nil="true"></bpm>
var myClass = function() {
this.initialize.apply(this, arguments)
};
myClass.prototype = {
initialize: function(snark) {
this.setSnark(snark);
},
setSnark: function(snark) {
this.snark = snark;
}
Event.observe(myLink, "click", function(self) {
return function theFunctionIReallyWantToRun(evt) {
console.log(self.somePropertyIWantToAccess);
}
}(someScopeMaybeThis));
-form_for([@user, @article], :html => {:class => @form_class}) do |f|
-fields_for :game do |game|
=game.hidden_field(:id, {})
map.resources :investments do |investment|
investment.resources :children
end