Ruby on Rails Friday, February 10, 2017

On Friday, February 10, 2017 at 1:05:57 PM UTC+1, Colin Law wrote:
On 10 February 2017 at 11:50, 'krfg' via Ruby on Rails: Talk
<> wrote:
> I would need information about
> When I try to open test.log Atom warns me that if it opens large files it
> might become unresponsive.
> Shall I take for granted that you are interested it test.log?

Whichever log is relevant at the time, so when running tests then yes
it is test.log.  You can use tail to watch the log while you run the
tail -f log/test.log
or you can use tail after the event just to show the last lines
tail -n 100 log/test.log

Also you can delete or empty the log file before running the test,
then it will only contain the latest information.

In fact I think outputs to the console too so you don't
need to look at the log. Not certain about that though.


Ok, thanks for the suggestion.
I will try to use tail if it works with such a heavy file, otherwise I would need instructions on how to empty the file.
The most important thing I have to understand is: where should I place
In static_pages_controller.rb before the declaration of @atp_tournaments variable?

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment