Application_Form/app/models/application_form_user.rb

13 lines
306 B
Ruby
Raw Normal View History

2022-03-10 02:11:18 +00:00
class ApplicationFormUser
include Mongoid::Document
include Mongoid::Timestamps
field :user_name
field :password
2022-03-10 02:11:18 +00:00
belongs_to :application_form_main
# belongs_to :user
# before_save do
# if self.new_record?
# self.user = User.find()
# end
# end
end