I hereby claim:
- I am nbudin on github.
- I am nbudin (https://keybase.io/nbudin) on keybase.
- I have a public key ASB1M4rvAA17Fh8wiug7MbVb9QI_yK_jNPoJ8pG2ZLnagwo
To claim this, I am signing this object:
this.state = { toolboxCategories: [ | |
{ | |
"name": "Logic", | |
"colour": "#5C81A6", | |
"blocks": [ | |
{ | |
"type": "controls_if" | |
}, | |
{ | |
"fields": { |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
unless File.exist?('Gemfile') | |
File.write('Gemfile', <<-GEMFILE) | |
source 'https://rubygems.org' | |
gem 'rails', github: 'rails/rails' | |
gem 'arel', github: 'rails/arel' | |
gem 'sqlite3' | |
GEMFILE | |
system 'bundle' | |
end |
unless File.exist?('Gemfile') | |
File.write('Gemfile', <<-GEMFILE) | |
source 'https://rubygems.org' | |
gem 'rails', github: 'rails/rails' | |
gem 'arel', github: 'rails/arel' | |
gem 'pg' | |
GEMFILE | |
system 'bundle' | |
end |
# Activate the gem you are reporting the issue against. | |
gem 'activerecord', '4.1.1' | |
require 'active_record' | |
require 'minitest/autorun' | |
require 'logger' | |
# Ensure backward compatibility with Minitest 4 | |
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test) | |
# This connection will do for database-independent bug reports. |
Warden::Strategies.add(:openid) do | |
def valid? | |
!params["openid_identifier"].blank? | |
end | |
def authenticate! | |
if resp = env[Rack::OpenID::RESPONSE] | |
RAILS_DEFAULT_LOGGER.info "Attempting OpenID auth: #{env["rack.openid.response"].inspect}" | |
case resp.status | |
when :success |
[submodule "octopi"] | |
path = octopi | |
url = git://github.com/fcoury/octopi.git |