On 24 January 2011 21:42, Colin Law <[email protected]> wrote:
> On 24 January 2011 19:03, Mauro <[email protected]> wrote:
>> On 24 January 2011 17:21, Colin Law <[email protected]> wrote:
>>> On 24 January 2011 16:04, Mauro <[email protected]> wrote:
>>>> On 24 January 2011 15:33, Marnen Laibow-Koser <[email protected]> wrote:
>>>>> Msan Msan wrote in post #977110:
>>>>>> I have Ruser and Bag models.
>>>>>> I'm using Ruser instead of User because I know "user" create problems
>>>>>> with a postgresql database.
>>>>>
>>>>> You may "know" it, but it ain't true.  I use User models in PostgreSQL
>>>>> all the time.
>>>>
>>>> That's because rails translate User in users table.
>>>
>>> What do you mean by that, I do not understand.
>>
>> nothing important, I work with other frameworks, like grails, that do
>> not pluralized
>> the model name when creating the table so I used not to use "user".
>
> You have still not explained why you are not using a class name User
> and table name users.  You appeared to suggest that this is not
> possible when using PostgreSQL.

I was confused thinking about grails.
With rails "User" can be used, with grails don't.

-- 
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