Skip to content

Instantly share code, notes, and snippets.

@higaki
Created July 5, 2015 02:31
Show Gist options
  • Save higaki/8ede3df6e728800ab65b to your computer and use it in GitHub Desktop.
Save higaki/8ede3df6e728800ab65b to your computer and use it in GitHub Desktop.

-*- org -*-

app/views/layouts とは?

app/assets って全体に効くの?

rails g uploader Picture の uploader って?

carrierwave のコマンド(?) か?

_form.html.erb って render ‘form’ を置換するの?

render

link_to

image_tag

form_for(@idea) do |f| の f は何?

iterator ではない?

if @idea.errors.any? って?

いつ、誰が errors に push するのか?

いつ、誰が errors を clear するのか?

rails g controller pages info

model がいらんときは controller ?

view と route だけできる ?

ER

has_many :comments (複数)

belongs_to :idea (単数)

1:1 のときは?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment