Displaying 1 result from an estimated 1 matches for "f7061636b65743d33324d".
2006 Jan 11
3
Just update 1 field
Hi All,
I wonder how I can get rails to update just one field when I do Myfile.save.
Right now this happens when I do a Myfile.save:
UPDATE myfiles SET `folder_id` = 0, `filesize` = 1, `data` =
''2f7573722f6c6f63616c2f6d ... f7061636b65743d33324d'', `user_id` = 0,
`date_modified` = ''2006-01-11T23:33:57+0100'', `filename` =
''mysqlscripts.sql'' WHERE id = 4
but when just the filename has changed I''d rather see something like this:
UPDATE myfiles SET `filename` = ''mysqlscripts.sql...