On 24 January 2011 22:44, Peter Bell <[email protected]> wrote:
>
> On Jan 24, 2011, at 4:17 PM, Mauro wrote:
>> I was confused thinking about grails.
>> With rails "User" can be used, with grails don't.
>
> Why not? I have Grails apps with a User domain class that work just fine. 
> Although as a best practice in the Grails world you want to package your 
> domain classes, so it'll probably have a table like com.myco.user.
>
> But I've done quick demo's in Grails with an unpackaged User class with no 
> problem at all.

It's an OT but the name tables that grails creates are not like you said.
If you create a domain class com.myco.user the table that grails
create is simply user and postgres doesn't like to have a table called
user.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to