Here is the error log
ActionView::TemplateError (/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:62:in `establish_connection’: gateway_enfora_staging database is not configured) on line #41 of vendor/plugins/fast_admin/app/views/admin/devices/index.html.erb:
38: <tr class=”<%= cycle(“gray_row”, “”) %>”>
39: <td>[url=”[removed]void(0);”><% if params[:id] %>?account_id=<%= params[:id] %><% end %>”>edit</a></td>
40: <td><%= device.name %></td>
41: <td><%= device_imei_or_link(device) %> </td>
42: <td><a ]’)”>View[/url]</td>
43: <td><%= device.gateway_name.nil? ? “” : device.gateway_name.titleize %></td>
44: <td><% if device.account.nil? %>No Account<% else %><a >”><%= device.account.company %></a><% end %></td>
app/models/device.rb:103:in `gateway_device’
vendor/plugins/fast_enfora/app/models/enfora/device.rb:2
(eval):1:in `gateway_device’
vendor/plugins/fast_admin/app/controllers/admin/devices_controller.rb:11:in `eval’
app/models/device.rb:103:in `gateway_device’
vendor/plugins/fast_admin/app/controllers/admin/devices_controller.rb:11:in `device_imei_or_link’
(eval):2:in `send’
(eval):2:in `device_imei_or_link’
vendor/plugins/fast_admin/app/views/admin/devices/index.html.erb:41
vendor/plugins/fast_admin/app/views/admin/devices/index.html.erb:33:in `each’
vendor/plugins/fast_admin/app/views/admin/devices/index.html.erb:33
Processing ApplicationController#index (for 72.233.99.190 at 2009-12-14 15:30:52) [GET]
Parameters: {“action”=>“index”, “controller”=>“admin/devices”}
TypeError (can’t dump anonymous class Class):
/usr/lib/ruby/1.8/yaml/rubytypes.rb:6:in `to_yaml’
/usr/lib/ruby/1.8/yaml/rubytypes.rb:110:in `node_export’
/usr/lib/ruby/1.8/yaml/rubytypes.rb:110:in `add’
/usr/lib/ruby/1.8/yaml/rubytypes.rb:110:in `to_yaml’
/usr/lib/ruby/1.8/yaml/rubytypes.rb:109:in `each’
/usr/lib/ruby/1.8/yaml/rubytypes.rb:109:in `to_yaml’
/usr/lib/ruby/1.8/yaml/rubytypes.rb:108:in `seq’
/usr/lib/ruby/1.8/yaml/rubytypes.rb:108:in `to_yaml’
