Forum: Ruby on Rails Getting error like "wrong number of arguments (1 for 2)"

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Prashant T. (Guest)
on 2006-03-10 11:23
Hi,

I m new to ROR. I am trying to run simple application on ROR using mysql
database.
I am using Index page on which there are 4 fields on my form (id,
number_1,number_2,result)all are displayed in text booxes (here result
is number_1-number_2). I have only one table in database with 3 fields
for these 3 fields on forms((id, number_1,number_2). One of the field in
ID in my database (Primary key). Now I want to update values in fields
(number_1, number_2,result) when i will click on Update button on my
Form. How should I do this?

Please help me.
Thanx
Prash
This topic is locked and can not be replied to.