flyerhzm/rails_best_practices — Issue #63: runner.rb:107:in `rescue in parse_ruby': undefined local variable or method `filename'
Author: styx
Created: 2011-10-10 13:05:21+00:00
State: open

```
./db/migrate/20090923075352_add_test_data_to_file_tags.rb
/home/styx/.rvm/gems/ruby-1.9.2-p290/gems/rails_best_practices-1.1.0/lib/rails_best_practices/core/runner.rb:107:in `rescue in parse_ruby': undefined local variable or method `filename' for # (NameError)
from /home/styx/.rvm/gems/ruby-1.9.2-p290/gems/rails_best_practices-1.1.0/lib/rails_best_practices/core/runner.rb:103:in `parse_ruby'
from (eval):4:in `review'
from (eval):10:in `review_file'
from /home/styx/.rvm/gems/ruby-1.9.2-p290/gems/rails_best_practices-1.1.0/lib/rails_best_practices.rb:105:in `block in process'
from /home/styx/.rvm/gems/ruby-1.9.2-p290/gems/rails_best_practices-1.1.0/lib/rails_best_practices.rb:104:in `each'
from /home/styx/.rvm/gems/ruby-1.9.2-p290/gems/rails_best_practices-1.1.0/lib/rails_best_practices.rb:104:in `process'
from /home/styx/.rvm/gems/ruby-1.9.2-p290/gems/rails_best_practices-1.1.0/lib/rails_best_practices.rb:85:in `block in start'
from /home/styx/.rvm/gems/ruby-1.9.2-p290/gems/rails_best_practices-1.1.0/lib/rails_best_practices.rb:85:in `each'
from /home/styx/.rvm/gems/ruby-1.9.2-p290/gems/rails_best_practices-1.1.0/lib/rails_best_practices.rb:85:in `start'
from /home/styx/.rvm/gems/ruby-1.9.2-p290/gems/rails_best_practices-1.1.0/lib/rails_best_practices/command.rb:78:in `'
from /home/styx/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/styx/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/styx/.rvm/gems/ruby-1.9.2-p290/gems/rails_best_practices-1.1.0/bin/rails_best_practices:6:in `'
from /home/styx/.rvm/gems/ruby-1.9.2-p290/bin/rails_best_practices:19:in `load'
from /home/styx/.rvm/gems/ruby-1.9.2-p290/bin/rails_best_practices:19:in `

'
```