ruby-mass icon indicating copy to clipboard operation
ruby-mass copied to clipboard

Introspect the Ruby Heap by indexing, counting, locating references to and detaching (in order to release) objects - optionally narrowing by namespace

Results 4 ruby-mass issues
Sort by recently updated
recently updated
newest added

I get this error in both development and production when trying to use "Mass.print": "WeakRef::RefError: Invalid Reference - probably recycled" ``` gems/ruby-mass-0.1.3/lib/mass.rb:36:in block in index from gems/ruby-mass-0.1.3/lib/mass.rb:35:in each from gems/ruby-mass-0.1.3/lib/mass.rb:35:in...

``` >> ObjectSpace.each_object(ActiveRecord::Base).each do |obj| ?> p Mass.references obj >> end NoMethodError: undefined method `_reference_instances' for # from /apps/zerigons/releases/4b3686948b8a29d68a4bf8647df55acc7c7d6f4b/vendor/bundle/ruby/1.9.1/bundler/gems/rails-3a3c18317943/activerecord/lib/active_record/attribute_methods.rb:275:in `method_missing' from /apps/zerigons/releases/4b3686948b8a29d68a4bf8647df55acc7c7d6f4b/vendor/bundle/ruby/1.9.1/gems/ruby-mass-0.1.3/lib/mass.rb:96:in `references' from (irb):9:in `block in irb_binding' from (irb):8:in...

[5] pry(#)> Mass.references some_object ArgumentError: wrong number of arguments (1 for 0) from /Users/kwerle/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.13/lib/active_support/option_merger.rb:22:in `instance_variables'

When I try to run `Mass.print` from rails console (or inside my app), it thinks for a long time and then errors with: ``` ================================================== Objects within [] namespace ==================================================...