-
-
Save bbrowning/92cdbd791d12813048c2 to your computer and use it in GitHub Desktop.
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
module ActiveSupport | |
# A class with no predefined methods that behaves similarly to Builder's | |
# BlankSlate. Used for proxy classes. | |
class ProxyObject < ::BasicObject | |
undef_method :== | |
undef_method :equal? | |
# Let ActiveSupport::ProxyObject at least raise exceptions. | |
def raise(*args) | |
::Object.send(:raise, *args) | |
end | |
end | |
end |
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
NameError: Undefined method == for class 'ActiveSupport::ProxyObject' | |
undef_method at org/jruby/RubyModule.java:2439 | |
(root) at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/gems/shared/gems/activesupport-4.1.8/lib/active_support/proxy_object.rb:5 | |
(root) at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/gems/shared/gems/activesupport-4.1.8/lib/active_support/duration.rb:1 | |
(root) at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/gems/shared/gems/activesupport-4.1.8/lib/active_support/duration.rb:1 | |
require at org/jruby/RubyKernel.java:954 | |
__script__ at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:69 | |
(root) at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/gems/shared/gems/activesupport-4.1.8/lib/active_support/core_ext/time/calculations.rb:1 | |
require at org/jruby/RubyKernel.java:954 | |
__script__ at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:69 | |
(root) at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/gems/shared/gems/activesupport-4.1.8/lib/active_support/core_ext/time/calculations.rb:1 | |
require at org/jruby/RubyKernel.java:954 | |
__script__ at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:69 | |
(root) at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/gems/shared/gems/activesupport-4.1.8/lib/active_support/core_ext/time.rb:1 | |
require at org/jruby/RubyKernel.java:954 | |
__script__ at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:69 | |
(root) at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/gems/shared/gems/activesupport-4.1.8/lib/active_support/core_ext/time.rb:2 | |
require at org/jruby/RubyKernel.java:954 | |
__script__ at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:128 | |
(root) at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/gems/shared/gems/activesupport-4.1.8/lib/active_support/time.rb:1 | |
load at org/jruby/RubyKernel.java:969 | |
(root) at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/gems/shared/gems/activesupport-4.1.8/lib/active_support/time.rb:12 | |
each at org/jruby/RubyArray.java:1569 | |
(root) at /home/bbrowning/src/torquebox/docs/spec/scheduling_guide_spec.rb:1 | |
(root) at /home/bbrowning/src/torquebox/docs/spec/scheduling_guide_spec.rb:17 | |
(root) at /home/bbrowning/.rbenv/versions/jruby-9.0.0.0-pre1/lib/ruby/gems/shared/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment