While 2.0 will include a number of syntax changes, new features and general improvements, mentioned below, it is anticipated to...
If you want to know the exact hits on your website (or whatever logfile you want) for a specific date...
The most common use case for Ruby's #collect is to call a method on each list element and collect...
Since version 11.10 Opera provides support for linear gradients using -o-linear-gradient. The syntax is pretty similar to Mozilla...
Recently, we had an interesting lunch-break with the rails 3.1. asset-pipeline in production mode. Daniel Zahn made a...
The colors in Rails log files are helpful when watching them but, since they are ANSI color codes like ^[[4...
You can use heredoc to avoid endlessly long lines of code that nobody can read. Heredoc strings preserve linebreaks and...
If Rails or Rake are complaining about a missing gem that is listed in your Gemfile.lock and the listed version...
Good guide to different ways you can write CSS selectors that select elements by their attribute values.
Simple: Tell the application controller how to handle exceptions, here a RecordNotFound error. Do this with the following line: # application_controller.rb...
Ever wondered how Rails talks to itself in a Cucumber feature? In Rails 3 you can do it like this...
Do you have page caching enabled for the development environment and there are cached pages lying around in public/?
Consider this HTML: Even though the surrounding container defines a line-height, which vertically centers its inline elements, the check...
Detecting if a Javascript is running under Selenium WebDriver is super-painful. It's much easier to detect the current...
The Capybara API is somewhat hard for parse for a list of methods you can call on a Capybara node...
When your Cucumber feature needs to browse the page HTML, and you are not sure how to express your query...
When you need to use diff in either some Ruby code or your Rails app, use the differ gem.
Under the same origin policy, a web page served from server1.example.com cannot normally connect to or communicate with a server...
I think this pattern is really useful not just for upgrading suites from Webrat, but really anywhere you have an...
Possible fixes: Upgrade your Firefox. It's fixed in 5.0. Hunt down funny float or overflow directives in your CSS...
In Rails 2, you could use link_to_remote...
...:update => 'id' to automatically replace the content of $('#id').
When you double-tap a string of text on an iPhone or iPad a complicated context menu for copying and...
The first thing to do with any new U2410 should be to disable the incredibly annoying beep when pressing any...
Thunderbird 5 brings a custom chrome on Windows Vista/7 that uses translucent Aero decorations on toolbars and menubars. Here is...