search for: word_id

Displaying 3 results from an estimated 3 matches for "word_id".

Did you mean: word_idx
2009 Mar 30
1
Retrieving the context
...inks the word to a file and the position of the word within the file, like: #In this case a very short file > strsplit("This is a text string, wich is stored in the file myfile"," ")[[1]] -> mystring #Now, store in a data.frame > mydf <- data.frame(strings=mystring, word_id=paste("myfile",1:length(mystring),sep="_")) > mydf strings word_id 1 This myfile_1 2 is myfile_2 3 a myfile_3 4 text myfile_4 5 string, myfile_5 6 wich myfile_6 7 is myfile_7 8 stored myfile_8 9 in myfile_9 10 the myfi...
2008 Feb 13
1
can a class have the association has_itself?
is it possible to implement a recursive foreign key association like that? i''m writing a vocab app, where i want the vocab table to have an id and two foreign keys, word1 and word2. the word table will have an id, a word-string, and a language i''m trying to do this as follows: class Vocab < ActiveRecord::Base belongs_to :word belongs_to :word class Word <
2006 Mar 15
1
File Upload Problem
...headers: malformed header ''image/jpeg'' i repeat, it works fine with webbrick here is my html: <%= form_tag({:controller => ''phocab'', :action => ''submit_photo''}, {:multipart => true}) %> <%= select("photo", "word_id", @words) %><br/> <%= file_field("photo", "photo") %><br/> <%= submit_tag "submit" %> <%= end_form_tag %> any ideas? i am hosting my site with dreamhost if that helps... -- Posted via http://www.ruby-forum.com/.