推 gaozhi:推~目前也在學習Rails~ 12/19 23:14
推 cucusho:cool~ 12/20 02:20
推 yodxxxd:請問若有需要設定global variables在各view跟controller 12/20 21:09
→ yodxxxd:使用的話,要寫在哪邊呢?謝謝 12/20 21:09
推 yodxxxd:謝謝樓上!原來要另外裝gem啊@@ 12/21 14:11
推 kusoayan:這只是一種簡便的方法,當然你也可以自己 hack 12/22 12:56
→ kusoayan:像是在 application_controller 中用 before_action 訂 12/22 12:56
→ kusoayan:不過我是覺得 SettingsLogic 比較乾淨,也容易切割一些 12/22 12:57
→ kusoayan:不適合 commit 進 git 的 config 12/22 12:57
→ sdlong:連載新增: Ruby語言的筆記心得,雖然很基本但重要 12/23 14:26
→ sdlong:第五集寫完,這篇是讓你程度從nothing => newbie的關鍵 12/25 22:26
推 breakanyrule:謝謝您的分享! 12/28 08:00