精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2008-06-20
我改了de_CH.rb里面的东西怎么没有用啊?
|
|
返回顶楼 | |
发表时间:2008-09-09
按照2楼说的做,我的直接报错,郁闷
NoMethodError (You have a nil object when you didn't expect it! You might have expected an instance of ActiveRecord::Base. The error occurred while evaluating nil.[]): /vendor/plugins/localization/lib/localization.rb:8:in `_' /vendor/plugins/localization/lib/localization.rb:45:in `_' /app/controllers/application.rb:90:in `as_' /vendor/plugins/active_scaffold/lib/data_structures/column.rb:25:in `label' /vendor/plugins/active_scaffold/lib/data_structures/column.rb:194:in `initialize' /vendor/plugins/active_scaffold/lib/data_structures/columns.rb:36:in `new' /vendor/plugins/active_scaffold/lib/data_structures/columns.rb:36:in `add' /vendor/plugins/active_scaffold/lib/data_structures/columns.rb:36:in `each' /vendor/plugins/active_scaffold/lib/data_structures/columns.rb:36:in `add' /vendor/plugins/active_scaffold/lib/data_structures/columns.rb:24:in `initialize' /vendor/plugins/active_scaffold/lib/config/core.rb:102:in `new' /vendor/plugins/active_scaffold/lib/config/core.rb:102:in `initialize_without_file_column' /vendor/plugins/active_scaffold/lib/bridges/file_column/lib/as_file_column_bridge.rb:11:in `initialize' /vendor/plugins/active_scaffold/lib/active_scaffold.rb:50:in `new' /vendor/plugins/active_scaffold/lib/active_scaffold.rb:50:in `active_scaffold_without_human_name' /vendor/plugins/l10n_scaffold/lib/localization_simplified.rb:328:in `active_scaffold' 怎么回事? |
|
返回顶楼 | |