Hi

On Tue, Mar 16, 2010 at 2:42 PM, Head777 <[email protected]> wrote:

>
>   def to_label
>    "Proveedor: #{empresa}"
>        "Proveedor: #{contacto}"
>        "Proveedor: #{cargo}"
>        "Proveedor: #{direccion}"
>        "Proveedor: #{ciudad}"
>        "Proveedor: #{cod_postal}"
>        "Proveedor: #{pais}"
>        "Proveedor: #{telefono}"
>        "Proveedor: #{fax}"
>        "Proveedor: #{pagina_web}"
>
>  end
>
> Perhaps your to_label method should just look like this:

def to_label
  "Proveedor: #{empresa}"
end

Regards, Tony

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.

Reply via email to