<script type=”text/javascript”>tyntVariables = {“ap”:”“};</script> <script type=”text/javascript” src=”http://tcr.tynt.com/javascripts/Tracer.js?user=d1CwI4pPar3PzPacn9QLBk&s=50&st=1”></script>
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
diff --git a/lib/authlogic_openid/acts_as_authentic.rb b/lib/authlogic_openid/acts_as_authentic.rb | |
index 92c9c52..c0be2e7 100644 | |
--- a/lib/authlogic_openid/acts_as_authentic.rb | |
+++ b/lib/authlogic_openid/acts_as_authentic.rb | |
@@ -45,9 +45,9 @@ module AuthlogicOpenid | |
klass.class_eval do | |
validates_uniqueness_of :openid_identifier, :scope => validations_scope, :if => :using_openid? | |
validate :validate_openid | |
- validates_length_of_password_field_options validates_length_of_password_field_options.merge(:if => :validate_password_with_openid?) | |
- validates_confirmation_of_password_field_options validates_confirmation_of_password_field_options.merge(:if => :validate_password_with_openid?) |
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
diff --git a/lib/authlogic_oauth/acts_as_authentic.rb b/lib/authlogic_oauth/acts_as_authentic.rb | |
index ddc313c..a929aee 100644 | |
--- a/lib/authlogic_oauth/acts_as_authentic.rb | |
+++ b/lib/authlogic_oauth/acts_as_authentic.rb | |
@@ -45,11 +45,11 @@ module AuthlogicOauth | |
validates_uniqueness_of klass.oauth_token_field, :scope => validations_scope, :if => :using_oauth? | |
validates_presence_of klass.oauth_secret_field, :scope => validations_scope, :if => :using_oauth? | |
- validates_length_of_password_field_options validates_length_of_password_field_options.merge(:if => :validate_password_with_oauth?) | |
- validates_confirmation_of_password_field_options validates_confirmation_of_password_field_options.merge(:if => :validate_password_with_oauth?) |
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
diff --git a/vendor/plugins/authlogic_facebook_connect/lib/authlogic_facebook_connect/acts_as_authentic.rb b/vendor/plugins/authlogic_facebook_connect/lib/authlogic_facebook_connect/acts_as_authentic.rb | |
index fb9fa1b..9f08b05 100644 | |
--- a/vendor/plugins/authlogic_facebook_connect/lib/authlogic_facebook_connect/acts_as_authentic.rb | |
+++ b/vendor/plugins/authlogic_facebook_connect/lib/authlogic_facebook_connect/acts_as_authentic.rb | |
@@ -11,10 +11,32 @@ module AuthlogicFacebookConnect | |
end | |
module Methods | |
+ # Set up some simple validations | |
def self.included(klass) |
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
ArgumentError: wrong number of arguments (1 for 0) | |
from /Users/bfolkens/.rvm/gems/ruby-1.8.7-p334@rails31/gems/builder-3.0.0/lib/builder/xmlbase.rb:135:in `to_xs' | |
from /Users/bfolkens/.rvm/gems/ruby-1.8.7-p334@rails31/gems/builder-3.0.0/lib/builder/xmlbase.rb:135:in `_escape' | |
from /Users/bfolkens/.rvm/gems/ruby-1.8.7-p334@rails31/gems/builder-3.0.0/lib/builder/xmlbase.rb:140:in `_escape_quote' | |
from /Users/bfolkens/.rvm/gems/ruby-1.8.7-p334@rails31/gems/builder-3.0.0/lib/builder/xmlmarkup.rb:320:in `_attr_value' | |
from /Users/bfolkens/.rvm/gems/ruby-1.8.7-p334@rails31/gems/builder-3.0.0/lib/builder/xmlmarkup.rb:308:in `_insert_attributes' | |
from /Users/bfolkens/.rvm/gems/ruby-1.8.7-p334@rails31/gems/builder-3.0.0/lib/builder/xmlmarkup.rb:306:in `each' | |
from /Users/bfolkens/.rvm/gems/ruby-1.8.7-p334@rails31/gems/builder-3.0.0/lib/builder/xmlmarkup.rb:306:in `_insert_attributes' | |
from /Users/bfolkens/.rvm/gems/ruby-1.8.7-p334@rails31/gems/builder-3.0.0/lib/builder/xmlmarkup.rb:284:in `_special' | |
from /Users/bf |
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
--- activesupport-3.1.0.rc4/lib/active_support/core_ext/string/xchar.rb 2011-06-27 13:09:24.000000000 -0500 | |
+++ activesupport-3.1.0.rc4.patched/lib/active_support/core_ext/string/xchar.rb 2011-06-25 10:09:06.000000000 -0500 | |
@@ -13,6 +13,13 @@ | |
class String | |
alias_method :original_xs, :to_xs if method_defined?(:to_xs) | |
- alias_method :to_xs, :fast_xs | |
+ | |
+ # to_xs expects 0 args from Builder < 3 but not >= 3, although fast_xs is 0 args | |
+ if instance_method(:to_xs).arity == 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
/* | |
* daemonize.c | |
* This example daemonizes a process, writes a few log messages, | |
* sleeps 20 seconds and terminates afterwards. | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <signal.h> |
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
<a href="http://twitter.com/bfolkens"><img src="/path/to/image.png"></a> |
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
#!/usr/bin/env ruby | |
require 'open-uri' | |
require 'csv' | |
CSV.open('infile.csv') do |csv| | |
csv.each do |row| | |
url = row[0] | |
open(url) do |infile| | |
rootname = File.basename(url) |
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
var key = 'YOUR API KEY'; | |
var token = 'THE TOKEN FROM THE REQUEST RESPONSE'; | |
var poll = function() { | |
$.ajax({ | |
'async': true, | |
'crossDomain': true, | |
'url': 'https://api.cloudsightapi.com/image_responses/' + token, | |
'method': 'GET', | |
'headers': { |
OlderNewer