If you want to have a new log file every day automatically, but avoid using logrotate, the CustomLog directive is...
You most likely have a form element inside another form element. Don't do that. Ever. Firefox and Chrome will...
The Edge Rider gem will define a method collect_ids on your ActiveRecord models, scopes, integer scalars and collections, which...
This is a bug in Rails 2.3.11 which will be fixed in a future maintenance release. Until then you can...
Our new scope-based authorization gem for Ruby on Rails has been released. This might one day replace Aegis as...
Documentation for the horrible RDoc syntax.
If you want to convert a README.rdoc file to HTML, say this from a shell: rdoc README.rdoc
Ruby gem to check whether a given bic/account-no-combination can possibly be valid for a German bank. Can also resolve German...
ActiveRecord gives you the :include option to load records and their associations in a fixed number of queries. This is...
If you are using RVM on a Mac and cannot enter 8+ bit characters on an IRB or Rails console...
Reading a URL via GET: curl http://example.com/ Defining any HTTP method (like POST or PUT): curl http://example.com/users/1...
User.active.to_sql Rails 2 Use either the Edge Rider or fake_arel gem to get #to_sql backported...
The Basic Authentication header encodes username and password. Effectively, it's just Base64 plus a "Basic" prefix.
Since version 1.5 RubyGems requires at least Ruby 1.8.7. The last one working with Ruby 1.8.6 was RubyGems 1.4.2.
It is common in Rails 3.0 applications that you want to provide default views for a group of controllers. Let...
There is no way to do it. This behavior is by design. You lose.
When installing RMagick you may get an error messages like this: Version 2.13.1: checking for Ruby version >= 1.8.5... yes
I prefer using Opera's "User mode" to toggle an outlining of HTML elements quickly. This helps greatly when you...
By default, Opera 11 hides any passed params and the URL's protocol until you focus the address bar.
If you want to manually check if e-mail delivery works on a machine by sending an e-mail you...
Note: ActiveRecord::Base#becomes has a lot of quirks and inconsistent behavior. You probably want to use ActiveType.cast instead.
Artifice allows you to replace the Net::HTTP subsystem of Ruby with an equivalent that routes all requests to a...
mitmproxy is an SSL-capable, intercepting HTTP proxy. It provides a console interface that allows traffic flows to be inspected...
There is a nasty bug in all version of Rails 2 and some versions of Rails 3.x where two...