Displaying 1 result from an estimated 1 matches for "bf798fcc".
Did you mean:
bf7980c0
2006 Jul 27
1
Weird issue with editing data.
Hi all.
Ive got a small CRUD app that is giving me some weird isuses.
If I add/create an entry that works fine, the data goes into the db. I
can later show the data, but when I edit it, no data is displayed in the
form for me to edit.
Here is the bits from the controller.
def new
@kb=Knowledgebase.new
end
def create
@kb= Knowledgebase.new(params[:kb])
if @kb.save