Unless all MySQL server defaults are set to UTF-8, mysqldump encodes UTF-8 characters incorrectly and only outputs correct...

Dir.glob(File.join RAILS_ROOT, 'app', 'models', '*.rb').collect{ |path| path[/.+\/(.+).rb/,1] }.collect(&:camelize).collect(&:constantize)

Most of these will not work in newer projects because these use the Capybara/Rack::Test combo in lieu of Webrat...

To parse XML-documents, I recommend the gem nokogiri. A few hints: xml = Nokogiri::XML(" foo bar ") parses an xml...

sudo gem install gettext --no-ri --no-rdoc sudo gem install fast_gettext --no-ri --no-rdoc script/plugin install git://...

See the lemonade descriptions. Unfortunately, the gem has a few problems: it does not work with Sass2...

install apache sudo apt-get install ruby1.8-dev sudo gem install passenger sudo passenger-install-apache2-module follow the instructions

When you need to patch an existing gem, one way is to "vendor" the gem by copying it into the...

This can happen during development when classes without automatic reloading are pointing to classes with automatic reloading. E.g. some class...

Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]

makandra dev

This is for people recovering from Subversion. Get an existing from the server for the first time git clone git@example.com...

In Ubuntu your ALT key is locked when you're working in VirtualBox. There are two workarounds for this:

You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...

makandra dev
github.com

Gem to provide nice looking urls ("/blog/the-greatest-bug-i-never-fixed"). If you don't need anything too special (like i18n for the urls...

github.com

Consent is an access control abstraction layer for ActionController. It lets you restrict access to actions across your application using...

rubyrailways.com

I have been playing around with RESTful Rails recently. Below is my collection or Rails REST howtos, tutorials and other...

pathf.com

A while back, I had a requirement to persist a record of which email addresses were sent an email through...

mezzoblue.com

Maybe I haven’t been paying close enough attention, but over the past few years an interesting variation of CSS...

dehora.net

PUT means update the resource with this entity, which tends means "overwrite". Now think for a moment about how that...

amundsen.com

Once you start introducing partial updates, you open yourself for caching problems. doing partial updates means all cached copies of...

amundsen.com

i keep looking for ways to help people 'get' REST. not URLs or HTTP Methods; but REST itself - in a...

pathf.com

Noel Rappin discusses ways to keep up with edge Rails.

iphoneonrails.com

ObjectiveResource is an Objective-C port of Ruby on Rails' ActiveResource. It provides a way to serialize objects to and...

pathf.com

There are many wonderful things about Rails and the Rails ecosystem. A clean, well-lighted path for keeping all your...