Skip to content

Instantly share code, notes, and snippets.

View kjg's full-sized avatar

Kevin Glowacz kjg

View GitHub Profile
class AddPeople < ActiveRecord::Migration
def up
create_table 'people' do |t|
t.string :name
end
end
end
# Patch for rails 3.1 below
# For master s/connection_pool/connection.schema_cache/
module ActiveRecord
class Base
class << self
...
def columns
if defined?(@primary_key)
if connection_pool.columns.has_key?(table_name) && connection_pool.primary_keys[table_name].nil?
.foo
// Undefined mixin 'clearfix'
+clearfix
diff --git a/jquery.form.js b/jquery.form.js
index b03638b..37ac7f2 100644
--- a/jquery.form.js
+++ b/jquery.form.js
@@ -380,9 +380,9 @@ $.fn.ajaxSubmit = function(options) {
* the form itself.
*/
$.fn.ajaxForm = function(options) {
- return this.ajaxFormUnbind().bind('submit.form-plugin', function() {
+ return this.ajaxFormUnbind().bind('submit.form-plugin', function(e) {
----- R_Init -----
Initializing OpenGL subsystem
Last renderer was 'ATI Radeon X1600 OpenGL Engine'
r_fullscreen = 1
...setting mode 21:
1680 1050 Fullscreen
No suitable display mode available.
Unable to find requested display mode.
GLimp_Init: window could not be created!
...setting mode 12:
Process: Transmission [52198]
Path: /Users/kevin/proj/transmission/build/Debug/Transmission.app/Contents/MacOS/Transmission
Identifier: org.m0k.transmission
Version: 1.75+ (8686)
Code Type: X86-64 (Native)
Parent Process: launchd [220]
Date/Time: 2009-09-30 21:50:43.098 -0500
OS Version: Mac OS X 10.6.1 (10B504)
Report Version: 6
<div class="receive"><span class="timestamp">11:54:02 PM</span> <span class="sender">senderName: </span><pre class="message"><B>message</B></pre></div>
<div class="send"><span class="timestamp">11:55:30 PM</span> <span class="sender">otherName: </span><pre class="message">message</pre></div>
Derailleur.TorrentListItemView = SC.View.extend(SC.ContentDisplay,
/** @scope Derailleur.TorrentListItemView.prototype */ {
displayProperties: 'isSelected'.w(),
contentDisplayProperties: 'name'.w(),
render: function(context, firstTime) {
var content = this.get('content');
var name = content.get('name');
aasm (2.0.2)
abstract (1.0.0)
actionmailer (2.2.2, 2.0.2, 1.3.6, 1.3.3)
actionpack (2.2.2, 2.0.2, 1.13.6, 1.13.3)
actionwebservice (1.2.6, 1.2.3)
activerecord (2.2.2, 2.0.2, 1.15.6, 1.15.3)
activeresource (2.2.2, 2.0.2)
activesupport (2.2.2, 2.0.2, 1.4.4, 1.4.2)
acts_as_ferret (0.4.1)
addressable (2.0.2, 1.0.4)
13:27:49: -[AIListObject listObject:didSetOrderIndex:]: *** Warning: <AIListContact:1b7a9a60 AIM.+PHONE1> had order index 5.000000, but <AIMetaContact:197bdce0 MetaContact-24: (
"<AIListContact:1b7f8d00 AIM.CONACT1>",
"<AIListContact:1d7b2c60 AIM.CONACT1>",
"<AIListContact:1d8b16d0 GTalk.CONTACT2>",
"<AIListContact:1b7a9a60 AIM.+PHONE1>",
"<AIListContact:1d7eaa20 AIM.+PHONE1>"
)> already had an object with that order index. Setting to 10.000000 instead. Incrementing.
13:27:49: -[AIListObject listObject:didSetOrderIndex:]: *** Warning: <AIListContact:1d7eaa20 AIM.+PHONE1> had order index 5.000000, but <AIMetaContact:197bdce0 MetaContact-24: (
"<AIListContact:1b7f8d00 AIM.CONACT1>",
"<AIListContact:1d7b2c60 AIM.CONACT1>",