Displaying 1 result from an estimated 1 matches for "find_by_filenam".
Did you mean:
find_by_filename
2006 Nov 04
0
active record, checking for existing records
Hi all
Writing Newsfeeds into a database from a directory of xml documents.
In the start of my file loop i have:
next if !NewsFeed.find_by_filename(f)==nil
I do not want to add a file if it has been added previously....
This does not work though!