阅读背景:

从不同的模型视图创建记录(不涉及新的操作)

来源:互联网 

I have a has_many & belongs_to associations between company and worker. I want to be able to add a worker to a company via a link in my workers index page. I want that to save the worker record belonging to the logged in company and update the company/workers index page with the new worker added to their workers. I have a has_many & belongs_to associations bet




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: