Using rails models and activerecord in standalone ruby scripts