using this tutorial
http://railscasts.com/episodes/57-create-model-through-text-field
need to make it work in my app, was on rails 3.0.7 and it worked fine,
How the others suggested I had a similar problem solved be fix of wrong model name.