I use them too, but at work we only write to the log if the file already
exists. So if you rm `log/test.log` it won't be written to, but if you
touch it, then you'll get logs.
On Tue, Oct 25, 2016 at 02:15:51AM +, Rafael Mendonça França wrote:
> I personally use `test.log` a lot to check the
I personally use `test.log` a lot to check the sql queries that are being
made in my test run.
Also setups using pow or any long running web server only uses the
development.log so changing this will break that setup. I can see we
disabling the boardcast, but I’d not do that by default.
On Mon,
Hi there.
I know this, although easy, would be a big step. So I'd love to hear your
thoughts.
I can't remember the last time I needed to open/read log/development.log or
log/test.log.
This is just consuming disk space unnecessarily (my test.loge easily
reaches more than 1 GB!).
After
Does rails guarantee that the order of execution of multiple
append_action_filters is same as the order in which these filters appear in
the source file? For example,
I have a rails controller problems_controller.rb, a snippet from which is
copied below.
append_before_action
Heya,
Setting condition classes is a huge pain in rails at the moment, or maybe i
am missing it but i can't see to find it. borrowed from react components
kind of style.
I want something like this (the class selected is only added if the value
is true)
link_to("Homepage", root_path, class:
Well this is old, but still relevant :) I've seen the replies, but i've we
do it the way we wanted and just because all the other attributes are doing
it that way, i think you're doing it wrong. Rails is meant to please the
developer, making painful constructs just to make a link selected or