asok / projectile-rails

Emacs Rails mode based on projectile
258 stars 59 forks source link

Support database migrations #121

Closed mvitz closed 7 years ago

mvitz commented 7 years ago

It would be handy to execute db migrations from within emacs as well.

Silex commented 7 years ago

Hum, I think projectile-rails-rake allows that? Just select db:migrate.

mvitz commented 7 years ago

... I'm just stupid. My last contact with rails was with 2.3.7 and some early 3.x and I just learned that db:migrate should be executed via bin/rails. I knew it's just an alias for rake db:migrate but couldn't make the connection here.