Forum: Ruby on Rails Globalize: :select option not allowed on translatable models

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fc582698581884352e745d1d4c64699d?d=identicon&s=25 Joshua Muheim (josh)
on 2006-01-18 15:07
Hi all

I got the following error after trying to get the Globalize plugin to
work:

:select option not allowed on translatable models

What could be the problem? I just created a plain new Rails app,
installed Globalize through SVN, migrated the DB schema, created a
scaffold for Product, and edited the Product model like the following:

class Product < ActiveRecord::Base
  translates :name, :description, :specs
end

When I enter localhost:3000/products/list in my browser then I see the
error...

Please help. Thanks a lot!
Josh
37b7b848b1e3d667174d28d32d04bcee?d=identicon&s=25 Charles M. Gerungan (Guest)
on 2006-01-18 18:39
(Received via mailing list)
On 18-jan-2006, at 15:07, Joshua Muheim wrote:

> :select option not allowed on translatable models

Have you found the API docs yet? The live at http://globalize-
docs.diluvia.net/

Here's a direct link: http://globalize-docs.diluvia.net/classes/
Globalize/DbTranslate/TranslateClassMethods.html#M000006

Hop on over to #globalize on Freenode so we can help each other!

--
Regards, Charles.
This topic is locked and can not be replied to.