Can someone help me with this error?

Started GET "/comics" for 3.134.140.40 at 2011-06-16 09:33:12 -0400
  Processing by ComicsController#index as HTML
  ←[1m←[35mComic Load (2.0ms)←[0m  SELECT comics.* FROM comics
Rendered comics/index.html.erb within layouts/application (1.0ms)
Completed 500 Internal Server Error in 25ms

ActionView::Template::Error (uninitialized class variable @@env in
OCI8):
    12:
    13: <% @comics.each do |comic| %>
    14:   <tr>
    15:     <td><%= comic.title %></td>
    16:     <td><%= comic.issue %></td>
    17:     <td><%= comic.publisher %></td>
    18:     <td><%= link_to 'Show', comic %></td>
  app/views/comics/index.html.erb:15:in `block in
_app_views_comics_index_html_erb__444977452_38484516__909189289'
  app/views/comics/index.html.erb:13:in `each'
  app/views/comics/index.html.erb:13:in
`_app_views_comics_index_html_erb__444977452_38484516__909189289'
  app/controllers/comics_controller.rb:7:in `index'

Rendered D:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.0.8/lib/
action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered D:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.0.8/lib/
action_dispatch/middleware/templates/rescues/_request_and_response.erb
(95.1ms)
Rendered D:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.0.8/lib/
action_dispatch/middleware/templates/rescues/template_error.erb within
rescues/layout (145.1ms

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to