Skip to content

Instantly share code, notes, and snippets.

@egadstar
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egadstar/6b33d76d8b3fc44733dc to your computer and use it in GitHub Desktop.
Save egadstar/6b33d76d8b3fc44733dc to your computer and use it in GitHub Desktop.
Regression in JRuby 9.0.0.0.pre2/rc1
require 'active_interaction'
module Bar
class Foo < ActiveInteraction::Base
string :foobar
def execute
# just return the string passed in, not important to reproduce the issue
"#{foobar}"
end
end
end
source 'https://rubygems.org'
gem 'active_interaction', '2.0.1'
require_relative 'foo'
puts Bar::Foo.run(foobar: "barfoo").result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment