Can someone confirm that this solution works? I have run into this 
problem as well and can't get it to work yet. I use Rails 1.2.3, Ruby 
1.8.6. Except for this problem, Gettext works well with rails.

The problem is:

TypeError: can't convert Array into String
/opt/local/lib/ruby/gems/1.8/gems/gettext-1.10.1/lib/gettext/active_record.rb:243:in
 
`=~' 
/opt/local/lib/ruby/gems/1.8/gems/gettext-1.10.1/lib/gettext/active_record.rb:243:in
 
`localize_error_message' 
/opt/local/lib/ruby/gems/1.8/gems/gettext-1.10.1/lib/gettext/active_record.rb:242:in
 
`each' 
/opt/local/lib/ruby/gems/1.8/gems/gettext-1.10.1/lib/gettext/active_record.rb:242:in
 
`localize_error_message' 
/opt/local/lib/ruby/gems/1.8/gems/gettext-1.10.1/lib/gettext/active_record.rb:273:in
 
`localize_error_messages'
[...]


Thanks a lot
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Railsi18n-discussion mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to