A ruby application on rails or not can leak memory either in the ruby code or at the c code level.
Ruby console log.
The difference between the two is that the latter adds a new line character.
Usr bin ruby print apple print apple n puts orange puts orange the print and puts methods produce textual output on the console.
Enter the logging framework.
5 debugging memory leaks.
When working on the js for bugsnag i kept accidentally typing console log into rails.
Since web console evaluates plain ruby code remotely on the server don t try to use it in production.
This is useful for testing out quick ideas with code and changing data server side without touching the website.
Log a message when a console rendering is prevented defaults.
Think about our toy app.
Using console log lets you easily see only log messages in this request.
I ve got a ruby statement that generates lots of prints 8k lines and i d like to be able to see it completely but the console only remembers the last 1024 lines or so.
It was designed to give you as quick a start on the ruby logging world as humanly possible.
The console command lets you interact with your rails application from the command line.