# Acts\_as\_comparable: gem installation

**URL:** <https://www.ruby-forum.com/t/acts-as-comparable-gem-installation/115270>\
**Category:** Rails\
**Created:** [September 22, 2007, 11:25pm UTC](https://www.ruby-forum.com/t/acts-as-comparable-gem-installation/115270 "2007-09-22T23:25:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leonb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/22d042/32.png) [@leonb](https://www.ruby-forum.com/u/leonb)\
**Post date:** [September 22, 2007, 11:25pm UTC](https://www.ruby-forum.com/t/acts-as-comparable-gem-installation/115270/1 "2007-09-22T23:25:10Z")

</div>

Hi all,

I installed acts\_as\_comparable as gem and I added the  
acts\_as\_comparable-method in my model.

But now I get this error:  
NoMethodError: undefined method `acts\_as\_comparable’ for Ticket:Class

I tried to require the file, but Rails complained it could not find the  
requested file. Can anyone help me with this? Never used gem’s in my  
models.

Thanks in advance!
