Country --> countries ? it doesnt work

hi,

i’ve create the db countries and the model Country but it doesnt work,
is it ok??

thanks.

Alfredo

On Jan 10, 2007, at 11:37 AM, Alfredo G. 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 B. http://agileconsultingllc.com
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs