rails_refactor icon indicating copy to clipboard operation
rails_refactor copied to clipboard

Rename to namespace

Open jsborjesson opened this issue 11 years ago • 3 comments

When trying to rename into a namespace, for example

rails_refactor rename DevelopersController Dev::DevelopersController

it fails if the folder dev/ is not present in all places it needs to be. If the folders exists it works fine, so it's only a matter of creating folders if they don't exist.

jsborjesson avatar Feb 28 '14 08:02 jsborjesson

Thanks Jimmy, do you want to fork and send me a pull request? Be sure to pop in test for it too. Cheers

jcrisp avatar Feb 28 '14 22:02 jcrisp

I might if I have time later, I thought I'd just open the issue in the meantime.

Great little gem btw! On 28 Feb 2014 23:56, "James Crisp" [email protected] wrote:

Thanks Jimmy, do you want to fork and send me a pull request? Be sure to pop in test for it too. Cheers

Reply to this email directly or view it on GitHubhttps://github.com/jcrisp/rails_refactor/issues/7#issuecomment-36403294 .

jsborjesson avatar Mar 01 '14 00:03 jsborjesson

Thanks Jimmy!

On 1 March 2014 11:13, Jimmy Börjesson [email protected] wrote:

I might if I have time later, I thought I'd just open the issue in the meantime.

Great little gem btw! On 28 Feb 2014 23:56, "James Crisp" [email protected] wrote:

Thanks Jimmy, do you want to fork and send me a pull request? Be sure to pop in test for it too. Cheers

Reply to this email directly or view it on GitHub< https://github.com/jcrisp/rails_refactor/issues/7#issuecomment-36403294>

.

Reply to this email directly or view it on GitHubhttps://github.com/jcrisp/rails_refactor/issues/7#issuecomment-36408219 .

jcrisp avatar Mar 01 '14 03:03 jcrisp