View
Posted almost 9 years ago by Henning Koch.

The following Sass will do it: hr color: #ddd background-color: #ddd border: none height: 1px

Posted almost 9 years ago by Lexy. github.com

PaintbrushJS is a lightweight, browser-based image processing library that can apply various visual filters to images within a web...

Posted almost 9 years ago by Martin Straub.

In Webkit you can use the HTML5-attribute autofocus: = form.text_field :title, :autofocus => 'autofocus' Here is a jQuery fallback for...

Posted almost 9 years ago by Martin Straub.

Notebook: 1280x800 (many consumer notebooks) Netbook: 1024x600 Desktop: 1440x900 / 1680x1050 (19"- und 22"-Widescreen-TFTs) iPad: 768x1024

Posted almost 9 years ago by Lexy.

Most of these will not work in newer projects because these use the Capybara/Rack::Test combo in lieu of Webrat...

Posted almost 9 years ago by Tobias Kraze.

When a paperclip attachment gains a new style and you have many attachments, reprocessing can take ages. This is because...

Posted almost 9 years ago by Martin Straub.

has_attached_file( :avatar, :styles => { :large => "300x300", :small => "100x100" }, :convert_options => { all => "-colorspace RGB" } )

Posted almost 9 years ago by Henning Koch. github.com

We built cucumber_spinner to have a progress bar for Cucumber features, which also outputs failing scenarios as soon as...

Posted almost 9 years ago by Tobias Kraze.

To parse XML-documents, I recommend the gem nokogiri. A few hints: xml = Nokogiri::XML(" foo bar ") parses an xml...

Posted almost 9 years ago by Tobias Kraze.

See the lemonade descriptions. Unfortunately, the gem has a few problems: it does not work with Sass2...

Posted almost 9 years ago by Martin Straub.

.error, .information, .warning { font-weight: bold; } .notice { color: #11bb00; } .error { color: #F53A31; } .information { color: #557; } .warning { color: #d07d2d; }

Posted almost 9 years ago by Martin Straub.

tmp/* storage/* db/*.sqlite3 db/schema.rb db/structure.sql public/system .project .idea/ public/javascripts/all* public/stylesheets/all* public/stylesheets/*.css config/database.yml *~ *#* .#* .DS_Store webrat-*.html

Posted almost 9 years ago by Arne Hartherz.

This is more tricky than it should be because url_for, asset_path, etc. all rely on different mechanisms.

Posted almost 9 years ago by Lexy. github.com

The Holy Grail of testing for front-end development; execute browser-less, console-based, javascript + DOM code right from within...

Posted almost 9 years ago by Lexy. github.com

Run your Jasmine specs without a browser

Posted almost 9 years ago by Lexy. caniuse.com

Compatibility tables for features in HTML5, CSS3, SVG and other upcoming web technologies

Posted almost 9 years ago by Lexy. mezzoblue.com

All browsers that support the CSS text-shadow and box-shadow properties also support the new CSS3 RGBa syntax. Which...

This website uses cookies to improve usability and analyze traffic.
Accept or learn more