To avoid the namespacing issue here, you can set the table name manually with:

```ruby
class License < ActiveRecord::Base
  self.table_name = 'licenses'
end
```