Hi,

i am relativly new to Ruby and Rails.
My question is, why can't i use respond_to and session[:....] in
ApplicationController created by a "ruby script/generate scaffold "
and in ApplicationController created by "ruby script/generate model "
i got errors like methode not know (for respond_to) or symbol as array
index for session access.
How can use this nice things in models? Is there a nice tutorial showing
the difference between this two models?

I am unsing InstantRails Rails version  2.0.2
-- 
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