Imagine I have a model called blog and I then run the following
command to create a controller for it.

ruby script/generate controller Blogs index

At some later point I want to create a 'new' page to submit blogs.  Is
there a recommended way for doing this?   Should I simply create the
file app/views/blogs/new.html.erb or should I instead run the command
below?  Is there any difference?

ruby script/generate controller Blogs new

Thanks

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