Ruby 1.8.7 - Ruby 1.9.2 and Rails 3.0.0 'Encoding' Model Name Conflict?

Encoding is a class that was introduced in ruby 1.9. Change your model name.

The application is deployed, and changing the names and table names will require a huge amount of work. Any chance of doing something else? – Kevin Sylvestre Oct 15 '10 at 11:08 Nope.

Actually: huge amount? Renaming the table-name is easy using migrations. Renaming inside your project is dead-easy if you use Rubymine.

If renaming the table is too much hassle, you can write inside your renamed model: set_table_name "encodings" – nathanvda Oct 15 '10 at 14:01 I'll check out Rubymine (using TextMate it appeared more difficult). Also, we have a few other queries that run on the database I was concerned about, but the set_table_name should do the trick! – Kevin Sylvestre Oct 15 '10 at 19:45.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions