On 23 February 2010 14:47, Butterson wrote:
> Hello all. I'm new to RoR. I am having trouble trying to get a simple
> edit/update going. Everytime I hit submit, I get the following error:
> +
> Couldn't find Content without an ID
>
> i've been trying to figure this out for 3 da
If you did not use a generator to make your scaffolding, then you may
not have your routes set up correctly. new might be calling edit so
there is not parameter.
On Tue, Feb 23, 2010 at 6:47 AM, Butterson wrote:
> Hello all. I'm new to RoR. I am having trouble trying to get a simple
> edit/update
Hello all. I'm new to RoR. I am having trouble trying to get a simple
edit/update going. Everytime I hit submit, I get the following error:
+
Couldn't find Content without an ID
Request
Parameters:
{"format"=>"#",
"commit"=>"Update",
"_method"=>"put",
"authenticity_token"=>"
hello ,
i have problem when i want to show page after user submit data into
database.
this is code in controller
>>>
class ComponentsController < ApplicationController
def index
end
def databases
@title = "Database"
if request.post?and params[:seq]
params[:seq][:sequence].gs
hi friends...
my rhtml is for_for_test.rhtml
Form_For Tester
<% form_for :blog, :url => { :action => 'save', :id => @blog } do
|f| %>
Name: <%= f.text_field :blog %>
<%= submit_tag 'Save' %>
<% end %>
controller is
def form_for_test
@blog= Blog.find[:all]
5 matches
Mail list logo