fdv/typo — Issue #55: ActionView::Template::Error (settings was supposed to be a Hash, but was a String)
Author: huazonglin
Created: 2011-11-28 17:20:48+00:00
State: open

I was creating a new article on adimn page. and then met this error, twice.

Completed 500 Internal Server Error in 25ms

ActionView::Template::Error (settings was supposed to be a Hash, but was a String):
17: <%= _("Published") %>

18: <%= _("Password:") %>

19: <%= get_post_types %>

20: <%= password_field :article, :password, :class => 'small' %>
21:

22:
23: <%= save( _("Publish") + " »") %>

app/models/config_manager.rb:32:in `block in add_setting_reader'
app/views/admin/content/_form.html.erb:20:in `_app_views_admin_content__form_html_erb___830313344_96779760__873441234'
app/views/admin/shared/_edit.html.erb:4:in `block in _app_views_admin_shared__edit_html_erb__111173687_96787210_874100232'
app/views/admin/shared/_edit.html.erb:2:in `_app_views_admin_shared__edit_html_erb__111173687_96787210_874100232'
app/views/admin/content/new.html.erb:3:in `_app_views_admin_content_new_html_erb__1042887415_96817920_204045985'
app/controllers/admin/content_controller.rb:186:in `new_or_edit'
app/controllers/admin/content_controller.rb:36:in `edit'