added rails composer method