How can i use the same name? After clearing the rails App

  1. Environment
  • OS : Ubuntu 12.04.4
  • Ruby version : 2.1.1p76
  • rails version : 4.1.2
  1. create rails app
  • rails new myapp
    => OK
  1. generate model
  • rails generate model mytable name:string
    => OK
  1. delete app
  • rm -rf myapp
    => OK
  1. re create rails app
  • rails new myapp
    => OK
  1. generate model
  • rails generate model mytable name:string
    => Not OK! hanging

Please Help me!

On Jul 7, 2014, at 9:24 PM, joung-sik yoo wrote:

  • rails generate model mytable name:string
  1. generate model
  • rails generate model mytable name:string
    => Not OK! hanging

Please Help me!

Since you asked nicely, you need to restart the Spring preloader. It
“remembers” the old application and has the original model in memory.

Walter

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