On 15 December 2010 09:57, Xavier Shay <[email protected]> wrote: > > On 15/12/10 9:52 AM, dnagir wrote: > >> Hi Guys, >> >> I am a bit tired of waiting for for the [rails 3] specs to run after I >> save a file. After saving, I have to wait 10 secs or so for my specs >> only to be executed (by autotest). >> >> Same problem, no great solution. #1 thing I hate about rails atm. > > I use this to speed up rake spec, which is a bit of a hack: > http://rhnh.net/2010/09/07/speeding-up-rails-rake
Nice hack. I wish we could do similar for Rails app. But I guess we still need the environment in specs though. I thought the idea of Rails 3 'load lazily everything' was supposed NOT to load everything until needed. But there's probably just too much staff that IS needed at the beginning anyway. -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
