Ruby on Rails Friday, February 10, 2017

On 10 February 2017 at 12:16, 'krfg' via Ruby on Rails: Talk
<rubyonrails-talk@googlegroups.com> wrote:
>
> 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
> logger.info?
> In static_pages_controller.rb before the declaration of @atp_tournaments
> variable?

The purpose of inserting the line is firstly to check that the above
line is being reached, but secondly to check the value of the
variable. To check the value of the variable you must put it after the
line determining @atp_tournaments.

Colin

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvTmvB6POfBM3f74AWwP8Qzp6LQfFei6kw82890s4s9Zg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment