Finally took the step today of not generating RDoc and Ri when installing Ruby Gems by default by adding the following to ~/.gemrc.
install: --no-rdoc --no-ri update: --no-rdoc --no-ri
Finally took the step today of not generating RDoc and Ri when installing Ruby Gems by default by adding the following to ~/.gemrc.
install: --no-rdoc --no-ri update: --no-rdoc --no-ri
I watched David Brady's pod call with James Edward Gray II discussing Associative Arrays. There are definitely some gems (no pun intended) in this video. While watching the video I transcribed the code examples below.
Associative Arrays with James Edward Gray II from David Brady on Vimeo.
Admittedly, I have been booked for a while now and haven't had any time to take on any projects. So where does one go if they are looking for Ruby on Rails developers located in Montréal? I would recommend checking out Working with Rails.
You might like to do a keyword search for Montréal or browse for developers located in Canada. I hope this helps your search for developers.
Early in the new year I made the switch to Vim from Textmate. I needed a lot of practice so I replicated the Rails screen-cast for a blog in 15 minutes produced by Ryan Bates over and over again. It was a great way to get familiar with Vim after years of Textmate editing. I wrote up a script based on that screen-cast to aid my practice, and I have also found it useful in quickly demoing Rails to a newbie. The script itself won’t make sense without viewing the screen-cast, but a good reminder of the steps if you find yourself in the same situation.
Here are the various 15 minute blog screen-casts for the different versions of Rails:
If your using Dalli and Memcached, ensure you are running the latest version of Memcached (at least 1.4 or greater) otherwise when starting Rails, the server will hang. You can upgrade Memcached easily enough with MacPorts (if that's what you're using):
sudo port upgrade memcached
If you haven't installed memached using MacPorts before and just have the version shipped on OSX, then do an install:
sudo port install memcached
Reference: http://www.mikeperham.com/2010/08/30/dalli-memcached-for-ruby/
I use rstakeout to automatically run my Cucumber features when a feature changes (yes I probably should be using watchr). I use the following command:
rstakeout "rake cucumber:wip" "features/**/*"
But sometimes I want to run the features manually. However, I don't want to leave my editor to do this. A mapping in Vim to trigger the run saves the day:
map <Leader>c :call system("touch features/support/env.rb")<CR>
And if the response content type is not going to be HTML I will test that as well.
This blog is no longer being maintained. The blog once was a part of my Ruby on Rails freelancing practice. If you would like to find out what I'm currently working on, please visit CivilCode Inc - Custom Software Development; we specialize in building tailored business application in Elixir and Phoenix.
2002-2019 Nicholas Henry
All Rights Reserved
Please note this blog is no longer maintained. Please visit CivilCode Inc - Custom Software Development.