3 ms·
Indeed; see http://www.railstutorial.org/chapters/modeling-and-viewing-users-one#sec:database_migrations http://www.railstutorial.org/chapters/modeling-and-vie
by mhartl 17y ago
Indeed; see
http://www.railstutorial.org/chapters/modeling-and-viewing-users-one#sec:database_migrations http://www.railstutorial.org/chapters/modeling-and-viewing-u...
from my book for an example. ;-) But it requires running a special bootstrap script and has a different syntax from the default, i.e.,
$ script/generate rspec_model User
for RSpec vs.
$ script/generate model User
for the default Test::Unit. In Rails 3, they will both simply be
$ rails generate model User