loosen dependency on rails.  #31