Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Andy Wang
@yorzi
高级会员
第 42 位会员 / 2011-11-06

Intridea
西安
9 篇帖子 / 212 条回帖
7 关注者
0 正在关注
8 收藏
GitHub Public Repos
  • ChatGPT-Next-Web 2

    一键拥有你自己的 ChatGPT 网页服务。 One-Click to deploy your own ChatGPT web UI.

  • langflow 2

    ⛓️ LangFlow is a UI for LangChain, designed with react-flow to provide an effortless way to exper...

  • chatgpt_telegram_bot 1

  • ai-anything 1

    Anyone can create GPT tools

  • ChatGPT-Shortcut 1

    让生产力加倍的 ChatGPT 快捷指令,按照领域和功能分区,可对提示词进行标签筛选、关键词搜索和一键复制。

  • pdf-epub-GPT-translator 1

    Enjoy reading with your favorite style.

  • chatgpt-demo 1

    A demo repo based on OpenAI API (gpt-3.5-turbo)

  • ai_stories 1

    AiStories - Generate Storybooks for your kids using Artificial Intelligence

  • OpenGpt 1

  • Flowise 1

    Drag & drop UI to build your customized LLM flow using LangchainJS

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 导入一张 CSV,一对一,和一对多的数据如何导入三个表中? at 2013年01月20日

    重复的 user_name 可以先搜一下,如果没有才创建新的 user

    def self.import(file)
      CSV.foreach(file.path, headers: true) do |row|
         name, price, amount, user_name = row
         user = User.where(username: user_name).first_or_create
         project = user.projects.create!(name: name, price: price)
         order = project.orders.create!(amount: amount)
      end
    end
    
  • 导入一张 CSV,一对一,和一对多的数据如何导入三个表中? at 2013年01月20日

    FYI

    def self.import(file)
      CSV.foreach(file.path, headers: true) do |row|
         name, price, amount = row
         project = Project.create!(name: name, price: price)
         order = project.orders.create!(amount: amount)
      end
    end
    
  • 2012年12月21日以后的数据丢失了 at 2013年01月05日

    对所有 ruby-china 的会员来说都是一次很直观的教育,那就是对于 production 环境一定要定时备份。

  • [北京][12-15] Rails Girls Beijng [97 个 girls 报名了] at 2012年12月13日

    @sundevilyang 活动策划和宣传都做的很棒,就看当天的现场效果了,预祝活动圆满成功,加油!

  • 西安什么时候能组织 ruby 的线下活动?很是期待 at 2012年12月11日

    @xautjzd ROR既然很好的开发web,为何用的人不多呢?是技术人员不够多不够了解它的优点还是相比其他语言存在弊端呢 - 这个问题如果你是描述西安本地的状况,我觉得是因为做 Ruby/Rails 的本地技术人员不够多不够开放造成的现状。这个问题在技术发达地区不是问题,比方北上广杭州成都就有很多 ruby/rails 的团队,他们很多优秀的项目 (可以参照 RubyChina 酷站的列表)。在国外,很多初创公司都会选择 ruby on rails 来建设他们的网站或者系统。不知道有没有回答你的问题。

  • Coffee script & Javascript 结构与组织 at 2012年11月28日

    👍

  • RubyConfChina 2012 新浪 SAE Ruby 平台激活码和七牛云存储现金券 at 2012年11月23日

    wangyaodi#gmail.com thanks!

  • @doitian 来 RubyConf 了吗? at 2012年11月18日

    @doitian 现在坐我边上,过来找他吧哈哈

  • 我的演讲稿 追加未删节完整版 at 2012年11月18日

    楼主帅气!

  • RubyConfChina 现场花絮 at 2012年11月17日

    @chechaoyang 亮了

  • [上海][2012年11月16日,17 日] RubyConfChina 期间特别活动召集 at 2012年11月16日

    @allenwei 刚看见,好活动,晚上咖啡厅见!

  • 西安的 Rubyist 们一起去 RubyConfChina 相聚 at 2012年11月16日

    我和@allenwei 住在会场对面的如家欢迎来参会的朋友晚饭后过来串门。

  • falcon 的 ruby patch 真的能提高 Rails 启动速度么 at 2012年11月15日

    boot any rails app in under a second - https://github.com/burke/zeus

  • link_to 想默认加上 target:"_blank"该怎么做? at 2012年11月09日

    #1 楼 @chechaoyang +1

  • 西安的 Rubyist 们一起去 RubyConfChina 相聚 at 2012年11月08日

    #18 楼 @allenwei 放心吧,现在我已知的好像也就是 @yedingding 生了一个儿子...

  • 西安的 Rubyist 们一起去 RubyConfChina 相聚 at 2012年11月08日

    #17 楼 @huobazi 哈,那等你生完娃了我们找机会再聚

  • RubyConfChina 2012 参会指南 at 2012年11月07日

    #51 楼 @TingTing 哈,今年毛豆还太小,明年带她去参加 rubyconf ;)

  • 西安的 Rubyist 们一起去 RubyConfChina 相聚 at 2012年11月07日

    #14 楼 @iamzhangdabei 我们上午十一点起飞

  • RubyConfChina 2012 参会指南 at 2012年11月07日

    #37 楼 @chechaoyang 不错不错,我们也能去十个左右 :) 下周末上海见!

  • RubyConfChina 2012 参会指南 at 2012年11月07日

    #35 楼 @chechaoyang +1

    再顶 show girl^^^ @chechaoyang 你也去上海?

  • 西安的 Rubyist 们一起去 RubyConfChina 相聚 at 2012年11月07日

    #11 楼 @zhexu 很高兴认识你

    #12 楼 @iamzhangdabei 你是西安老乡还是在西安出差?我们也是 16 号下午的机票,上海见 :)

  • Run Ruby2.0 App On Heroku at 2012年11月06日

    赞楼主的探索精神,link 貌似报错...

  • RubyConfChina 2012 参会指南 at 2012年11月06日

    勋章牛逼!激动不已啊

  • 西安的 Rubyist 们一起去 RubyConfChina 相聚 at 2012年11月06日

    #7 楼 @lvjian700 #8 楼 @hellfig 在外地工作的老陕真不少啊,我也是从北京刚回来,很高兴认识你们,我们上海见 :) 可以加我 gtalk(看 6 楼) 或者加我新浪微博 (weibo.com/yorzi),有空平时也多多沟通啊。

    #9 楼 @allenwei 我闺女今天刚出满月,你生完娃赶紧跟我一起在西安搞点活动追赶一下兄弟城市的步伐,相信西安这座城市的 rubyist 也绝对不缺乏热情!

  • 西安的 Rubyist 们一起去 RubyConfChina 相聚 at 2012年11月05日

    @hi54yt 很高兴认识你,先加一下 gtalk: wangyaodi at gmail dot com

  • 怎么样实现对于特定的 object 的 authorization?(用 cancan?) at 2012年11月05日

    #4 楼 @cqcn1991

    先详细看看文档,各种情况都有说明,然后再找开源项目看看别人怎么写的。

  • Rails 开发者调查报告 2012 vs 2009 at 2012年11月05日

    looks interesting, thanks!

  • 举手! at 2012年11月05日

    一个月大

  • 西安的 Rubyist 们一起去 RubyConfChina 相聚 at 2012年11月05日

    西安的 Rubyist 们人呢?周末的帖子沉了重顶一下....

  • 如果 Ruby 社区里面多一些跨界明星... at 2012年11月05日

    #7 楼 @huobazi 哈哈,其实我是个种地的 :)

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