Roll out the RedCarpet: Macros for Markdown

Posted by & filed under Rails, Ruby, Tools.

Letting Users use WYSIWYG-Editors for writing content is usually a bad idea: We all start with good intentions, but sooner or later, this pseudo-html produces a great, ugly markup-mess (e.g. the living hell that Microsofts Word places on the Clipboard if you paste it into TinyMCE. That’s why we replaced all this nastiness with simpler… Read more »

Note to self: rspec-rails belongs in both :test __and__ :development

Posted by & filed under Rails, Testing.

Just in case you wonder why your spec-rake-tasks are not found – this does not work group :test do gem "rspec-rails", "~>= 2.7.0" gem "database_cleaner" gem "spork", ‘~> 0.9.0.rc’ … end although it looks obvious on first sight. But now, your spec-tasks are not available in the development-environment and so rake -T spec comes up… Read more »