# Wrong argument type String (expected Module)

**URL:** <https://www.ruby-forum.com/t/wrong-argument-type-string-expected-module/60583>\
**Category:** Rails\
**Created:** [May 15, 2006, 9:42pm UTC](https://www.ruby-forum.com/t/wrong-argument-type-string-expected-module/60583 "2006-05-15T21:42:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erwann](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/b19c9b/32.png) [@Erwann](https://www.ruby-forum.com/u/Erwann)\
**Post date:** [May 15, 2006, 9:42pm UTC](https://www.ruby-forum.com/t/wrong-argument-type-string-expected-module/60583/1 "2006-05-15T21:42:31Z")

</div>

Hello,

When I create a select in a form, I get this error:  
wrong argument type String (expected Module)

I know that ‘type’ is a reserved word for STI and that’s what I want: a  
select box to choose the right type of Vehicule object:

TYPES = [  
[“Car”, “Car”],  
[“Truck”, Truck"],  
[“Bike”, “Bike”]  
]

and  
\<%= options = [[“Type”, “”]] + Vehicule::TYPES  
select(‘vehicule’, ‘type’, options) %\>

What did I miss?

Thanks
