Ruby on Rails Tuesday, April 26, 2016

On 26 April 2016 at 13:13, Naveed Alam <> wrote:
> Colin Law wrote in post #1183079:
>> On 26 April 2016 at 05:10, Naveed Alam <> wrote:
>>> Yes I have a Configuration Model/Controler below are the links to
>>> controller, and model
>> In that case your simplest solution may be to change the name of the
>> model.
>> Colin
> If I change the model name, then I have to make a lot of changes in
> many other Controllers and where its been called
> and the migration too.
> so I get a lot of error messages.

A few global search and replace changes should do it. You don't need
to change the controller or table name if you don't want to. I assume
you have the source under a source control system such as git, and
that you have good automated test coverage, which will make sure you
catch everything.


You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment