This file contains hidden or 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
java/lang/Thread.java:1503:in `getStackTrace' | |
org/jruby/runtime/backtrace/TraceType.java:59:in `getBacktraceData' | |
org/jruby/runtime/backtrace/TraceType.java:111:in `getBacktraceData' | |
org/jruby/runtime/backtrace/TraceType.java:25:in `getBacktrace' | |
org/jruby/RubyException.java:160:in `prepareBacktrace' | |
org/jruby/exceptions/RaiseException.java:205:in `preRaise' | |
org/jruby/exceptions/RaiseException.java:195:in `preRaise' | |
org/jruby/exceptions/RaiseException.java:112:in `<init>' | |
org/jruby/Ruby.java:3348:in `newRaiseException' | |
org/jruby/Ruby.java:3323:in `newEncodingCompatibilityError' |
This file contains hidden or 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
require 'java' | |
require '/Users/cableray/.rvm/gems/jruby-1.6.5@busydocs/gems/sunspot_solr-1.3.0/solr/start.jar' | |
Dir['/Users/cableray/.rvm/gems/jruby-1.6.5@busydocs/gems/sunspot_solr-1.3.0/solr/lib/*.jar'].each {|f| require f} | |
Java::OrgMortbay.start.Main.main [] # not in a thread yet, but just trying to start it |
This file contains hidden or 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
Template.add_player.events = { | |
'submit': function () { | |
console.log(this); | |
return false; | |
} | |
}; |
This file contains hidden or 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
FactoryGirl.define do | |
factory :antvatar_part_category do | |
sequence(:name) {|n| "Category #{n}"} | |
trait :current_seasonal do | |
started_on {1.week.ago} | |
stopped_on {1.week.from.now} | |
end | |
trait :sesonal_ended do | |
stopped_on {1.week.ago} | |
end |
This file contains hidden or 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: A method named '/users/insert' is already defined | |
at app/packages/livedata/livedata_server.js:843:15 | |
at Function._.each._.forEach (app/packages/underscore/underscore.js:84:24) | |
at _.extend.methods (app/packages/livedata/livedata_server.js:841:7) | |
at Meteor.Collection._defineMutationMethods (app/packages/mongo-livedata/collection.js:379:19) | |
at new Meteor.Collection (app/packages/mongo-livedata/collection.js:104:8) | |
at app/server/users.coffee.js:3:9 | |
at /Users/cableray/Dev/meteor/fae_chess/.meteor/local/build/server/server.js:107:21 | |
at Array.forEach (native) | |
at Function._.each._.forEach (/Users/cableray/Dev/meteor/fae_chess/.meteor/local/build/server/underscore.js:76:11) |
This file contains hidden or 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
module CheetahCub | |
class Transaction | |
attr_reader :transaction_delegate | |
delegate :save, to: :transaction_delegate | |
# def save | |
# transaction_delegate.save | |
# end | |
def initialize | |
@transaction_delegate = Config.module_prefix::Transaction.new | |
end |
This file contains hidden or 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
require 'spec_helper' | |
describe Api do | |
describe "routing" do | |
it "routes to entry point" do | |
['1','v1'].each do |version_spec| | |
get("api/#{version_spec}").should route_to 'api/v1/entry_point#index' | |
end | |
end | |
end |
This file contains hidden or 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
require "ffi/aspell" | |
module Soggle | |
class Board | |
attr_reader :height, :width | |
def initialize(board,speller=::FFI::Aspell::Speller.new("en_US")) | |
@board=parse(board) | |
@[email protected] | |
@[email protected] |
This file contains hidden or 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
%h1.page-heading= "Rating Panels for #{@image.name}" | |
- if @image.rating_panels.empty? | |
.alert no rating panels for this image | |
- @image.rating_panels.each do |panel| | |
.row-fluid.panel-listing | |
%h1= panel.name | |
%p= panel.description | |
%hr |
This file contains hidden or 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
require 'jade' | |
module ResourceBrowser | |
class Engine < ::Rails::Engine | |
isolate_namespace ResourceBrowser | |
config.assets.enabled = true | |
end | |
end |
OlderNewer