hallo marco.

 

hier mein controller :

 

class BooksController < ApplicationController

def index
  
require 
'C:\force-path-update\InstantRails\rails_apps\books_with_simple_data\app\controllers\little_helpers_spezial'
#confluence = Confluence::Server.new("https://spoi.telekom.de/info";)
#confluence.login(Einloggen_spezial::X_login, Einloggen_spezial::X_pwd)


@source = params[:book][:source]
#...@depth = params[:books][:depth]


#x = Little_Helpers_spezial.make_ready_for_export(confluence, source , depth)

 

#...@destination = params[:book][:destination]

#...@dest_space = params[:book][:dest_space]

#...@parentid = params[:book][:parentId]


#Little_Helpers_spezial.save(confluence, x, destination, dest_space,parentId)


end
end

 

 

 

 

 

gerade die methode Index macht mir probleme ;-(( 
 


Date: Mon, 12 Oct 2009 21:28:12 +0200
From: marco.doh...@nachneun.de
To: rubyonrails-ug@headflash.com
Subject: Re: [Rubyonrails-ug] controller problem !

Hallo,

dieser Fehler sagt grundlegend aus, dass in deiner book_controller.rb eine 
Methode namens index fehlt (no method error). Noch mehr können wir helfen, wenn 
du uns den Controller zeigst.

Grüße,
Marco

player man schrieb: 


hallo ich kann mit der folgenden fehlermeldung nix anfangen ! kann mir bitte 
jemand helfen???


NoMethodError in BooksController#index You have a nil object when you didn't 
expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.[]



danke
  



Windows Live Hotmail: Your friends can get your Facebook updates, right from 
Hotmail®. 
_______________________________________________
rubyonrails-ug mailing list
rubyonrails-ug@headflash.com
http://mailman.headflash.com/listinfo/rubyonrails-ug
                                          
_________________________________________________________________
Keep your friends updated—even when you’re not signed in.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010
_______________________________________________
rubyonrails-ug mailing list
rubyonrails-ug@headflash.com
http://mailman.headflash.com/listinfo/rubyonrails-ug

Antwort per Email an