![Rack applicationのプロファイリングにはrack-lineprofが便利 - k0kubun's blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/1de5c8bc5411fca20242374c1746c0a6d540a43d/height=288;version=1;width=512/http%3A%2F%2Fi.gyazo.com%2Fd5c755db6f0aef154355f5393a176ca3.png)
Grape は Ruby で API を書くのに便利なフレームワークです。 Grape 自体については fakestarbaby 氏がすでにすてきなエントリを書いてくださっています。 Grape | API生成マイクロフレームワーク #Rails #Gems #Ruby #grape #api_builders - Qiita ここではどうやってテストを書くのかということについて書いてみたいと思います。 想定 RSpec の受け入れテストの request_spec を使うよ API は JSON を返すよ API 用のサブドメイン(api.foobar.com)を切っているよ JSON のテストは json_expressions を使うよ(参考) OAuth 2.0 の Provider になって Web Application Flow とかで認証しちゃったり モックは Factor
2015 Feb 19 Rubyによる暗黙のFizzBuzzの世界 2014 Dec 15 Ruby de Streem Aug 10 Ruby的FizzBuzz Aug 08 Ruby製サードパーティライブラリgemのトレンドを知るには「BestGems.org」がベスト Aug 04 ターミナルにデジタル式デカ文字を出力する「digi_moji」の紹介 Aug 04 わかりやすいREADME.mdの書き方がわかりません。どうしたらいいでしょうか(Yawhoo知恵袋) - digi_mojiのステマ Jul 28 カラム指向ターミナルカラーライブラリ「colcolor」にcyclicオプションを付けました! Jul 14 Yet Another Terminal Color for Ruby: Colcolorの紹介 Jul 14 自分が公開しているgemの日々のダウンロード数が気になっ
Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news. Writing for Ruby Inside, I get to see a lot of Ruby code. Most is good, but sometimes we forget some of Ruby's shortcuts and tricks and reinvent the wheel instead. In this post I present 21 different Ruby "tricks," from those that most experienced developers use every day to the more obscure. Whatever your level, a refresh
What to expect in this guide People start learning Rails for all sorts of reasons. Whether you have been programming for years and want to give web development in Ruby a try, or you are a complete coding newbie wanting to see if programming is for you, Rails is a great tool to learn. Most of the resources in this guide assume no programming knowledge — more advanced readers may choose to skim the
253: CarrierWaveでファイルのアップロード (view original Railscast) Other translations: Other formats: Written by Naomi Fujimoto アーティストが絵をアップロードしてギャラリーに展示できるサイトを作っているとしましょう。一部はすでにできています。ギャラリーを一覧表示するページがあり、リンク先のギャラリーで絵を見ることができます。 それぞれの絵は、タイトルと画像保存用のフィールドを持っていますが、絵そのものはありません。ギャラリーに新規に絵を追加しようとしても、タイトルを入れるテキストフィールドがあるのはわかりますが、画像をアップロードする方法がありません。 絵の画像を添付する機能を実装するにはどうすればいいでしょう?Paperclip gemについてエピソード134[動画を見る, 読む]
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く