On Jan 10, 2007, at 11:37 AM, Alfredo Gama wrote:
>
> hi,
>
> i''ve create the db countries and the model Country but it doesnt
work,
> is it ok??
>
> thanks.
>
> Alfredo
>
What did you really try?
$ script/console
Loading development environment.
>> "Country".tableize
=> "countries"
>> class Country < ActiveRecord::Base; end
=> nil
>> Country.table_name
=> "countries"
>>
Give a bit more detail and perhaps ask a real question.
-Rob
Rob Biedenharn http://agileconsultingllc.com
Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---