Git Product home page Git Product logo

Comments (5)

toctan avatar toctan commented on August 12, 2024

@gstamp Same here.

from projectile-rails.

asok avatar asok commented on August 12, 2024

I've updated, please try now.

from projectile-rails.

toctan avatar toctan commented on August 12, 2024

@asok It's awesome, thanks. I uninstalled rinari immediately when I see this package out.
By the way, do you have plans to support finding migrations, initializers and factories?

from projectile-rails.

asok avatar asok commented on August 12, 2024

@toctan With factories that's a bit tricky. I've only used factory_girl. With factory_girl you specified the files in the spec/factories directory and/or factories.rb. There are also other "factories" gems that might store them differently. Besides I bet there are out there Rails project that just use fixutures instead of factories. So I would say I will not implement it.

But adding finder for migration and initializers should be easy. Though do you really need it in your workflow? I mean in our repository we just keep like last 20 migrations. When they become old we remove them. They are only needed when you are deploying (you always have your schema.rb that keeps your db structure).
For initializers we usually have pretty distinctive names. So for them and the migrations I just use projectile-find-file. If you setup projectile-completion-system to something capable of fuzzy matching like flx-ido or grizzl I just do initbar to find the bar initializers.

Some time ago I was using great rails.vim and I do not recall this plugin to have find commands for migration nor initializers.

Let me know what you think. If it's really indispensable for some users I can add those finders.

from projectile-rails.

toctan avatar toctan commented on August 12, 2024

@asok Ok, initializers is probably not necessary. As to migration, I don't know how you guys handle this, but for me, when the project is in its very early phase and not deployed to production, because the schema tend to change very often, I tend to edit the migration file, one migration only for one model. So it makes sense if I can directly jump to the create_* file from the model.

Also, it would be nice to support spring.

from projectile-rails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.