# Question regarding screencast "Creating a weblog in 15 minutes with Rails 2"

**URL:** <https://www.ruby-forum.com/t/question-regarding-screencast-creating-a-weblog-in-15-minutes-with-rails-2/157713>\
**Category:** Rails\
**Created:** [January 14, 2009, 6:22pm UTC](https://www.ruby-forum.com/t/question-regarding-screencast-creating-a-weblog-in-15-minutes-with-rails-2/157713 "2009-01-14T18:22:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Javier\_CH](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c57346/32.png) [@Javier\_CH](https://www.ruby-forum.com/u/Javier_CH)\
**Post date:** [January 14, 2009, 6:22pm UTC](https://www.ruby-forum.com/t/question-regarding-screencast-creating-a-weblog-in-15-minutes-with-rails-2/157713/1 "2009-01-14T18:22:28Z")

</div>

Probably all of you have seen the new 15-minute-screencast-wonder over  
at [rubyonrails.com](http://rubyonrails.com):

“Creating a weblog in 15 minutes with Rails 2”  
[http://rubyonrails.org/screencasts](http://rubyonrails.org/screencasts)

It squeezes tons of know-how in 15 minutes and shows how to setup a  
weblog in rails2 in a restful way.

My question on that screencast-setup:

In the screencast, the comment-form is inside a post-view. Now let’s  
assume the comment-model as shown on the screencast would have  
validations.

How would your create-action in the comments-controller look like in  
case there would be a validation error and you wanted to return that  
error to the form?

This case isn’t handled in the screencast and I’m really wondering how  
to solve that in a restful way.

Saludos  
Javier
