Forum: Rails Germany Helper

Posted by Jochen Schreiber (bladepit)
on 2009-12-11 21:02
Hallo an alle,

vielleicht könnt irh mir auf die schnelle helfen.

Ich möchte aus einem Controller (Datafiles) eine helper_methode im
helper (Artifact) nutzen.

Ich weiß nicht wie das gehen soll. Das einzigste was ich mache ich
include ArtifactHelper im Controller. Dann will ich in einer Methode
eine Methode des Helpers aufrufen:

helper.upload_helper(object, modulname, filename)

Dazu bekomme ich immer den folgenden Fehler:

Upload is not missing constant ArtifactsHelper!

Rufe ich das falsch auf? Ist diese Vorgehensweise überhaupt so richtig?
Hoffe ihr könnt mir helfen

Gruß
Jochen
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.