alexpls/Rails-Latest-Migration

Bug when no opened files or file unsaved

Closed this issue · 3 comments

When I try to open latest migration but have no opened files, I cant find option in list: http://cl.ly/image/1C3b262J2u0t

And when I try to open latest migration from unsaved file, I get an error: http://cl.ly/image/3j2D1O2y173t

Hi KELiON,

Hopefully my latest commit should have sorted this out for you. You'll now be able to also find the latest migration without any files open (as long as you have a Rails folder open in your Sublime Text 2 window).

The plug-in will now work with unsaved files, too.

Thanks for the feedback!
Alex

Hm... Now when I try to open latest migration without opened files, I get a new error: http://cl.ly/image/0H0U0t1t1V3S, but I have opened rails project

Thanks KELiON. Hopefully this new fix will make it work for you!