<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Post your Answer Here!</title>
<link href="/stylesheets/site.css?1267104655" media="screen"
rel="stylesheet" type="text/css" />
<link href="/stylesheets/profile.css?1267104655" media="screen"
rel="stylesheet" type="text/css" />
<script src="/javascripts/prototype.js?1267104655"
type="text/javascript"></script>
</head>
<body>
<div id="whole_page">
<div id="header">Knowledge Sharing Engine</div>
<div id="nav">
<span style="float: right">
<a href="/user">Profile</a> |
<a href="/user/logout">Logout</a>
</span>
<a href="/">Home</a> |
<a href="/site/about">About Us</a> |
<a href="/site/help">Help</a> |
<a href="/community">Community</a>
<hr noshade/>
<div id="post_question">
<blink><a href="/user/register">Post A Question!</a></blink>
</div>
</div>
<div id="content">
<h1> Post Your Answer</h1>
<form action="/answers" method="post">
<fieldset>
<legend>New Answer</legend>
<div class="form_row">
<label for="ans_string">Answer String:</label>
<textarea cols="60" id="answer_ans_string" name="answer[ans_string]"
rows="20"></textarea>
</div>
<input class="submit" name="commit" type="submit" value="Create" />
</fieldset>
</form>
<br clear="all" />
</div>
<div id="debug">
<a href="#" onclick="Element.toggle('params_debug_info');return
false">
params</a> |
<a href="#" onclick="Element.toggle('session_debug_info');return
false">
session</a>
<fieldset id="params_debug_info" class="debug_info"
style="display:none">
<legend>params</legend>
<pre class='debug_dump'>--- !map:HashWithIndifferentAccess
action: new
controller: answers
idd: "9"
</pre>
</fieldset>
<fieldset id="session_debug_info" class="debug_info"
style="display:none">
<legend>session</legend>
<code class='debug_dump'>{:user_id=>3,
"flash"=>{}}</code>
</fieldset>
</div>
<!--/div -->
</body>
</html>
Sir this is the source generated..
Itz diff 2 understant da url generated..
n how to check the id in development.log file?
i dnt hav any idea abt how 2 check it..
The simple contents of this file are:
# Settings specified here will take precedence over those in
config/environment.rb
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for
development
# since you don't have to restart the webserver when you make code
changes.
config.cache_classes = false
# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true
# Show full error reports and disable caching
config.action_controller.consider_all_requests_local = true
config.action_view.debug_rjs = true
config.action_controller.perform_caching = false
config.action_mailer.delivery_method = :test
# Raise Errors if the mailer can't send
config.action_mailer.raise_delivery_errors = true
Please help
--
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 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.