Displaying 2 results from an estimated 2 matches for "active_scaffold_config".
2009 Jun 22
3
puppetshow
...go to http://localhost:3000 I get:
NoMethodError in Hosts#table
Showing vendor/plugins/active_scaffold/frontends/default/views/
_list_header.rhtml where line #3 raised:
undefined method `[]'' for #<Enumerable::Enumerator:0xb716d700>
Extracted source (around line #3):
1: <% if active_scaffold_config.action_links.any? { |link| link.type
== :table } -%>
2: <div class="actions">
3: <% new_params = params_for(:action => ''table'') %>
4: <% active_scaffold_config.action_links.each :table do |link| -
%>
5: <% next if controller.res...
2011 Aug 09
0
ActiveScaffold - custom show action
...ever, when I click
at "Close" I get error output:
You have a nil object when you didn''t expect it!
The error occurred while evaluating nil.theme
<div id="<%= active_scaffold_id -%>" class="active-scaffold
active-scaffold-<%= controller_id %> <%= active_scaffold_config.theme
%>-theme">
Why is active_scaffold_config nil?
Thank you for any help.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails...