Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Wrong UPDATE sql query for postgresql db #37
def self.reserve(worker, max_run_time = Worker.max_run_time) ... quotedTableName = ::ActiveRecord::Base.connection.quote_column_name(self.table_name) ....
the var name quotedTableName but method is quote_column_name, it generate wrong table_name for query, when postgres makes query with schema, it crashes with table relation error.