Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
@xdite
高级会员
第 196 位会员 / 2011-11-23

台湾
76 篇帖子 / 299 条回帖
183 关注者
0 正在关注
8 收藏
GitHub Public Repos
  • learn-hack 1517

    打造超人學習

  • Video2PDF 20

  • video2blog 4

  • MoneyPrinterTurbo 3

    利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.

  • groq-whisper 3

  • baby-develop-guide 2

    寶寶成長指南

  • logseq-plugin-template 2

  • newbie-programming-tools 2

  • OpenAI_Realtime_Python... 1

  • opfw 1

    🚀 大语言模型高效转发服务 · An efficient forwarding service designed for LLMs. · OpenAI API Reverse Proxy

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 鼓捣一下更快速的 model unit tests at 2012年01月10日

    可以參考 http://blog.firsthand.ca/2011/10/rails-is-not-your-application.html 這一篇文章的想法

  • 三个月可以做个 EC 网站吗? at 2012年01月09日

    @alvin2ye 維護情況我就不知道了。當時是派去救火當敏捷蓋房大隊的。蓋完一兩個月我就走了

  • 三个月可以做个 EC 网站吗? at 2012年01月09日

    @jean 0 起點

  • 三个月可以做个 EC 网站吗? at 2012年01月05日

    看你規格寫的多完備....

    http://www.popo.tw 是我帶 3 個 junior 一個月寫完的。含金流串接...

  • 找一篇 Rails 設計手法的文章 at 2012年01月04日

    http://blog.firsthand.ca/2011/10/rails-is-not-your-application.html

  • 新手请教 ruby-china 为什么要这样写? at 2011年12月28日

    我不小心多 commit 了一個

  • pow 如何支持局域网访问? at 2011年12月22日

    可以用 http://showoff.io

  • 有人明年會去 RailsConf 2012 嗎? ( 徵旅伴 ) at 2011年12月22日

    那哪個 Conf 質量比較高?

  • 很诡异的博客 at 2011年12月10日

    已經寫了第二集了 http://blog.xdite.net/posts/2011/12/09/how-to-design-helpers-2/

    另外我先拿掉了 google fonts..看問題會不會解決掉...

  • Rails 3.1 的 404 500 页面怎么处理? at 2011年12月09日

    application controller

    def render_404
      render :template => 'pages/page_not_found.html.erb', :status => 404
    end
    

    pages controller

    caches_action :page_not_found, :layout => false
    def page_not_found
      drop_page_title("頁面錯誤")
      render_404
    end
    
  • 很诡异的博客 at 2011年12月09日

    http://feed.feedburner.com/xxddite 可以直接訂 RSS,也可以讀。

    若有問題,直接上來問我就可以了。

    至於 more ....我不喜歡加 more XD

  • 很诡异的博客 at 2011年12月09日

    XDDD 被講詭異了。我是用 octopress,有設計師朋友說 octopress 其實很 heavy,對弱一點的機器不友好。特別是還用了 Google Fonts 技術。如果沒辦法讀 Google 也許就會 crash 掉....。

    我的猜測也許是這樣。

  • 分享一个 attr_accessor 的技巧 at 2011年12月08日

    以前還有寫過一個營養食譜網站。裡面有 vitamin_b , vitamin_c , vitamin_d, b_6, b_12 這樣的營養成分。然後輸入時必須要能選 g , mg, ug。但 db 裡是以 mg 為單位。

    不用 get,set 做會死人....

    另外營養成分有 30 多欄..............

    算是印象非常深刻 orz

  • 分享一个 attr_accessor 的技巧 at 2011年12月08日

    yes. 以前還沒有 nested form 綁 attributes 時。都要用這樣的技巧去實作....

  • Rails 中使用 helper 生成标签如何指定 css at 2011年12月07日

    你是指?

    <%= link_to("xxx", post_path, :class => "box") %>
    

    另外回復 bootstrap 的 form 問題,現在 ruby-china 是使用 simple_for 加上 bootstrap 的 template ( simple_form trunk feature )

    這樣直接使用

    <%= f.input :xxx, :as => "text", :input_html => { :class => "xxxlarge" } ) %>
    

    會自動轉成 simple_form 那樣複雜的 DOM 去包覆...

    不必再自己寫一堆東西

  • 除了 state_machine 还有没有更好的? at 2011年12月06日

    我都用 aasm ...

  • 用 jekyll 和 Octopress 做博客的都进了分享一下哈 at 2011年12月06日

    recent comment 是用 disqus 的 api

  • 用 jekyll 和 Octopress 做博客的都进了分享一下哈 at 2011年12月05日

    http://blog.xdite.net 這是我的 blog

  • 一些新手的進階 Ruby / Rails 知識 at 2011年12月04日

    我不打算合併社區。

  • 一些新手的進階 Ruby / Rails 知識 at 2011年12月04日

    no

  • 技术能力遇到瓶颈期了,我想进一步增强我 Rails 能力,请各位 Rails 前辈指条道路给我吧 at 2011年12月04日

    多寫小東西才是王道....可以從把玩中累積經驗。

    [~/projects] $ ls -al | wc -l 153

    現在我寫正式專案的東西,很多都是從以前玩具中抽出來萃煉出來的。

  • Ruby on Rails with Nginx on Ubuntu 如何配置,求菜鸟版教程。 at 2011年12月04日

    這是我寫的遠端佈署最佳實踐:http://ruby-taiwan.org/wiki/deploy_to_production_practice

    這裡面也用到了一份 opensource 最佳實踐指南 https://github.com/jnstq/rails-nginx-passenger-ubuntu。可以幫你處理掉討厭的 imagemagick, mysqlm, nginx 問題...

  • 如何才能让 Ruby-China 和其它 Rails App (如者也、Ruby-Taiwan) 共用用户认证机制? at 2011年12月04日

    自己作一套 SSO 吧。

    http://www.techbang.com.tw 我們就是自己搞 SSO...

  • 如何才能让 Ruby-China 和其它 Rails App (如者也、Ruby-Taiwan) 共用用户认证机制? at 2011年12月03日

    就都用 Github 不就得了?

  • bootstrap 貌似对 IE7, IE8 支持得不好,有什么解决方案? at 2011年12月03日

    bootstrap 就是拿來 bootstrap project 的,本來就不適合用來幹正經網站

  • 有没有同学用过 ActiveAdmin 这个 Gem? at 2011年12月03日

    我覺得 rails_admin 比較好用

  • 如何以图片的形式表示 selection 或者 radio? at 2011年12月03日

    可以看看 chosen 是怎麼實作的 http://harvesthq.github.com/chosen/

  • 如何以图片的形式表示 selection 或者 radio? at 2011年12月03日

    用 javascript 換,這與 rails 無關

  • 3.2 实现了慢查询 SQL 能自动出 explain。 at 2011年12月02日

    太 cool

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