Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
@yuan_yp
Member
NO. 7399 / 2013-06-02

19 Topics / 38 Replies
0 Followers
0 Following
0 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 数据库是 string 类型,传入的值也是 string 类型,报输入类型不符怎么回事 at July 02, 2013

    #1 楼 @guyanbiao

    #2 楼 @luikore #3 楼 @xiaogui #4 楼 @hello_little_yy 解决了,是 belongs to 的问题,吧 belongs to 注释掉就好了

  • rails 中 select 的使用 at June 29, 2013

    #4 楼 @Rei ---ruby--- <%= form_for @organ do |f| %> <%= f.select @organ.id, options_from_collection_for_select(@organ,:organname), :prompt => true %>

    <% end %>

    @organ是控制层传过来的对象

  • rails 中 select 的使用 at June 29, 2013

    #1 楼 @Rei 我写的不知道对不对

  • rails 中 select 的使用 at June 29, 2013

    我是这样写的,不理解里面的原理

  • roo 实现动态读取 Excel 怎么实现 at June 13, 2013

    #1 楼 @metal 我只是找官网的例子自己改了一下而已,具体不知道 roo 怎么用,有没有使用过的前辈指点一下

  • Rails 开发的项目要实现 Excel 表格在页面的显示 at June 13, 2013

    #4 楼 @alucardpj 我写的 roo 是对数据表字段和 excel 的标题直接对应的,所以是死的,除非每次读一个 excel 表格都进行手动对应,可能使用方法有问题

  • Rails 开发的项目要实现 Excel 表格在页面的显示 at June 13, 2013

    #1 楼 @chunlea roo 能实现动态的读取上传 excel 数据并存入数据库吗

  • Prev
  • 1
  • 2
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English