This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def load_classifier(name) | |
# load energetic classifier | |
labels = Bayes.find(:all, | |
:select => "category", | |
:conditions => ["classifier = ? AND word is NULL AND count is NULL", name]) | |
str_labels = [] | |
labels.each do |l| | |
str_labels << l.name | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[11:18] | |
carlisia | |
does anyone here know how i can transfer data from my local db to my production db? | |
zapnap | |
if the database itself is different (sqlite vs mysql for instance) you will have to do a bit of data conversion to do so | |
[11:21] | |
carlisia | |
with a visual tool (GUI) i know how that can be done. i haven't tried, could i hook up my mysql GUI tool to my db on linode? i can't see why not, but just checking | |
[11:22] | |
SuttoL |
NewerOlder