New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about tableless models #351
Comments
Sounds like a bug. I think CFWheels checks on start-up for the datasource, before it even knows if you're only using tableless models or not. We should probably change that to only connect to the datasource when a model connected to a table is requested. Does it work fine if you set up a datasource? |
Yea, everything works just fine with a datasource. |
This issue is fixed on master branch and back-ported to 1.3 branch. |
I have this model:
The error I am getting is "Cannot connect to datasource". I do not have a datasource setup so I understand the error. Question I have is should a tableless model have a datasource dependency since it doesn't use the datasource?
The text was updated successfully, but these errors were encountered: