Topic: Rails Console Relentlessly Shows Rendering time for each commit I do

On most changes I make in my Rails Console I get render times.
Here is an example...
>> edit.save    (0.2ms) 
BEGIN    (0.6ms) 
UPDATE `section_edits`
SET `updated_at` = '2012-03-15 18:42:59', `admin_user_id` = 1 WHERE `section_edits`.`id` = 1    (27.4ms)  COMMIT
=> true 

and another 

>> section.section_edits << edit   
(0.3ms)  BEGIN   
SQL (0.4ms)  INSERT INTO `section_edits` (`admin_user_id`, `created_at`, `section_id`, `summary`, `updated_at`) VALUES (NULL, '2012-03-15 18:42:47', 2, 'Test edit', '2012-03-15 18:42:47')   
(0.4ms)  COMMIT
=> [#<SectionEdit id: 1, admin_user_id: nil, section_id: 2, summary:

Last edited by devanflaherty (2012-03-15 15:18:32)

Re: Rails Console Relentlessly Shows Rendering time for each commit I do

I don't see any render times there.
What's the issue with what you have posted?

What you want and what you need are too often not the same thing!
When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.
(Quote by me 15th July 2009)

Re: Rails Console Relentlessly Shows Rendering time for each commit I do

I'm sorry I should have clarified.
Rather than the rails console just telling me it's =>true or =>set
It adds this
(0.3ms)  BEGIN   
SQL (0.4ms)  INSERT INTO `section_edits` (`admin_user_id`, `created_at`, `section_id`, `summary`, `updated_at`) VALUES (NULL, '2012-03-15 18:42:47', 2, 'Test edit', '2012-03-15 18:42:47')   
(0.4ms)  COMMIT
in between the >> and =>.

Re: Rails Console Relentlessly Shows Rendering time for each commit I do

That's normal for Ruby  1.9.x
It's what you also see in your production and development log files and extremely useful information

What you want and what you need are too often not the same thing!
When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.
(Quote by me 15th July 2009)

Re: Rails Console Relentlessly Shows Rendering time for each commit I do

I just didn't know if it was normal cause my instructors wasn't showing it. Thanks for your input.