Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Rails Best Practices throws Error #65

Closed
Blue-Dog-Archolite opened this Issue · 0 comments

2 participants

Robert R. Meyer Benjamin Fleischer
Robert R. Meyer

Parsing app/controllers/affinities_controller.rb
/Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/reviews/law_of_demeter_review.rb:87:in is_association_attribute?': undefined methodis_attribute?' for nil:NilClass (NoMethodError)
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/reviews/law_of_demeter_review.rb:70:in need_delegate?'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/reviews/law_of_demeter_review.rb:42:in
start_call'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/check.rb:42:in send'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/check.rb:42:in
node_start'
from (eval):6:in review'
from (eval):4:in
each'
from (eval):4:in review'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/visitable_sexp.rb:16:in
review'
from (eval):10:in review'
from (eval):10:in
each'
from (eval):10:in review'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/visitable_sexp.rb:16:in
review'
from (eval):10:in review'
from (eval):10:in
each'
from (eval):10:in review'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/visitable_sexp.rb:16:in
review'
from (eval):10:in review'
from (eval):10:in
each'
from (eval):10:in review'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/visitable_sexp.rb:16:in
review'
from (eval):10:in review'
from (eval):10:in
each'
from (eval):10:in review'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/visitable_sexp.rb:16:in
review'
from (eval):10:in review'
from (eval):10:in
each'
from (eval):10:in review'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/visitable_sexp.rb:16:in
review'
from (eval):10:in review'
from (eval):10:in
each'
from (eval):10:in review'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/visitable_sexp.rb:16:in
review'
from (eval):10:in review'
from (eval):10:in
each'
from (eval):10:in review'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/visitable_sexp.rb:16:in
review'
from (eval):10:in review'
from (eval):10:in
each'
from (eval):10:in review'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/visitable_sexp.rb:16:in
review'
from (eval):10:in review'
from (eval):10:in
each'
from (eval):10:in review'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/visitable_sexp.rb:16:in
review'
from (eval):10:in review'
from (eval):10:in
each'
from (eval):10:in review'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/visitable_sexp.rb:16:in
review'
from (eval):10:in review'
from (eval):10:in
each'
from (eval):10:in review'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/visitable_sexp.rb:16:in
review'
from (eval):10:in review'
from (eval):10:in
each'
from (eval):10:in review'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/core/visitable_sexp.rb:16:in
review'
from (eval):5:in review'
from (eval):9:in
review_file'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices.rb:106:in send'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices.rb:106:in
process'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices.rb:105:in each'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices.rb:105:in
process'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices.rb:86:in send'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices.rb:86:in
start'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices.rb:86:in each'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices.rb:86:in
start'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/lib/rails_best_practices/command.rb:78
from /Users/rmeyer/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in gem_original_require'
from /Users/rmeyer/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
require'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/rails_best_practices-0.7.5/bin/rails_best_practices:6
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/bin/rails_best_practices:19:in load'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/bin/rails_best_practices:19
/Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/metric_fu-2.1.1/lib/generators/rails_best_practices.rb:11:in
analyze': undefined method first' for nil:NilClass (NoMethodError)
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/metric_fu-2.1.1/lib/base/generator.rb:130:in
send'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/metric_fu-2.1.1/lib/base/generator.rb:130:in generate_report'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/metric_fu-2.1.1/lib/base/generator.rb:128:in
each'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/metric_fu-2.1.1/lib/base/generator.rb:128:in generate_report'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/metric_fu-2.1.1/lib/base/report.rb:60:in
add'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/metrical-0.0.5/bin/metrical:34
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/metrical-0.0.5/bin/metrical:34:in each'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/gems/metrical-0.0.5/bin/metrical:34
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/bin/metrical:19:in
load'
from /Users/rmeyer/.rvm/gems/ree-1.8.7-2010.02@cms/bin/metrical:19

Benjamin Fleischer bf4 referenced this issue in metricfu/metric_fu
Closed

Rails Best Practices throws Error #20

Benjamin Fleischer bf4 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.