> I suggest that, as a beginner, you work right through a good tutorial
> such as railstutorial.org, which is free to use online.  That will
> show you the basics of Rails, including how to solve your problem.

Thank you for the suggestion, but I already went through that tutorial a
few days ago. I looked at the files of the sample app I created for that
tutorial, and in the users' controller there is the code "render 'new'"
in the "create" function which the program only processes when
@user.save fails. In that app, when a form is submitted it is returned
with the invalid data already filled out for the user to correct.
However, this does not work on the blogging app that I am trying to
create.

There are two things that I believe make my problem different from the
situation in the tutorial. First, I am trying to get the comments
controller to render a page in the entry's view while in the tutorial
the user's controller is accessing a page in the user's view. Another
difference is that when the app for the tutorial is accessing a view it
has no parameter for that view, while in my app I am trying to access
'app/views/entries/show.html.erb' with a parameter. I want to access the
URL '/entries/1' with the form filled out.

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/ad24d5ca4c62f16d719ead87eeed0169%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to