In cucumber you are able to run features in whatever directory you like. This also includes executing features in subdirectories...
Firefox, Opera and Internet Explorer will repeat elements with position: fixed on every printed page (see attached example).
To make the RSpec matcher of the authorization solution Consul work with Rspec 2.x read the following blog post...
Our rcov:all task for aggregated RSpec/Cucumber coverage was overhauled extensively. Among other things it now works for Rails 2...
Code coverage is the ratio of code lines kissed by a test vs. the total number of lines in your...
When you're getting this error, one possibility is that you've created a select field for an association instead...
When internationalizing your Rails app, you'll be replacing strings like 'Please enter your name' with t('.name_prompt'). You...
To reduce download time, application servers usually serve content using gzip compression, if the browser supports it.
When you use google analytics to track your visitors interactions, you should ensure that it runs on your production site...
When you have a complex recipe setup with multistage deployment you may run into this error: `role_list_from': unknown...
For performance improvements (and to remove the need for eager loading), the ActsAsTaggableOn gem supports caching your tag lists directly...
If you want to use Require group $GROUPNAME on your default Apache installation like this: Order allow,deny Allow from...
If you would like to use language specific layout (e.g. background-images) in your applications stylesheets you can achieve this...
You can group contacts using a mailing list in Thunderbird for easier access and less trouble when trying to find...
Instead of running all missing migrations on your test database with rake db:migrate RAILS_ENV=test you can also...
When using state_machine you sometimes need to know whether an object may execute a certain transition. Let's take...
In order to prevent the browser from asking whether to remember the password, give a form an autocomplete attribute with...
require 'open-uri' File.open('/target/path/to/downloaded.file', "wb") do |file| file.write open('http://example.com/your.file').read end Basic Authentication
Note: This applies specifically to MySQL. In PostgreSQL for example, this is not an issue. If you care about performance...
Look here for informations how you can show the MySQL default character set. At first you need the Amazon RDS...
Back in the war, Rails developers had to manually HTML-escape user-supplied text before it was rendered in a...
RSpec 1 (Rails 2) With the most recent spec_candy.rb helpers you can say: User.stub_any_instance(:foo => :bar) user = User.new...
To show the collation of your tables you have to login to the MySQL console and execute SHOW TABLE STATUS...
To show the MySQL default character set you have to login to the MySQL console and execute SHOW VARIABLES LIKE...