Archive for category rails
ZenTest er finfint!
Posted by jone in Uncategorized, rails on 10. March , 2010
Det er mye enklere å teste når testene kjører av seg selv og maser når det må mases. Med ZenTest og test_notifier får du beskjed når ting går galt helt automagisk – og det via libnotify/knotify. For en kjapp oppskrift, se her: getting started with autotest
capistrano ftw
This is just a small nod in the direction of capistrano, the rails deployment machine. It gives great satisfaction to commit your latest fixes to master and run a quick “cap deploy”, and a few seconds later having an up to date server on the other end.
No need to meddle with the server, it is all automagic:)
Now – back to work…
CSS/Rails
Notat til meg selv:
bruk
<%= stylesheet_link_tag "cssfil" %>
for å inkludere css, så slipper man trøblete proxy-servere som bare vil servere gamle versjoner.