LoginSignup
4
4

More than 5 years have passed since last update.

RoR4&Herokuで調べた事(とりあえず保存)

Last updated at Posted at 2013-12-07

外部キーにはforeigner
http://d.hatena.ne.jp/iriya_0624/20130427/1367082310

マイグレーション資料の和訳。すごい。
http://wiki.usagee.co.jp/ruby/rails/RailsGuides%E3%82%92%E3%82%86%E3%81%A3%E3%81%8F%E3%82%8A%E5%92%8C%E8%A8%B3%E3%81%97%E3%81%A6%E3%81%BF%E3%81%9F%E3%82%88/Rails%20Database%20Migrations#q0b891db

Railsでmigrationを何個かやり直すrake db:migrate:redo STEP=3
http://ysakaki.com/?p=186

RoR4では共通モジュールはどこに置く?という話題。
http://qiita.com/dshim/items/4affe530d541db56e937
http://stackoverflow.com/questions/14541823/how-to-use-concerns-in-rails-4

accepts_nested_attributes_forを使うと子供も一緒に扱える!
http://blog.livedoor.jp/sasata299/archives/51931176.html

herokuのpostgresを空にしたい。db:migrate:resetが効かないのでこっちでやる。
http://stackoverflow.com/questions/4820549/how-to-empty-db-in-heroku

http://railstutorial.jp/book/ruby-on-rails-tutorial
コロンが後ろに書かれる記法の件が確認できる。:xxx => yyy と xxx: yyy がほぼ同義で考えてよさそう。

FBログインがわかりやすく解説されていた
http://railscasts.com/episodes/360-facebook-authentication?language=ja&view=asciicast

textのリミットを外す話。デフォルトは255の様子
http://sessan.hatenablog.com/entry/2012/04/26/183042
http://kingyo-bachi.blogspot.jp/2013/06/railsmysqllongtext.html

テキストのエスケープを回避する方法
http://www.slowlydays.net/wordpress/?p=787

cssの中でassetの画像を参照する
http://qiita.com/naoty_k/items/96363224ae8d5a2e432b

「undefined method `****_path' for」
http://yuiko23.seesaa.net/article/233771338.html
http://tobysoft.net/wiki/index.php?Ruby%2FRuby%20on%20Rails%2Fform_for%A4%CE%BB%C8%A4%A4%CA%FD%2F%BB%D8%C4%EA%A4%B7%A4%BF%A5%A4%A5%F3%A5%B9%A5%BF%A5%F3%A5%B9%A4%CE%A5%AF%A5%E9%A5%B9%A4%C8%CD%F8%CD%D1%A4%C7%A4%AD%A4%EB%A5%EB%A1%BC%A5%C6%A5%A3%A5%F3%A5%B0%A4%AC%B0%DB%A4%CA%A4%EB%BE%EC%B9%E7%A4%CE%CC%E4%C2%EA

パフォーマンスチューニング
http://blog.inouetakuya.info/entry/2014/02/08/221438

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4