Mauricio Szabo wrote:
> What exactly are you trying to do?
> 
> On Oct 10, 1:35�pm, Andreas Benek <[email protected]>

Let say i generated an rail aplication with:

rails proj
ruby script/generate scaffold User name:string fullname:string
ruby script/generate controller tasks definition
rake db:migrate

i can use 'respond_to' format in the User Controller and check for 
'session[:id]'
and set session variables, but in the task controller
similar task are quited with error:
respond_to : unknown methode
session : Symbol as array index

where is my fault, how to overcome this?
-- 
Posted via http://www.ruby-forum.com/.

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