简体   繁体   English

宝石SMERF是否有Rails 3版本?

[英]Is there a Rails 3 version of the gem SMERF?

I have been looking for a gem that will help build user generated forms. 我一直在寻找一个宝石,它将帮助建立用户生成的表单。

I need to be able to allow users to define multiple fields like "checkbox" => value or "pulldown" => values as well as positon on the form itself for each. 我需要能够允许用户定义多个字段,例如“ checkbox” => value或“ pulldown” => values以及每个表单本身的位置。 This form could then be saved and other users could fill it out and that data would be saved and associated with that form. 然后可以保存该表格,其他用户可以填写该表格,并且数据将被保存并与该表格相关联。

SMERF I thought would help, but its not been updated for a very long time and I am using rails 3. 我认为SMERF会有所帮助,但是很长一段时间都没有更新,我正在使用rails 3。

Funnily enough, I converted SMERF to Rails 3 a while ago. 有趣的是,不久前我将SMERF转换为Rails 3。 Not fully tested, so let me know if there are any problems. 没有经过全面测试,所以请告诉我是否有任何问题。

http://github.com/ferrisoxide/smerf http://github.com/ferrisoxide/smerf

Fair warning - this was my first attempt at getting a gem working with Rails 3. Bound to be crufty. 合理的警告-这是我第一次尝试使Rails 3上的宝石工作起来。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM