I am new to ruby and writing a small script that requires writing messages to a database log.
I am using ruby 1.9.3 with active_record but without rails. All select stat
I think your class should be as follows:
class ActLog < ActiveRecord::Base self.primary_key = 'ID' self.table_name = 'ActLog' end
Out of curiosity, why the non-standard names?