I'm assuming you want if
@admin.save then a render or
redirect afterwards.
#correct,i assuming here i want input data to db with defference name.
#means:if i have field name with value "cow" on db, i not want not have two 
"cow" name on table Box,because that i use @n as checker,are there name with 
'cow'.'quotes'(i want make sign up with manual but here i assuming def create 
as login for my ask today).
Truely i have 2 controller
for this action i assuming that  "def create" on user_ ,than back to my ask.
if @n
render 'new' #'new' method on user_
#why i using 'render'because for flash[:error] ex:sorry that name...
redirect_to blog_index_path #this routes back to index
#why,because same i using flash
 Your else
condition should be render new.
#i war tried,but same too.
#i am using hp,i hope you understand that has give.
(:-) my english less)

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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to