Disabel "pluralize_table_names" in Rails 2.3.2

What is it in Rails 2.3.2?

ActiveRecord::Base.pluralize_table_names = false

Fresh M. wrote:

What is it in Rails 2.3.2?

ActiveRecord::Base.pluralize_table_names = false

Help?

It hasn’t changed in 2.3 - what problem are you experiencing?

–Matt J.

On Mar 18, 2:30 am, Fresh M. [email protected]

On Mar 18, 5:53 pm, Matt J. [email protected] 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 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