<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


On Feb 20, 9:26 pm, "Luis Lavena" <[EMAIL PROTECTED]> wrote:
> On 2/20/07, Fausto <[EMAIL PROTECTED]> wrote:
>
>
>
> > First of all thanks for your reply,
> > the versions im using are:
>
> > Ruby 1.8.5
> > RubyGem 0.9.0
> > Rails 1.2.1
> > Mongrel_Service 0.3.1
> > Mongrel 1.0.1
>
> > I tryed as you suggested and when i run mongrel via command line
> > mongrel_rails start -p 4000 no problem, running the server version via
> > console took me to the problem as i copy pasted as follows:
>
> so mongrel_rails start worked when you tried access that page, but the
> console service didn't?
>
> What contains app/views/contatti/lista.rhtml where line #16 ?
>
> --
> 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


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to