Generated scaffolding for model via Rails

This commit is contained in:
Prelang Builder
2014-02-27 23:58:57 +00:00
committed by u7482
parent 9921d3b6d6
commit aec5ca5c47
14 changed files with 209 additions and 0 deletions
+2
View File
@@ -1,2 +1,4 @@
class Question < ActiveRecord::Base
habtm :surveys
has_many :answers
end