...CSS Sprites has been getting a lot of play on large web sites that serve millions of users...
...of tiny javascript/css files, which causes one extra round trip per file to the server and back! This is bad! Bundle-fu throws it all up into a big package...
...working on a problem for a client which involves connecting to a Microsoft SQL Server 2005 database from Linux using Ruby. Here’s what I did to get it working...
...RESTful ideas to talk to browsers have to put the smarts back on the server. They invent new URLs which (for example) return a resource, but return it all wrapped...
...speed. Now your Ruby scripts and Rails applications can talk directly to your FileMaker server with a syntax that just feels right...
...This is why you should try to reduce the number of different hostnames you serve content from...
Large scale server deploys using BitTorrent and the BitTornado library...
...documents using nothing but Javascript. You can use it in a Firefox extension, in Server Side Javascript and with Data URIs in some browsers...
...yourself in the foot: Doing a sudo shutdown -h now on the main database server right before you head home to cook dinner for six...
...sends the e-mail that we expect, but it also does stuff on the server that takes some time, eventually redirecting the user to a new page, showing other things...
If the browser is still waiting for further responses from the server (like after following redirects), it is locked -- and the next test using it will fail...
...About Exception#cause Ruby 2.1 has a built-in mechanism with Exception#cause, which serves a similiar purpose as Nesty. However, any code printing your stack trace (Exception Notifier, Airbrake...
...your config/environments/development.rb: config.middleware.insert_after(ActionDispatch::Static, Rack::LiveReload) Run guard init livereload. Restart your server. Use CSS live reload Run guard -P livereload in a console, and keep it open...
...work, we prefer another solution now: Hide your Selenium browser window with a VNC server. If you would like to hide the annoying selenium browser window that always gets the...
...s possible you get this "error" message: *** [err :: example.com] There are no Phusion Passenger-served applications running whose paths begin with '/var/www/example.com'. *** [err :: example.com] This is just because there were...
...no running passenger instance on the server. It's not a real error...
revisions << capture(:cat, 'REVISION').strip end end # Never skip asset compile when servers are running on different code next if revisions.uniq.length > 1 changed_files = `git diff --name-only...
The step definitions below allow you to test the filename suggested by the server: When I follow "Export as ZIP" Then I should get a download with the filename...