add rails composer functon and alias