collectiveidea/delayed_job_active_record — pull request #37 by shiroginne (2013-02-25 13:13:17+00:00)
Title: Wrong UPDATE sql query for postgresql db

Hello,
there is a typo mistake in **lib/delayed/backend/active_record.rb** method:

```ruby
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 crash with table relation error.
The method is big and I can't write test for this, but I think, generate query logic can be moved to separate method and can be tested.