Update examples.xhtml #44

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@ghost
ghost commented Mar 15, 2013

I tried to follow this example and realized that it doesn't work properly because I'm getting "table users does not exists" when saving a record.
So registering each model is necessary, right?

@sdolgikh sdolgikh Update examples.xhtml
I tried to follow this example and realized that it doesn't work properly because I'm getting "table users does not exists" when saving a record.
So registering each model is necessary, right?
5b6c6c8
@bmuller
Owner
bmuller commented Mar 15, 2013

No - you only need to register models if they are used in associations. I think the issue is that you haven't created a table named "users" - which you need to do first.

@bmuller bmuller closed this Mar 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment