Harry Roberts, a youngster from the UK, wrote a comprehensive article telling you how to smell CSS rot early.
Hashrocket Lunch n' Learn #1 with Avdi Grimm: Making Little Classes out of Big Ones A look at the pros...
Ever wanted autocompletion for paths from paths.rb in Cucumber? This card lets you write your steps like this:
For my Gem Session project Holly I ran the Ironman of drag'n'drop implementations: Dragging in nested lists
Copy and paste at will, they're free! German quotation marks: „ “ (Ubuntu-Hotkey: AltGr+v and AltGr+b) English quotation...
Note that this seems to affect only recent Rails 2 versions. You will not encounter this until you are writing...
To force a check on your next reboot (here for your root partition), simply: touch /forcefsck To manually do this...
An association defined with has_many :through will return the same record multiple times if multiple join models for the...
An = is represented by =3D in the log file. I got confused by the leading 3D which is not part...
Copy the attached file to config/initializers/indent_string.rb and you can say "foo".indent(4) # " foo" Note you will find many simpler...
Tooltips that are delivered through HTML attributes are encoded. Decode entities before checking for their presence. Capybara: Then /^there should...
The SQL code generated by Graticule's spherical distance computation is insufficient and can lead to NULL distances in edge...
You can use heredoc to avoid endlessly long lines of code that nobody can read. Heredoc strings preserve linebreaks and...
If you get an error "Adress already in use" with autossh check with lsof or netstat if something already listen...
Pdfposter is a Python script that allows to convert large PDFs into a PDF with multiple pages that can be...
I recently browsed through the ActiveSupport code and found some nice stuff I did not know about: ActiveSupport::Callbacks
When you need to use diff in either some Ruby code or your Rails app, use the differ gem.
The Javascript code below is a rough equivalent to the simple_format helper that ships with Rails: function simpleFormat(str...
Although regular expression syntax is 99% interchangeable between languages, keep this in mind: By default, the dot character (".") does not...
ActiveRecord gives you the :include option to load records and their associations in a fixed number of queries. This is...
The shell variable PS1 holds your bash prompt. You might want to change it to serve your needs best. Here...
The speed searching for makandra notes in Firefox can be improved by following these steps: Download the Firefox-Add-on...
If you want to get a deep understanding of how closures, blocks, procs & lambdas in Ruby work, check out the...
If you want to iterate over a Range, but only look at every n-th element, use the step method...