The Contatti class is properly defined in the model since i can access it via both console and browser running mongrel not as service. Do you suggest that the whitespace policy is different from the service and non service version of mongrel?
Thanks On 22 Feb, 15:13, "Luis Lavena" <[EMAIL PROTECTED]> wrote: > On 2/21/07, Fausto <[EMAIL PROTECTED]> wrote: > > > > > > > > > <td width="50"><div align="center"><%= link_to_image("delete.gif", > > {:controller => 'contatti', :action => 'cancella', :id => > > contatti}, :confirm => 'Eliminare?', :method => :post, :border=>0) %></ > > div></td> > > > line 16 > > > Here it is the model: > > > class Contatti < ActiveRecord::Base > > > file_column :image > > > belongs_to :"collega", > > :class_name => "Referenti", > > :foreign_key => "referente_id" > > belongs_to :"collega2", > > :class_name => "Professioni", > > :foreign_key => "professione_id" > > belongs_to :ruolo > > belongs_to :quartieri > > > validates_presence_of :nome, :message => ", Specificare il nome" > > validates_presence_of :cognome, :message => ", Specificare il cognome" > > validates_uniqueness_of :cognome, :scope => [:cognome, :nome] > > > validates_associated :collega > > end > > You have a backtrace? since you're showing me "contatti" in the view, > that means you're getting contatti = Contatti.find(...) somewhere in > your controller... > > Also check tabs and whitespaces since .rhtml (erb) is a bitch parsing them > > -- > Luis Lavena > Multimedia systems > - > Leaders are made, they are not born. They are made by hard effort, > which is the price which all of us must pay to achieve any goal that > is worthwhile. > Vince Lombardi- Nascondi testo tra virgolette - > > - Mostra testo tra virgolette - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---