[deprecated] warning

Hi…

require “spreadsheet/Excel”

in my controller i have a method to generate reports for my logs.
That functionality works fine.
Why do i get the below errors in my server console.

[DEPRECATED] By requiring ‘spreadsheet/excel’ you are loading a
Compatibility
layer which provides a drop-in replacement for
Spreadsheet::Excel
versions <= 0.3.5.1. This code will be removed in
Spreadsheet
version 1.0.0

Thanks for any help!

On Jan 15, 10:27Â pm, Newb N. [email protected] wrote:

       layer which provides a drop-in replacement for
Spreadsheet::Excel
       versions <= 0.3.5.1. This code will be removed in
Spreadsheet
       version 1.0.0

Thanks for any help!

Posted viahttp://www.ruby-forum.com/.

By requiring ‘spreadsheet/excel’ you are loading a Compatibility layer
which provides a drop-in replacement for Spreadsheet::Excel versions
<= 0.3.5.1. This code will be removed in Spreadsheet version 1.0.0.

pharrington wrote:

On Jan 15, 10:27Â pm, Newb N. [email protected] wrote:

       layer which provides a drop-in replacement for
Spreadsheet::Excel
       versions <= 0.3.5.1. This code will be removed in
Spreadsheet
       version 1.0.0

Thanks for any help!

Posted viahttp://www.ruby-forum.com/.

By requiring ‘spreadsheet/excel’ you are loading a Compatibility layer
which provides a drop-in replacement for Spreadsheet::Excel versions
<= 0.3.5.1. This code will be removed in Spreadsheet version 1.0.0.

Thanks for the reply.
Then how should i require it.

On Jan 16, 3:50Â am, Newb N. [email protected] wrote:

Posted viahttp://www.ruby-forum.com/.

By requiring ‘spreadsheet/excel’ you are loading a Compatibility layer
which provides a drop-in replacement for Spreadsheet::Excel versions
<= 0.3.5.1. This code will be removed in Spreadsheet version 1.0.0.

Thanks for the reply.
Then how should i require it.

Posted viahttp://www.ruby-forum.com/.

This is answered on the guide on the gem’s homepage. (Too be far, the
“have a look at the GUIDE” link is broken, but just scroll down a tiny
bit…)