will_paginate-bootstrap icon indicating copy to clipboard operation
will_paginate-bootstrap copied to clipboard

Fix deprecation warnings for Ruby 2.4

Open francocatena opened this issue 9 years ago • 5 comments

Since 2.4 deprecate the use of constant Fixnum, now check for 0.class instead (to ensure compatibility with older versions).

Cheers.

francocatena avatar Mar 14 '17 14:03 francocatena

Could someone merge this?

alejandrodevs avatar May 09 '17 16:05 alejandrodevs

Hey @nickpad can you please merge this? I am using this on Camaleon CMS and I need this solved.

owen2345 avatar Jun 06 '17 13:06 owen2345

If you release a version, then it would only be a new patch version, right?

jesperronn avatar Nov 06 '17 10:11 jesperronn

why not just replace Fixnum with Numeric?

bmalets avatar Feb 01 '18 22:02 bmalets

@bmalets Since this project is no longer maintained (I realized this after the PR) any further discussion is pointless =)

francocatena avatar Feb 02 '18 17:02 francocatena