Forum: Ruby on Rails Disabel "pluralize_table_names" in Rails 2.3.2

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ead43bcb0202410540a6a7cee5955d46?d=identicon&s=25 Fresh Mix (giga)
on 2009-03-17 22:15
What is it in Rails 2.3.2?

ActiveRecord::Base.pluralize_table_names = false
Ead43bcb0202410540a6a7cee5955d46?d=identicon&s=25 Fresh Mix (giga)
on 2009-03-18 07:30
Fresh Mix wrote:
> What is it in Rails 2.3.2?
>
> ActiveRecord::Base.pluralize_table_names = false

Help?
6883e5ef03484d4fcef507d7b4f1d243?d=identicon&s=25 Matt Jones (Guest)
on 2009-03-18 18:54
(Received via mailing list)
It hasn't changed in 2.3 - what problem are you experiencing?

--Matt Jones


On Mar 18, 2:30 am, Fresh Mix <rails-mailing-l...@andreas-s.net>
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2009-03-18 21:47
(Received via mailing list)
On Mar 18, 5:53 pm, Matt Jones <al2o...@gmail.com> wrote:
> It hasn't changed in 2.3 - what problem are you experiencing?
>

Here's my guess: it's being set at the bottom of environment.rb which
worked < 2.2 but doesn't work in 2.2 and above in production because
app are classes are loaded before that.

Fred
This topic is locked and can not be replied to.