Say you want to allow users to emphasize some string, but the whole markdown thing would be far too much...
When you use ab to do some performance benchmarking, you might run into output like this: Complete requests: 200
Find out in this short guide, how to horizontally center a absolute positioned container with CSS. Note: We have a...
yaml4r is a juxtaposition of yaml documents and their Ruby couterpart. Thus, it does a great job as YAML-doc...
We all struggle with pricing. Here is some interesting information that helps you with your pricing decisions.
view_context.helper_method('args') Rails 2 ApplicationController.helpers.helper_method('args') Also see How to use helper methods inside a model...
The User-Agent HTTP header identifies the client and is sent by "regular" browsers, search engine crawlers, or other web...
The way Rational#to_s works on Ruby has changed from Ruby 1.9 on. Here is how to get the...
When a controller action redirects to an external URL (like http://somehost.com/some/path) you will find that this is hard...
To set a cookie in your test browser for cucumber tests, you need to know which driver you are using...
Great look at the tradeoffs between progressive enhancement with jQuery or similiar, vs. client-side views.
Smashing Magazine lists some handy tricks for print style sheets, all with CSS: Expand External Links For Print
Since there are more and more touch-capable devices out there, as a web-developer it becomes more and more...
Rails understands a :limit options when you create columns in a migration. Its meaning depends on the column type, and...
Guide how to make fixes in other people's GitHub repositories. It's basically "Open Source Development 101".
Here is a hacky way to load dumps directly from the source server, without fully copying them over and extracting...
When MySQL refuses to use your index, there's a number of things that you may be doing wrong. One...
This error can happen in Ruby 1.9. To fix it, add the following line to the top of your .js.erb...
Rails 2.3.16+ on Ruby 1.9 causes warnings like this: .../gems/activesupport-2.3.17/lib/active_support/core_ext/string/output_safety.rb:22: warning: regexp match /.../n against to UTF-8 string...
JavaScripts and CSS should be minified for production use. In Rails 3.1+ the asset pipeline will take care of this...
Prepare to explain customers what changed if your application renders PDF documents to users.
If you need to capture signatures on an IPad or similar device, you can use Thomas J Bradley's excellent...
Stringex is a gem that offers some extensions to Ruby's String class. Ruby 1.9 compatible, and knows its way...
In our continued quest to extract proven code snippets from makandropedia into tested and upgradable gems, we have released Edge...