Capybara's has_css? matcher has a couple of options you might find useful. Check that a selector appears a...
Ruby gem that provides an AR-style interface for the Pivotal Tracker API.
If you have several submit elements (inputs or buttons with type="submit") that each cause different things to happen (e.g...
Note that you should disable the Java plug-in in your browsers after installation. Ubuntu >= 12.04 Java 11
You don't need a Rails application to use Sass. Even when you're working on a static site you...
Because they are vector, it would make sense if we could do things that other vector programs (e.g. Adobe Illustrator...
When Paperclip attachments should only be downloadable for selected users, there are three ways to go. The same applies to...
This will show you how to create a RSS feed that the Feed Validator considers valid. Note that RSS is...
The CSS Emoticons plugin is a simple jQuery plugin (and stylesheet) that allows you to turn any text emoticons on...
Cached fonts WILL caused an unstyled flash of text.
This gem is designed to provide CSS views to Rails, and a process to concatenate and minify these files to...
WMD is a simple, lightweight HTML editor for blog comments, forum posts, and basic content management. You can add WMD...
Expiration of Rails sessions By default Rails sessions expire when the user closes her browser window. To change this edit...
When submitting textareas, browsers sometimes include carriage returns (\r) instead of just line feeds (\n) at the end of each...
There are two distinct ways of commenting Haml markup: HTML and Ruby. HTML comments This will create an HTML comment...
This is an awesome gadget in your toolbox, even if your test coverage is great. gem install ruby-debug (Ruby...
To return non-HTML responses (like XLS spreadsheets), we usually use the respond_to do |format| format.xls do # send spreadsheet...
The box shadows created rendered in IE by CSS3PIE look darker and are blurred differently than in browsers that render...
Sometimes files attain executable-flags that they do not need, e.g. when your Windows VM copies them over a Samba...
When you create e.g. a sidebar box that contains headlines and paragraphs, the final paragraph's margin in that box...
When you need to add a event listener to hundreds of elements, this might slow down the browser. An alternative...
When deploying Rails applications you might have noticed that JS and CSS are not cached by all browsers.
Use this if you want to show or hide part of a form if certain options are selected or boxes...
Keyboard layout reverting to US on (every) reboot Cause: I found the same problem, but only on my wife...