This file contains hidden or 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
require 'mysql' | |
class MigrationDB | |
def initialize domain, user_name, password, db_name | |
begin | |
@db_connection = Mysql.new(domain, user_name, password) | |
@db_name = db_name | |
rescue Exception => e | |
p "Error connecting to DB Server.." |
This file contains hidden or 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
jQuery('element').livequery(function(){ | |
//element available now. | |
}); |
NewerOlder