Marnen Laibow-Koser wrote:
I use several plugins and gems (RSpec, Hobofields) that extend
script/generate with their own generators. Amazingly, NB does not pick
up the new generators as options, so I'm back at the command line if I
want to use them. This was about when I decided there was no reason to
continue with NB for Rails until something gets upgraded.
I use Rspec-rails and Rspec with NB and it generates fine for me. You
have to add both to vendor/plugins. Once you do that, you right-click
your project -> generate -> and select rspec controller (which shows up
automatically as a new generator in NB), etc. and generate them right
there. I haven't had any issues with rspec doing it this way..
And as a Rails beginner, you should be aware that NB may be hurting you
by not giving easy access to tools you may not yet know you need. (This
may not actually turn out to be an issue, but the possibility is real.)
I always try out multiple ways of doing things, without fully relying on
the IDE to do this for me. Many of the books I'm reading show me how to
do it "manually" so I learn things that way. Once I'm comfortable, I
figure out how to do it the NB way. If it doesn't work in NB, I make a
mental note. I haven't had many issues with things not working well
However, HAML and SASS are one exception. NB doesn't make great use of
them and plugins are either out of date or not being actively worked on
anymore for those.
Take care mate. You give great input and feedback and many of us