Hi,
I am using following configuration on my production environment:
Rails (2.0.2) Mongrels Ruby 1.8.6
I am getting following error after my server runs for some hour (6-8
hr). Also, the problem
goes away once i restart all my mongrels (only to come up in next 6-8
hr ).
Following is the trace of error:
ActionView::TemplateError (undefined method `billing_contact' for #<Domain::ResellerDomain:0x2aaaaea710f8>) on line #55 of domain/ contact_information.html.erb: 52: <tr> 53: <td> 54: <!-- contact divs start--
55: <%contacts = {"billing" => @domain.billing_contact, 56: "registrant" => @domain.registrant_contact, 57: "tech" => @domain.tech_contact, 58: "admin"=> @domain.admin_contact,
vendor/rails/activerecord/lib/active_record/ attribute_methods.rb:206:in `method_missing'