Rick Lloyd wrote:
> Your problem is a missmatch between the controller name and the view
> directory name.
> If you're going to use application_controller.rb

But the OP is not using this name; he's using app_controller.rb .  And 
this should be apps_controller : controller names are always plural.

> then c:\ruby\hello\app
> \views\app\greeting.rhtml  should be c:\ruby\hello\app\views
> \application\greeting.rhtml.

No.  It should be app/views/app/greeting.html.erb , at least in recent 
versions of Rails.  What version of Rails are you using?

> 
> You can use scaffold to help get more familiar with what goes where.
> Try this:
> 
> script/generate scaffold User name:string profile:text

That's a good idea.

> 
> Rick

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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