Ruby researches

September 17th, 2007 by prozz

Today, the evening was sponsored by heckle, rcov and ZenTest [applause!]


require 'autotest/redgreen'
require 'autotest/kdenotify'
require 'autotest/timestamp'

Rails IDE, part 2

September 16th, 2007 by prozz

Well, I have to be honest - I’m not the emacs guy and after a few tries of the editor I abandon the idea for emacs to become my Rails/Ruby IDE. The features looked yummy on the screenshots, but practicing Vim Zen is better :)

After being defeated by emacs, I focused on finding the best solution for old, good Vim. Here is what I found usable for RoR developer:

  • rails.vim - easy navigation between rails files, few additional powerful features too, must have!
  • snippetsEmu.vim - this is awesome plugin, makes TextMate like snippets possible inside Vim, powerful!
  • fuzzyfinder.vim - buffers explorer, works well with :A and :R from rails.vim, bind this as a shortcut for better usability
  • surround.vim - something additional found during research, for dealing with every kind of surroundings (like html tags for example), not required, but nice
  • SimpleFold.vim - well, if this is not working as described (folds are broken), while bugs free it will join my plugins bundle

Just paste each script name presented above here to find newest versions of them.

My additional snippets I found usable are:


exec "Snippet vn validates_numericality_of :".st."field".et.st.et
exec "Snippet vl validates_length_of :".st."field".et.", :maximum => ".st."max".et.st.et
exec "Snippet vc validates_confirmation_of :".st."field".et.st.et
exec "Snippet vp validates_presence_of :".st."field".et.st.et
exec "Snippet vu validates_uniqueness_of :".st."field".et.st.et

PS. I’m 10 kyu now and won today with 9 kyu with 25 points! I can do it! I will do it! :)
PS 2. supertab.vim is cool too :)
PS 3. I’ve got here vim-ruby of course too…

Baduk

August 14th, 2007 by prozz

Recently I don’t have much time (and in fact enthusiasm too) to make Ruby researches. Have to rest a bit. Now I fall in love with baduk (it’s a game called also ‘Go‘). Trying to rich level better than 10 kyu on KGS. Hope this can help. Happy holiday everyone!

RoR Profiling

August 10th, 2007 by prozz

Profiler in Rails. Nice :)

Next weird thing…

July 25th, 2007 by prozz

http://camping.rubyforge.org/

Rails IDE

July 17th, 2007 by prozz

I finally found one! Enjoy! http://dima-exe.ru/rails-on-emacs

Ruby researches

July 5th, 2007 by prozz
  • Buildr - Maven power plus Ruby expressiveness. I think it’s not just yet another build tool. Check for evangelism here and here.
  • Rspec - let’s test your code in another way. Approach called ‘Behaviour Driven Development’.
  • Facets - Ruby commons. Yummy :)

Gruff

May 21st, 2007 by prozz

While developing my new secret RoR project I’ve found really useful chart library for Ruby. It’s called Gruff and is really worth trying. More details here.

Rails, Grails, Trails

May 18th, 2007 by prozz

I know RoR, hear about Grails and now I’ve found Trails (it combines Maven, Spring, Hibernate, Tapestry). Is it worth looking at? http://www.trailsframework.org/

Rails Scaling

May 18th, 2007 by prozz

As we can see it’s possible.