Skip to content

Instantly share code, notes, and snippets.

@shimadama
shimadama / devise.md
Created January 15, 2019 08:37 — forked from yano3nora/devise.md
[rails: devise] Authentication gem for Ruby on Rails. #ruby #rails
@yano3nora
yano3nora / rails.md
Last active June 16, 2020 01:48
[rails: note] Ruby on Rails - MVC web application frame work by ruby. #ruby #rails

OVERVIEW

rubyonrails.org
rails/rails - github.com

Ruby 製の MVC WEB アプリケーションフレームワーク。アジャイル開発に適しスタートアップ系企業の採用例が多く、クックパッドや食べログなどでも利用されている。「設定より規約」で DRY 重視。RESTful なインターフェイスや HTML 5 / モダン JavaScript への追従も早く WEB の流行をいち早く取り込んでいて、バージョンアップは割と早めなのでメジャーバージョンの移行は結構大変みたい。

@muumu
muumu / scrum_note.txt
Created July 17, 2017 18:39
スクラム学習メモ
アジャイルの原則
イテレーティブ(反復的)
- 間違いや失敗が起こった後でなければ正解は分からないという前提
- 計画的な手戻り戦略により優れたソリューションを目指す
インクルメンタル(漸進的)な開発
- 少しずつ作ることで短期間の間にフィードバックを受け、手戻りのコストを最小限にする
スクラムの定義と目的
@mignonstyle
mignonstyle / markdown-cheatsheet.md
Last active September 25, 2025 04:44
Markdown記法 チートシート

Block Elements ## Headers 見出し 先頭に#をレベルの数だけ記述します。 ```

見出し1

見出し2

見出し3

見出し4

見出し5
見出し6
## 見出し2
### 見出し3
#### 見出し4
##### 見出し5
###### 見出し6 ## Block 段落 空白行を挟むことで段落となります。 ```
段落1
(空行)
段落2
``` 段落1 段落2 ## Br 改行 改行の前に半角スペース` `を2つ記述します。 ```
hoge
fuga(スペース2つ)
piyo
``` hoge
fuga piyo ## Blockquotes 引用 先頭に`>`を記述します。ネストは`>`を多重に記述します。 ```
> 引用 > 引用
>> 多重引用
``` > 引用 > 引用
>> 多重引用 ## Code コード `` `バッククオート` `` 3つ、あるいはダッシュ`~`3つで囲みます。 ```
print 'hoge'
``` ```
print 'hoge'
``` ### インラインコード `` `バッククオート` `` で単語を囲むとインラインコードになります。 ```
これは `インラインコード`です。
``` これは `インラインコード`です。 ## pre 整形済みテキスト 半角スペース4個もしくはタブで、コードブロックをpre表示できます ``` class Hoge def hoge print 'hoge' end end
``` class Hoge def hoge print 'hoge' end end ## Hr 水平線 アンダースコア`_` 、アスタリスク`*`、ハイフン`-`などを3つ以上連続して記述します。 ```
hoge
***
hoge
___
hoge
---
``` hoge
***
hoge
___
hoge
--- # Lists ## Ul 箇条書きリスト ハイフン`-`、プラス`+`、アスタリスク`*`のいずれかを先頭に記
@seak0503
seak0503 / use_seed_dump.md
Created March 10, 2016 03:50
seed_dumpの使い方

本家

https://github.com/rroblak/seed_dump

注意ポイント

デフォルトdb/seeds.rbを上書きしてしまうため、通常はFILEオプションを利用した方がよい。

linux shell上での操作

全テーブルのシードファイルをつくる

スクラムガイド

スクラム完全ガイド: ゲームのルール

2013 年 7 月

Developed and sustained by Ken Schwaber and Jeff Sutherland

©2015 Scrum.Org and ScrumInc. Offered for license under the Attribution Share-Alike license of Creative Commons, accessible at http://creativecommons.org/licenses/by-sa/4.0/legalcode and also described in summary form at http://creativecommons.org/licenses/by-sa/4.0/. By utilizing this Scrum Guide you acknowledge and agree that you have read and agree to be bound by the terms of the Attribution ShareAlike license of Creative Commons.

@mitsuruog
mitsuruog / index.md
Last active January 24, 2025 02:47
express実践入門

express実践入門


自己紹介

小川充

  • mitsuruog
@kyohei-shimada
kyohei-shimada / ruby_memo.md
Last active February 27, 2020 06:27
RubyのちょっとしたTips

RubyのちょとしたTips

ちょっと便利なことだったり,今さら知った恥ずかしいことなど

ローカル変数のスコープ

小文字または`_'で始まる識別子はローカル変数また はメソッド呼び出しです。ローカル変数スコープ(クラス、モジュー ル、メソッド定義の本体)における小文字で始まる識別子への最初 の代入はそのスコープに属するローカル変数の宣言になります。宣 言されていない識別子の参照は引数の無いメソッド呼び出しとみな されます。 ローカル変数のスコープは、((宣言した位置から))その変数が宣 言されたブロック、メソッド定義、またはクラス/モジュール定義 の終りまでです。寿命もそのブロックの終りまで(トップレベルの ローカル変数はプログラムの終了まで)ですが、例外としてブロッ クが手続きオブジェクト化された場合は、そのオブジェクトが消滅 するまで存在します。同じスコープを参照する手続きオブジェクト 間ではローカル変数は共有されます。

@mlanett
mlanett / rails http status codes
Last active October 22, 2025 18:39
HTTP status code symbols for Rails
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing
@tjws052009
tjws052009 / git_rbenv.sh
Last active November 25, 2018 07:38
Docker用に git + rbenv インストールするためのスクリプト用意
#!/bin/bash
sudo yum install -y git
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build