开发者

Rails 3: using non-Active Record objects with form_for

开发者 https://www.devze.com 2023-01-26 00:45 出处:网络
Is there any document开发者_开发技巧ation, or advice?You can use Active Model Take a look here.

Is there any document开发者_开发技巧ation, or advice?


You can use Active Model

Take a look here.

Look at the source code at Github.


Using ActiveAttr is the more modern way of doing this.

Gem: https://github.com/cgriego/active_attr
Railscast: http://railscasts.com/episodes/326-activeattr

0

精彩评论

暂无评论...
验证码 换一张
取 消