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! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Jan 15, 10:27 pm, Newb Newb <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> 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! > -- > 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. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
pharrington wrote:> On Jan 15, 10:27 pm, Newb Newb <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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. -- Posted via http://www.ruby-forum.com/. --00032555412a8aaf96047d44373e Content-Type: text/plain; charset=ISO-8859-1 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. --00032555412a8aaf96047d44373e--
On Jan 16, 3:50 am, Newb Newb <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> pharrington wrote: > > On Jan 15, 10:27 pm, Newb Newb <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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. > -- > 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...) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.