Rails-2.0以降に追加されたmigrationの記法についてまとめておきます。 t.<data_type> という書き方が可能になった。 t.string :foo, :bar, :baz のように併記もOK t.timestamps created_at, updated_atを追加 t.references :foo で foo_id を追加。:polymorphic => true オプションをつけると、foo_typeカラムも追加される。
● [Rails] Rails2.0 のセッション周りのエラー CGI::Session::CookieStore::CookieOverflow 原因: Cookieが4KBをオーバーしている 解決: active_record_store を使う % rake db:sessions:create % rake db:migrate % vi config/environment.rb config.action_controller.session_store = :active_record_store No :secret given to the #protect_from_forgery call. 原因: CSRF 対策が有効になっている 解決: 秘密鍵を設定する (active_record_store の場合 ※1)
It appears that, after a short release candidate period, Rails 2.0 (.1) final has now been released. In celebration of such an event, I’ve compiled a list of all the features of Rails 2 that I’ve written about so far. Soak it in, baby. Though I’ve made my best effort to keep all the feature descriptions up-to-date, I can’t guarantee their complete accuracy. For a more exhaustively and thoroughly v
データ活用は次のステージへ トラディショナルからモダンへ進化するBI 未来への挑戦の成功はデータとともにある 体験から学んだ成功への知見 マネーフォワード×エム・フィールド対談 Fintechプラットフォーム開発の「鍵」 大学、研究機関、製造業など いま目覚ましい躍進ぶりを見せるデルのHPC その背景と選ばれる理由にせまる RPAによる自動化を年30万で実現 小さな投資が目に見える大きな効果に! デジタル化によるわかりやすい業務効率向上 ITインフラ運用からの解放 HCI+JP1による統合運用による負荷激減で 次世代IT部門への役割変革へ一歩前進 クラウドネイティブの実現 モダンインフラの構築・運用の課題解決へ コンテナの可能性を広げるVMware Tanzu 自社利用の知見・経験を顧客に提供 コンテナ活用を推進する日立製作所 VMware Tanzuを利用したモダナイズを伝授 さあ、その
In previous posts, I’m covered some of the updates to Rails 2.0 and how to prepare for Rails 2.0 but haven’t really covered the mechanics of HOW to upgrade to Rails 2.0. So as part of the 6 things to try in Rails this year series, I have compiled a quick recipe that works for me. It probably isn’t the only method, but it works. 1. Fix all of the deprecated warnings The easiest way to do this is to
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く