[心得] 小弟學習 Ruby on Rails的心得筆記

作者: sdlong (sdlong)   2013-12-19 20:19:47
http://sdlong.logdown.com/
希望能達到拋磚引玉的效果,讓潛水的前輩們能浮出來
造福庇佑我們初入RoR這個世界的菜鳥
過程中有問題歡迎提出來,有空我會持續連載下去 ...
作者: gaozhi   2013-02-19 23:14:00
推~目前也在學習Rails~
作者: cucusho (Making new friends)   2013-02-20 02:20:00
cool~
作者: yodxxxd (yodxxxd)   2013-02-20 21:09:00
請問若有需要設定global variables在各view跟controller使用的話,要寫在哪邊呢?謝謝
作者: kusoayan (Bert)   2013-02-20 21:49:00
作者: yodxxxd (yodxxxd)   2013-02-21 14:11:00
謝謝樓上!原來要另外裝gem啊@@
作者: kusoayan (Bert)   2013-02-22 12:56:00
這只是一種簡便的方法,當然你也可以自己 hack像是在 application_controller 中用 before_action 訂不過我是覺得 SettingsLogic 比較乾淨,也容易切割一些不適合 commit 進 git 的 config
作者: sdlong (sdlong)   2013-02-23 14:26:00
連載新增: Ruby語言的筆記心得,雖然很基本但重要第五集寫完,這篇是讓你程度從nothing => newbie的關鍵
作者: breakanyrule (三年)   2013-02-28 08:00:00
謝謝您的分享!

Links booklink

Contact Us: admin [ a t ] ucptt.com