rails_best_practices not start

70 views
Skip to first unread message

zacky az

unread,
Feb 9, 2011, 11:12:38 AM2/9/11
to rails_best_practices, zacky....@gmail.com
Hi

Sorry I don’t know if my previous message was send

I try to run the rails_best_practices on my app (393 files and 61
folders)
Environment rails-bestpractices-0.6.6 jruby_1.5.1 running on windows.
The process stack for a long time after several minutes I kill the
process.

If I remove some files and run it with (345 files and 61 folders) it
run ok

Another strange behavior is:
I cd to app/views
Run the rails_best_practices .
It got 25 error
./company360_views/show.html.erb:490 - move code into model (@company
use_count > 2
Now if I cd to app/views/company360_views
Run the rails_best_practices .
I got No error found. Cool

am I doing something wrong?

Thank and Regard Zacky

huang zhimin

unread,
Feb 9, 2011, 10:01:16 PM2/9/11
to rails_best...@googlegroups.com
Hi,

You should not use rails_best_practices to review only view files. Some checks are dependent on the models analyzing, please use rails_best_practices to analyze the whole rails project.

Thanks

zacky az

unread,
Feb 10, 2011, 3:36:11 AM2/10/11
to rails_best_practices
Hi,

Thank, I switch to ruby 1.9.1 run all my_app and it is working perfect

Regards Zacky
> flyer...@gmail.com
>
> http://www.huangzhimin.com
>  <http://www.huangzhimin.com>http://rails-bestpractices.comhttp://www.rubyslide.comhttp://github.com/flyerhzm
> @flyerhzm- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages