<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # 12.4 小結 實現了動態流后,本書的演示應用就開發完了。這個應用演示了 Rails 的全部重要功能,包括模型、視圖、控制器、模板、局部視圖、過濾器、數據驗證、回調、`has_many`/`belongs_to` 關聯、`has_many :through` 關聯、安全、測試和部署。 除此之外,Rails 還有很多功能值得我們學習。下面提供了一些后續學習資源,可在以后的學習中優先使用。 ## 12.4.1 后續的學習資源 商店和網上都有很多 Rails 資源,而且多得讓你挑花眼。可喜的是,讀完這本書后,你已經可以學習幾乎所有其他的知識了。下面是建議你后續學習的資源: * [本書配套視頻](http://screencasts.railstutorial.org/):我為本書錄制了內容充足的配套視頻,除了覆蓋本書的內容之外,還介紹了很多小技巧。當然視頻還能彌補印刷書的不足,讓你觀看我是如何開發的。你可以在[本書的網站](http://railstutorial.org/)中購買這些視頻。 * [RailsCasts](http://railscasts.com/):我建議你瀏覽一下 [RailsCasts 的視頻歸檔](http://railscasts.com/episodes/archive),觀看你感興趣的視頻。 * [Tealeaf Academy](http://www.gotealeaf.com/railstutorial):近些年出現了很多面授開發課程,我建議你參加一個當地的培訓。其中 [Tealeaf Academy](http://www.gotealeaf.com/railstutorial) 是線上課程,可在任何地方學習。Tealeaf 的課程組織良好,而且能得到老師的指導。 * [Thinkful](http://www.thinkful.com/a/railstutorial):沒 Tealeaf 那么高級的課程(和本書的難度差不多)。 * [RailsApps](https://tutorials.railsapps.org/hartl):很有啟發性的 Rails 示例應用。 * [Code School](http://mbsy.co/6VQ8l):很多交互式編程課程。 * Ruby 和 Rails 相關的書:若想進一步學習 Ruby,我推薦閱讀 Peter Cooper 寫的《[Beginning Ruby](http://www.amazon.com/gp/product/1430223634)》,David A. Black 寫的《[The Well-Grounded Rubyist](http://www.amazon.com/gp/product/1933988657)》,Russ Olsen 寫的《[Eloquent Ruby](http://www.amazon.com/Eloquent-Ruby-Addison-Wesley-Professional-Series/dp/0321584104/)》和 Hal Fulton 寫的《[The Ruby Way](http://www.amazon.com/gp/product/0672328844)》。若想進一步學習 Rails,我推薦閱讀 Sam Ruby、Dave Thomas 和 David Heinemeier Hansson 合著的《[Agile Web Development with Rails](https://pragprog.com/book/rails4/agile-web-development-with-rails-4)》,Obie Fernandez 寫的《[The Rails 4 Way](http://www.amazon.com/Rails-Edition-Addison-Wesley-Professional-Series/dp/0321944275)》以及 Ryan Bigg 和 Yehuda Katz 合著的《[Rails 4 in Action](http://www.amazon.com/Rails-4-Action-Ryan-Bigg/dp/1617291099)》。 ## 12.4.2 讀完本章學到了什么 * 使用 `has_many :through` 可以實現數據模型之間的復雜關系; * `has_many` 方法有很多可選的參數,可用來指定對象的類名和外鍵名; * 使用 `has_many` 和 `has_many :through`,并且指定合適的類名和外鍵名,可以實現“主動關系”和“被動關系”; * Rails 支持嵌套路由; * `where` 方法可以創建靈活且強大的數據庫查詢; * Rails 支持使用低層 SQL 語句查詢數據庫; * 把本書實現的所有功能放在一起,最終實現了一個能關注用戶并且顯示動態流的應用。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看