Tokyo Tech Lead
Subscribe
Sign in
Home
Chat
👣 Learning Paths
Archive
Leaderboard
About
ruby on rails
Latest
Top
Discussions
Is Ruby on Rails Worth Learning in 2024? A Quick Insight
As we delve into 2024, many developers might wonder: is Ruby on Rails still worth learning in 2024? In recent years, other emerging technologies and…
Mar 12, 2024
•
Adler Hsieh
Share this post
Tokyo Tech Lead
Is Ruby on Rails Worth Learning in 2024? A Quick Insight
Copy link
Facebook
Email
Notes
More
Using application-wide variables in Ruby on Rails
Rails offers various ways to implement methods, but implementing global variables is not as straightforward.
Sep 16, 2015
•
Adler Hsieh
Share this post
Tokyo Tech Lead
Using application-wide variables in Ruby on Rails
Copy link
Facebook
Email
Notes
More
form_tag 是啥?跟 form_for 有什麼不一樣?
一般在Rails的app當中,常會看到form_tag的用法,基本上就是為了傳送http的POST request使用,就像我們在瀏覽器中直接輸入網址就可以發出GET request一樣。
Jul 18, 2015
•
Adler Hsieh
Share this post
Tokyo Tech Lead
form_tag 是啥?跟 form_for 有什麼不一樣?
Copy link
Facebook
Email
Notes
More
影片教學課程 RSpec-Rails (基礎篇) 上架
RSpec課程來囉!從5/10開始錄製,到6/4終於完整上架、發佈,算是我第一個比較完整的Ruby相關課程。希望大家多多支持喔!
Jun 6, 2015
•
Adler Hsieh
Share this post
Tokyo Tech Lead
影片教學課程 RSpec-Rails (基礎篇) 上架
Copy link
Facebook
Email
Notes
More
RSpec-Rails (基礎篇)(8): 總結 & 推薦教材
RSpec-Rails教學(基礎篇)全部內容
Jun 4, 2015
•
Adler Hsieh
Share this post
Tokyo Tech Lead
RSpec-Rails (基礎篇)(8): 總結 & 推薦教材
Copy link
Facebook
Email
Notes
More
RSpec-Rails (基礎篇)(7): 撰寫整合測試
RSpec-Rails教學(基礎篇)全部內容
Jun 4, 2015
•
Adler Hsieh
Share this post
Tokyo Tech Lead
RSpec-Rails (基礎篇)(7): 撰寫整合測試
Copy link
Facebook
Email
Notes
More
RSpec-Rails (基礎篇)(6): 撰寫Routing測試
RSpec-Rails教學(基礎篇)全部內容
Jun 4, 2015
•
Adler Hsieh
Share this post
Tokyo Tech Lead
RSpec-Rails (基礎篇)(6): 撰寫Routing測試
Copy link
Facebook
Email
Notes
More
Rails 用巢狀include和查表方式來避免 n+1 query
先前在用includes和joins避免N+1 query當中有提到,資料庫一直是Rails效能一大殺手,除了瀏覽器下載很肥的檔案會造成效能低落以外,第二個會讓網頁很慢的原因就是資料庫讀取太頻繁(當然如果被牆了那可能又是另一個原因...)
May 30, 2015
•
Adler Hsieh
Share this post
Tokyo Tech Lead
Rails 用巢狀include和查表方式來避免 n+1 query
Copy link
Facebook
Email
Notes
More
RSpec-Rails (基礎篇)(5): 撰寫Model測試
RSpec-Rails教學(基礎篇)全部內容
May 27, 2015
•
Adler Hsieh
Share this post
Tokyo Tech Lead
RSpec-Rails (基礎篇)(5): 撰寫Model測試
Copy link
Facebook
Email
Notes
More
Rails用content_tag產生html
一般我們會在helper當中利用content_tag撰寫html,以減少我們在view當中有過多的html code。
May 23, 2015
•
Adler Hsieh
Share this post
Tokyo Tech Lead
Rails用content_tag產生html
Copy link
Facebook
Email
Notes
More
將Rails佈署(Deploy)到VPS上
…
May 10, 2015
•
Adler Hsieh
Share this post
Tokyo Tech Lead
將Rails佈署(Deploy)到VPS上
Copy link
Facebook
Email
Notes
More
require、require_relative是什麼意思?差在哪?
雖然Ruby本身已經有非常多的功能,但還是常常在Ruby檔案中看到require 'something',例如要使用JSON.parse就必須先require 'json',如果不require就無法使用這些功能。到底這些在檔案最開頭的玩意兒代表什麼意思呢?如果不require又會怎麼樣?
May 10, 2015
•
Adler Hsieh
Share this post
Tokyo Tech Lead
require、require_relative是什麼意思?差在哪?
Copy link
Facebook
Email
Notes
More
Share
Copy link
Facebook
Email
Notes
More
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts