Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
hSATAC
@hSATAC
高级会员
第 1795 位会员 / 2012-04-12

0 篇帖子 / 9 条回帖
0 关注者
0 正在关注
0 收藏
GitHub Public Repos
  • vimrc 51

    hSATAC's vimrc - vim, macvim, gvim(win32)

  • wifi-password-qr 43

    Command line tool to generate current wifi password qrcode for macOS

  • 2fa 26

    Two-factor authentication in the command line utilizing macOS keychain.

  • line-telegram-stickers 6

    A tool to move Line stickers to Telegram.

  • octo 5

  • foobar2000-artwork 4

    A front-end web UI to display foobar2000 artwork

  • cached_curl 3

    A curl bash wrapper for downloading files with local cache. (macOS & Linux)

  • mmonit-ruby 2

    Ruby interface for M/Monit

  • ssh-proxy 1

    🐳 Dockerized SSH bastion to proxy SSH connections to arbitrary containers.

  • homebrew-toybox 1

    My toybox homebrew tap formula repo

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 吐槽一下中文版《代码的未来》吧 at 2013年06月04日

    正體中文版年底發行,習慣看正體的同學們可以等看看是否翻譯質量會更好。

  • 使用 Go 代替 Ruby 将服务器数量从 30 降到 2 at 2013年03月21日

    Go 使用 struct 來實現面向對象的設計相當精巧...其實不需要 class 的

  • 系統帳號認證錯亂問題 at 2012年05月07日

    可以了,謝謝管理員!

  • 系統帳號認證錯亂問題 at 2012年04月16日

    好像正常了

  • Rails Association 疑问 at 2012年04月16日

    是我的留言,但我不是 @hSATAC !!

  • Rails Association 疑问 at 2012年04月16日

    這個系統有 bug,上面留言的不是我的帳號。

  • Rails Association 疑问 at 2012年04月16日

    上面的幾行是在定義表與表間的關係。真正哪一張 order 由哪一位用戶所產生,仍是需要你在 controller 中產生 oroder 實例時設定 (系統怎麼知道該訂單由誰下?)。設定方法很多種。

    # orders#create
    current_user.orders << order
    
    

    或者

    # 在 orders#new 中
    @order = current_user.orders
    
    # 並在表單中放入隱藏欄位,表單送出時才能得知是哪位用戶下的訂單
    = f.hidden_field :user_id
    
    # 如果是這樣,在 orders#create 中只要 Order.create!(params[:order]) 即可。
    
    
  • Ruby China T 恤第一期的赠送名单公布 at 2012年04月16日

    我來啦 我這邊是 github 直接登入的 @hSATAC 認領

  • 有没有详细深入的关于 rails ajax 以及 push 的好资料? at 2012年04月14日

    Faye, push server. Faye: Simple pub/sub messaging for the web http://j.mp/HHY9tF

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