On 8 March 2011 20:12, Jonathan A. <[email protected]> wrote:
>  def new
>    @cliente = Cliente.new
>    @co1=contactos_co1.find_all
>    respond_to do |format|
>      format.html # new.html.erb
>      format.xml  { render :xml => @cliente }
>    end
>  end

Where does "contactos_co1" get set? What's the model? Is it "ContactosCo1"?
If so, try:
@co1=ContactosCo1.find_all

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

Reply via email to