# Active\_support classify truncating

**URL:** <https://www.ruby-forum.com/t/active-support-classify-truncating/190885>\
**Category:** Ruby\
**Created:** [June 30, 2010, 12:41am UTC](https://www.ruby-forum.com/t/active-support-classify-truncating/190885 "2010-06-30T00:41:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Don\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/f04885/32.png) [@Don\_F](https://www.ruby-forum.com/u/Don_F)\
**Post date:** [June 30, 2010, 12:41am UTC](https://www.ruby-forum.com/t/active-support-classify-truncating/190885/1 "2010-06-30T00:41:41Z")

</div>

I tried to use “my\_class”.classify and got MyClas as a result. Tried  
others that ended in ‘ss’ and got the same results. Tried other  
endings and they work. Ruby 1.9.2-preview3 and  
activesupport-3.0.0.beta4 is being used.

Is this correct? If so, why?

Don F.

---

<div class="post-metadata">

**Author:** ![Don\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/f04885/32.png) [@Don\_F](https://www.ruby-forum.com/u/Don_F)\
**Post date:** [June 30, 2010, 12:45am UTC](https://www.ruby-forum.com/t/active-support-classify-truncating/190885/2 "2010-06-30T00:45:11Z")

</div>

On Jun 29, 12:36 pm, Don F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I tried to use “my\_class”.classify and got MyClas as a result. Tried  
> others that ended in ‘ss’ and got the same results. Tried other  
> endings and they work. Ruby 1.9.2-preview3 and  
> activesupport-3.0.0.beta4 is being used.
> 
> Is this correct? If so, why?
> 
> Don F.

Additional doing “my\_clas”.classify returns “MyCla”
