users_controller :--

 def show
        @user = User.find(params[:id])
  end

show.html.erb :--

<h1>Showing user</h1>
<p><th>Name</th>: <%=h @user.name%></p>
<p><th>Role</th>: <%=h @user.role%></p>
<p><th>Password</th>: <%=h @user.password%></p>
<p><th>Confirmation Password</th>: <%=h @user.confirmation_password%></
p>
<%= link_to 'Back', :action =>'list' %>

Error :
 ActiveRecord::RecordNotFound in UsersController#show

Couldn't find User without an ID
 Please help it must help full for edti.html.erb

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