Closed polarblau closed 12 years ago
E.g. append rails g vertebrae:model NAME to rails g model NAME. Guessing rspec is doing something like that. Rails provides some hooks afaik.
rails g vertebrae:model NAME
rails g model NAME
Right now we're doing this: https://github.com/polarblau/vertebrae/commit/fac27e83b7a9434cf0ffef914ee09d78f868138a#diff-0
I've been looking around for this (e.g. here: http://stackoverflow.com/questions/9214714/rails-hooking-into-orm-generator ). Any idea how to do this?
merging with #53
E.g. append
rails g vertebrae:model NAME
torails g model NAME
. Guessing rspec is doing something like that. Rails provides some hooks afaik.Right now we're doing this: https://github.com/polarblau/vertebrae/commit/fac27e83b7a9434cf0ffef914ee09d78f868138a#diff-0