Kenny,

When I output it with:

<% a = "#[email protected]}/index.html"%>
<% puts a %>
<%= render :file => a %>

It outputs:
/test/ggriptest/index.html

and I get the error in the browser of:

 ActionView::MissingTemplate in Channels#uplog

Showing app/views/channels/_formgeneric.html.erb where line #10
raised:

Missing template index.html in view path vendor/plugins/
active_scaffold/frontends/default/views

Extracted source (around line #10):

7:      <% if @minimenu == 'uplog' %>
8:              <% a = "#[email protected]}/index.html"%>
9:              <% puts a %>
10:             <%= render :file => a %>
11:     <% end %>
12:   </div>

Trace of template inclusion: app/views/channels/display.html.erb

RAILS_ROOT: G:/INSTAN~2/rails_apps/ggripv2
Application Trace | Framework Trace | Full Trace

G:/INSTAN~2/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_view/paths.rb:66:in `find_template_without_active_scaffold'
G:/INSTAN~2/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/
extensions/generic_view_paths.rb:11:in `find_template'
G:/INSTAN~2/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_view/base.rb:259:in `render_without_active_scaffold'
G:/INSTAN~2/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/
extensions/action_view_rendering.rb:61:in `render'
G:/INSTAN~2/rails_apps/ggripv2/app/views/channels/
_formgeneric.html.erb:10:in
`_run_erb_app47views47channels47_formgeneric46html46erb_locals_formgeneric_object'
G:/INSTAN~2/rails_apps/ggripv2/app/views/channels/display.html.erb:
7:in `_run_erb_app47views47channels47display46html46erb'
G:/INSTAN~2/rails_apps/ggripv2/app/controllers/channels_controller.rb:
57:in `uplog'




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to