Reading user input in console applications is usually done using Kernel#gets. Stubbing that can be a bit hairy.
...you have a new version of Mocha and an old version of Rails. The best solution is to update Mocha to the latest version and switch to Rails edge.
Keyboard layout reverting to US on (every) reboot Cause: I found the same problem, but only on my wife...
Every time you open a directory containing images, Windows creates those pesky Thumbs.db files for a minor speed-up and...
Are you adding a "Then show me the page" and re-run Cucumber whenever there is a failing scenario? Don...
Check if you have puppetsync enabled on the master and client [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet...
I had trouble serving an MP4 video to my iPad. Although the video complied with all the specs (H.264 codec...
The asset pipeline (which is actually backed by sprockets) has a nice feature where templates ending in .jst are compiled...
When using an odd value for line-height in CSS the result will vary across all major browsers.\
A Rake task appears in rake -T if it has a description: desc 'Compile assets' task :compile do ... end
jquery-placeholder is a simple jQuery plugin that enables form placeholders in browsers that do not support them natively, i.e...
...bundle/config so your fellow developers (and all the servers you will deploy to) will benefit from this setting...
Around the time in my life when I stopped ordering drinks made with more than one ingredient, I was woken...
Say you want to allow users to emphasize some string, but the whole markdown thing would be far too much...
Lets say you need to make a change to a commit OLD_COMMIT, but this is not the most recent...
By default, Opera 11 hides any passed params and the URL's protocol until you focus the address bar.
The Ruby on Rails security list archive can be found here: http://groups.google.com/group/rubyonrails-security You can subscribe to this mailing...
If you turn on stylesheet caching, it might happen that stylesheets from different locations with different relative pathes will be...
Submit buttons in Rails come with a useful option :disable_with which will disable the button when clicked and change...
Wondering which processes are placed in your swap you can use this bash oneliner: for file in /proc/*/status ; do...
In order to clone a git repository including all branches and tags you need to use two parameters when cloning...
If you get an error "Adress already in use" with autossh check with lsof or netstat if something already listen...
A well-written API can be a great asset to the organization that wrote it and to all that use...
List flavors to show the ID and name, the amount of memory, the amount of disk space for the root...