search for: genclass

Displaying 2 results from an estimated 2 matches for "genclass".

2006 Jan 11
0
Connection problem with a generic-runtime-built ActiveRecord::Base
...me, :port => portNum, :database => dbName, :username => user, :password => pwd) end def self.closeConnection() return ActiveRecord::Base.remove_connection() end def self.buildNewTableClass(className, tableName) genClass = Class.new(GenActRec) const_set("#{className.to_s}", genClass) genClass.set_table_name tableName genClass.reset_column_information() return genClass end # read table Column names def readTableColumnNames return self.class.column_names() end end this ho...
2007 Mar 19
11
Parsechecking in a commit hook
This has been a much-requested feature, and is now a reality (in svn trunk): There is a new option, --ignoreimport, that will (surprisingly) ignore import statements. This is really only useful when using -- parseonly in a commit hook, and note that you''ll have to add the option to --parseonly, none of the puppet executables will add it for you. You should be able to