はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    おうちレシピ

『leftofthe.dev』

  • 人気
  • 新着
  • すべて
  • Replacing RSpec controller specs, part 1: Request specs | Left of the Dev

    9 users

    leftofthe.dev

    Replacing RSpec controller specs, part 1: Request specs Action Cable may be the new Rails 5 feature that got the most attention, but what caught my eye from this release was a big change to controller-level testing. While controller tests themselves haven’t been removed in Rails 5, a couple of commonly-used helpers, assigns and assert_template, have been deprecated. These helpers lead to brittle t

    • テクノロジー
    • 2016/08/30 14:17
    • rspec
    • rails
    • CSS
    • How I learned to test my Rails applications, Part 4: Controller specs | Left of the Dev

      7 users

      leftofthe.dev

      How I learned to test my Rails applications, Part 4: Controller specs Controller testing has been soft-deprecated in Rails, but you're still likely to see controller specs in many Rails codebases. The basics covered in this post still apply. Be sure to read my posts on replacing controller specs with feature specs and request specs for an up-to-date take on testing your code. Thanks! Poor controll

      • テクノロジー
      • 2012/11/29 12:15
      • Rspec
      • rails
      • test
      • How I learned to test my Rails applications, Part 3: Model specs | Left of the Dev

        5 users

        leftofthe.dev

        How I learned to test my Rails applications, Part 3: Model specs We’ve got all the tools we need for building a solid, reliable test suite—now it’s time to put them to work. We’ll get started with the app’s core building blocks—its models. In this post, we’ll complete the following tasks: First we’ll create a model spec for an existing model—in our case, the actual Contact model. Next, we’ll simpl

        • テクノロジー
        • 2012/04/01 12:12
        • Rails
        • Application templates in Rails 3 | Left of the Dev

          4 users

          leftofthe.dev

          Rails 3 has been out for a few months now, and one of the many changes was an update to the API for generators and templates. If you’re not familiar, you’ll now use the Thor utility for these purposes, and overall the process is much more modular and customizable. Here’s how to get started. Why would you want to use an application template, given how customizable and modular Rails 3 is? Exactly fo

          • テクノロジー
          • 2011/07/08 05:14
          • rails
          • 3 Rails documentation tools | Left of the Dev

            5 users

            leftofthe.dev

            If you’ve been using Reek to help in refactoring your Rails applications, you might run across warnings of Irresponsible Modules— that is, code with no comments to help explain what it does. A common knock on the Rails community is that we don’t document our code. I hate to admit it, but it’s fair. My own Rails project folders are full of uncommented methods and mysterious model attributes. If I c

            • テクノロジー
            • 2010/10/18 09:27
            • 3 Rails refactoring tools | Left of the Dev

              6 users

              leftofthe.dev

              Refactoring—the practice of making your working code better and more manageable through better design choices—is an important part of software development. It’s core to test-driven and behavior-driven methods, but if you’re not yet following the red-green-recycle mantra in your development, you may have yet to experience refactoring in practice. There are plenty of resources on refactoring; today

              • テクノロジー
              • 2010/09/27 21:14
              • rails
              • あとで読む
              • RVM and project-specific gemsets in Rails | Left of the Dev

                4 users

                leftofthe.dev

                Sorry about the delay in posting—everyday life got in the way of Everyday Rails. I’ve also been in the middle of changing how my development Ruby environment works, and want to share that today. In a little more than a year, RVM (Ruby Version Manager) has become a critical tool for Ruby and Rails developers. A few months ago, when Rails 3 was still in beta, I wrote how to use RVM’s gemsets feature

                • テクノロジー
                • 2010/09/15 00:58
                • rvm
                • passenger
                • rails
                • Mobile Rails applications, part 2: jQTouch with Rails 3 | Left of the Dev

                  3 users

                  leftofthe.dev

                  Mobile Rails applications, part 2: jQTouch with Rails 3 In my last post I shared my first steps toward creating a mobile version of a Rails application. I looked at the Mobile Fu plugin, but wasn’t happy with how it played with other parts what you might want to do with a Rails application. So referring to a couple of screencasts I moved forward with hand-rolling my mobile detection code—as it tur

                  • テクノロジー
                  • 2010/09/07 09:45
                  • rails
                  • Parsing dates and times in Ruby and Rails | Left of the Dev

                    3 users

                    leftofthe.dev

                    Out of the box, Rails’ date_select input type and other date/time-related times are a bit ugly and not very user-friendly—just a series of pulldown menus from which to select the month, day, year, hour, minute, and so on. You can pretty these up using a number of calendar-related plugins, notably by using Javascript, but there’s another way you can make date and time more user-friendly. I like goi

                    • テクノロジー
                    • 2010/08/12 20:09
                    • Ruby
                    • Rails
                    • Build a virtual bookshelf of free Ruby and Rails books | Left of the Dev

                      6 users

                      leftofthe.dev

                      If you’re just getting into Ruby or Rails now, and looking for some light reading, you’re in luck. Publishers like the Pragmatic Programmers, O’Reilly, Manning Publications, and others have tons of books available to help you learn. You could easily spend a few hundred dollars building a bookshelf of Ruby references. There are also some good free books to peruse online (or download) to get started

                      • テクノロジー
                      • 2010/08/02 09:02
                      • Ruby
                      • Rails
                      • Programming
                      • free
                      • books
                      • development
                      • book
                      • Building Rails apps faster with Nifty Generators, part 2: nifty_config | Left of the Dev

                        3 users

                        leftofthe.dev

                        Building Rails apps faster with Nifty Generators, part 2: nifty_config Continuing with my series on the Nifty Generators gem by Ryan Bates (see part 1 on nifty_layout), in this post I want to talk about a second feature this gem provides, called nifty_config. With nifty_config, you can quickly create a set of global variables for your application, dependent on the environment in which your Rails a

                        • テクノロジー
                        • 2010/07/15 09:27
                        • Building Rails apps faster with Nifty Generators, part 1: nifty_layout | Left of the Dev

                          4 users

                          leftofthe.dev

                          Building Rails apps faster with Nifty Generators, part 1: nifty_layout Moving along with the steps I follow to create a new Rails application, I want to get into a little detail on some of the specific steps I outlined previously. These are the first steps in taking a Rails app beyond the default shell and making it do what you need to get done. While most of the steps I went through last week are

                          • テクノロジー
                          • 2010/07/15 09:27
                          • Authenticated attachments in Rails with Paperclip | Left of the Dev

                            3 users

                            leftofthe.dev

                            Since Thoughtbot released it a couple of years ago, Paperclip has practically become synonymous with file upload for many Rails developers. Out of the box, Paperclip saves uploaded files in your application’s public directory, which makes good sense for files that should be accessible to everyone—by storing them there, you can serve them without the additional overhead of Rails. But what if you do

                            • テクノロジー
                            • 2010/07/08 23:20
                            • rails

                            このページはまだ
                            ブックマークされていません

                            このページを最初にブックマークしてみませんか?

                            『leftofthe.dev』の新着エントリーを見る

                            キーボードショートカット一覧

                            j次のブックマーク

                            k前のブックマーク

                            lあとで読む

                            eコメント一覧を開く

                            oページを開く

                            はてなブックマーク

                            • 総合
                            • 一般
                            • 世の中
                            • 政治と経済
                            • 暮らし
                            • 学び
                            • テクノロジー
                            • エンタメ
                            • アニメとゲーム
                            • おもしろ
                            • アプリ・拡張機能
                            • 開発ブログ
                            • ヘルプ
                            • お問い合わせ
                            • ガイドライン
                            • 利用規約
                            • プライバシーポリシー
                            • 利用者情報の外部送信について
                            • ガイドライン
                            • 利用規約
                            • プライバシーポリシー
                            • 利用者情報の外部送信について

                            公式Twitter

                            • 公式アカウント
                            • ホットエントリー

                            はてなのサービス

                            • はてなブログ
                            • はてなブログPro
                            • 人力検索はてな
                            • はてなブログ タグ
                            • はてなニュース
                            • はてなパークス
                            • ソレドコ
                            • App Storeからダウンロード
                            • Google Playで手に入れよう
                            Copyright © 2005-2026 Hatena. All Rights Reserved.
                            設定を変更しましたx